From: Nadav Rotem Date: Sat, 15 Oct 2011 20:03:12 +0000 (+0000) Subject: ARM cannot select a pattern for trunc-store v4i8; /ARM/vrev.ll fails when promoting... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=004a24b44ce79746a5333b7bf841b4234a936b51;p=oota-llvm.git 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 8e065ee194d..0d74de00395 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/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();