From 004a24b44ce79746a5333b7bf841b4234a936b51 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Sat, 15 Oct 2011 20:03:12 +0000 Subject: [PATCH] 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 --- lib/Target/ARM/ARMISelLowering.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.34.1