From 2be5f1c964f53bdec0b01f1082d31452c3863133 Mon Sep 17 00:00:00 2001 From: Oliver Stannard Date: Tue, 24 Oct 2017 09:03:33 +0000 Subject: [PATCH] [ARM] tSETEND needs IsThumb This is the Thumb encoding, so the Requires list must include IsThumb. No test because we happen to select the ARM one first, but that's just luck. Differential Revision: https://reviews.llvm.org/D39190 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316421 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMInstrThumb.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index 0bf6b72db3f..d6b9a21c2b8 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -338,7 +338,7 @@ def tHLT : T1I<(outs), (ins imm0_63:$val), NoItinerary, "hlt\t$val", } def tSETEND : T1I<(outs), (ins setend_op:$end), NoItinerary, "setend\t$end", - []>, T1Encoding<0b101101>, Requires<[IsNotMClass]>, Deprecated { + []>, T1Encoding<0b101101>, Requires<[IsThumb, IsNotMClass]>, Deprecated { bits<1> end; // A8.6.156 let Inst{9-5} = 0b10010; -- 2.50.1