summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2011-10-15 20:03:12 +0000
committerNadav Rotem <nadav.rotem@intel.com>2011-10-15 20:03:12 +0000
commit097106b77a205f028ea4379771c9929badfb21c0 (patch)
treee35273b8f20135e2f5f1aec7d1898f76a9ae3631 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent772060c5b88f5f45eca02e1e838488018aed1e67 (diff)
downloadbcm5719-llvm-097106b77a205f028ea4379771c9929badfb21c0.tar.gz
bcm5719-llvm-097106b77a205f028ea4379771c9929badfb21c0.zip
ARM cannot select a pattern for trunc-store v4i8; /ARM/vrev.ll fails when promoting elements.
llvm-svn: 142080
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 8e065ee194d..0d74de00395 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -519,6 +519,8 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
setTargetDAGCombine(ISD::FP_TO_SINT);
setTargetDAGCombine(ISD::FP_TO_UINT);
setTargetDAGCombine(ISD::FDIV);
+
+ setLoadExtAction(ISD::EXTLOAD, MVT::v4i8, Expand);
}
computeRegisterProperties();
OpenPOWER on IntegriCloud