commit | 6b1e1d8b3d8d5a1b299d3c2897db9bf122b02c00 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Thu Aug 30 07:34:22 2012 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Thu Aug 30 07:34:22 2012 +0000 |
tree | cd3d1364ad40fd146049a43baa84d2fe4a4978bb | |
parent | 3b9dfc9bf79f1134336fa704c54e411a24856d1d [diff] [blame] |
Add FMA to switch statement in VectorLegalizer::LegalizeOp so that it can be expanded when it isn't legal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162894 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp index 704f99b..a5b322a 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@ -220,6 +220,7 @@ case ISD::FRINT: case ISD::FNEARBYINT: case ISD::FFLOOR: + case ISD::FMA: case ISD::SIGN_EXTEND_INREG: QueryType = Node->getValueType(0); break;