summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2017-10-24 09:03:33 +0000
committerOliver Stannard <oliver.stannard@arm.com>2017-10-24 09:03:33 +0000
commit6d5a5b98abdfdad7b222bc89b77e470fcc7f02af (patch)
tree2d766d7b24c4f2a4f7d20d28ba9427b93502af78 /llvm/lib/Target/ARM
parentc507b370a1a6949edd5b608c2a6cb65000cf90d2 (diff)
downloadbcm5719-llvm-6d5a5b98abdfdad7b222bc89b77e470fcc7f02af.tar.gz
bcm5719-llvm-6d5a5b98abdfdad7b222bc89b77e470fcc7f02af.zip
[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 llvm-svn: 316421
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td
index 0bf6b72db3f..d6b9a21c2b8 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb.td
+++ b/llvm/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<HasV8Ops> {
+ []>, T1Encoding<0b101101>, Requires<[IsThumb, IsNotMClass]>, Deprecated<HasV8Ops> {
bits<1> end;
// A8.6.156
let Inst{9-5} = 0b10010;
OpenPOWER on IntegriCloud