[llvm-commits] [llvm] r142080 - /llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Nadav Rotem nadav.rotem at intel.com
Sat Oct 15 13:03:12 PDT 2011


Author: nadav
Date: Sat Oct 15 15:03:12 2011
New Revision: 142080

URL: http://llvm.org/viewvc/llvm-project?rev=142080&view=rev
Log:
ARM cannot select a pattern for trunc-store v4i8; /ARM/vrev.ll fails when promoting elements.

Modified:
    llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=142080&r1=142079&r2=142080&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Sat Oct 15 15:03:12 2011
@@ -519,6 +519,8 @@
     setTargetDAGCombine(ISD::FP_TO_SINT);
     setTargetDAGCombine(ISD::FP_TO_UINT);
     setTargetDAGCombine(ISD::FDIV);
+
+    setLoadExtAction(ISD::EXTLOAD, MVT::v4i8, Expand);
   }
 
   computeRegisterProperties();





More information about the llvm-commits mailing list