summaryrefslogtreecommitdiff
path: root/lib/Target/ARM
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-11-17 01:52:46 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-11-17 01:52:46 +0000
commit43147afd71f6da4e7369a4ab9c681e5b4e0cf8c7 (patch)
tree3ea1f611a8ddf157d94266187caaba4eb6463f49 /lib/Target/ARM
parent0a63b6ac79a9234982ce5d0bdc9aabd0c5e01245 (diff)
downloadllvm-43147afd71f6da4e7369a4ab9c681e5b4e0cf8c7.tar.gz
llvm-43147afd71f6da4e7369a4ab9c681e5b4e0cf8c7.tar.bz2
llvm-43147afd71f6da4e7369a4ab9c681e5b4e0cf8c7.tar.xz
Mark FP_EXTEND form v2f32 to v2f64 as "expand" for ARM NEON. Patch by Pete Couperus.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index e123f1563e..bd470eb4bb 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -544,6 +544,7 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
setOperationAction(ISD::FP_TO_SINT, MVT::v4i16, Custom);
setOperationAction(ISD::FP_ROUND, MVT::v2f32, Expand);
+ setOperationAction(ISD::FP_EXTEND, MVT::v2f64, Expand);
setTargetDAGCombine(ISD::INTRINSIC_VOID);
setTargetDAGCombine(ISD::INTRINSIC_W_CHAIN);