summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-09-16 00:32:15 +0000
committerBob Wilson <bob.wilson@apple.com>2009-09-16 00:32:15 +0000
commit6cc46577f439d0ebfa572804f74efeb573c1cfaf (patch)
tree91f266d4b313aae090388c0c3a3d2d7db2b0f2f9 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent727ad714e2a28dfdf9ab913fc0f2ae11b8075143 (diff)
downloadbcm5719-llvm-6cc46577f439d0ebfa572804f74efeb573c1cfaf.tar.gz
bcm5719-llvm-6cc46577f439d0ebfa572804f74efeb573c1cfaf.zip
Expand some more vector operations not supported by Neon.
llvm-svn: 81969
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 1b24a58840a..39e338064c5 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -272,6 +272,12 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
setOperationAction(ISD::FNEARBYINT, MVT::v2f64, Expand);
setOperationAction(ISD::FFLOOR, MVT::v2f64, Expand);
+ // Neon does not support some operations on v1i64 and v2i64 types.
+ setOperationAction(ISD::MUL, MVT::v1i64, Expand);
+ setOperationAction(ISD::MUL, MVT::v2i64, Expand);
+ setOperationAction(ISD::VSETCC, MVT::v1i64, Expand);
+ setOperationAction(ISD::VSETCC, MVT::v2i64, Expand);
+
setTargetDAGCombine(ISD::INTRINSIC_WO_CHAIN);
setTargetDAGCombine(ISD::SHL);
setTargetDAGCombine(ISD::SRL);
OpenPOWER on IntegriCloud