commit | 004a24b44ce79746a5333b7bf841b4234a936b51 | [log] [tgz] |
---|---|---|
author | Nadav Rotem <nadav.rotem@intel.com> | Sat Oct 15 20:03:12 2011 +0000 |
committer | Nadav Rotem <nadav.rotem@intel.com> | Sat Oct 15 20:03:12 2011 +0000 |
tree | e15a3a0ccdbf70df397424381b1debf2595e4b41 | |
parent | 56169787dbfb6d0b422ef114889b481e977b8996 [diff] [blame] |
ARM cannot select a pattern for trunc-store v4i8; /ARM/vrev.ll fails when promoting elements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142080 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 8e065ee..0d74de0 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -519,6 +519,8 @@ setTargetDAGCombine(ISD::FP_TO_SINT); setTargetDAGCombine(ISD::FP_TO_UINT); setTargetDAGCombine(ISD::FDIV); + + setLoadExtAction(ISD::EXTLOAD, MVT::v4i8, Expand); } computeRegisterProperties();