diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-09-17 09:54:57 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-09-17 09:54:57 +0000 |
commit | dc0de80f24a83336cb26dcb9ed1fa030142a504d (patch) | |
tree | 4f40efd44656748545e0468843631ba148954834 /lib/Target/ARM/ARMInstrThumb2.td | |
parent | 80361492ae7ea9fedbb5a55c72d4aea6a3d600b1 (diff) | |
download | llvm-dc0de80f24a83336cb26dcb9ed1fa030142a504d.tar.gz llvm-dc0de80f24a83336cb26dcb9ed1fa030142a504d.tar.bz2 llvm-dc0de80f24a83336cb26dcb9ed1fa030142a504d.tar.xz |
[ARM] Fix the deprecation of MCR encodings that map to CP15{ISB,DSB,DMB}.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrThumb2.td')
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index 83edf16e07..666d980574 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -4007,7 +4007,8 @@ def t2MCR : t2MovRCopro<0b1110, "mcr", 0, (ins p_imm:$cop, imm0_7:$opc1, GPR:$Rt, c_imm:$CRn, c_imm:$CRm, imm0_7:$opc2), [(int_arm_mcr imm:$cop, imm:$opc1, GPR:$Rt, imm:$CRn, - imm:$CRm, imm:$opc2)]>; + imm:$CRm, imm:$opc2)]>, + ComplexDeprecationPredicate<"MCR">; def : t2InstAlias<"mcr${p} $cop, $opc1, $Rt, $CRn, $CRm", (t2MCR p_imm:$cop, imm0_7:$opc1, GPR:$Rt, c_imm:$CRn, c_imm:$CRm, 0, pred:$p)>; |