commit | 846ce8ea67362d8b6d93ebae66f23e3c68dce9df | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Thu Nov 15 22:44:27 2012 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Thu Nov 15 22:44:27 2012 +0000 |
tree | 8557abf21fd844337721b20f92738a5ecb846e20 | |
parent | a5a241cf3145e28d1ef5e69c65cc040c5533ba69 [diff] [blame] |
Mark FP_ROUND for converting NEON v2f64 to v2f32 as expand. Add a missing case to vector legalization so this actually works. Patch by Pete Couperus. Fixes PR12540. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168107 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp index 22f8d51..3250133 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@ -221,6 +221,7 @@ case ISD::FRINT: case ISD::FNEARBYINT: case ISD::FFLOOR: + case ISD::FP_ROUND: case ISD::FMA: case ISD::SIGN_EXTEND_INREG: QueryType = Node->getValueType(0);