aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-11-15 22:44:27 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-11-15 22:44:27 +0000
commit846ce8ea67362d8b6d93ebae66f23e3c68dce9df (patch)
tree8557abf21fd844337721b20f92738a5ecb846e20 /lib/CodeGen
parenta5a241cf3145e28d1ef5e69c65cc040c5533ba69 (diff)
downloadexternal_llvm-846ce8ea67362d8b6d93ebae66f23e3c68dce9df.zip
external_llvm-846ce8ea67362d8b6d93ebae66f23e3c68dce9df.tar.gz
external_llvm-846ce8ea67362d8b6d93ebae66f23e3c68dce9df.tar.bz2
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp1
1 files changed, 1 insertions, 0 deletions
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 @@ SDValue VectorLegalizer::LegalizeOp(SDValue Op) {
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);