summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrThumb2.td
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2013-09-17 09:54:57 +0000
committerJoey Gouly <joey.gouly@arm.com>2013-09-17 09:54:57 +0000
commitdc0de80f24a83336cb26dcb9ed1fa030142a504d (patch)
tree4f40efd44656748545e0468843631ba148954834 /lib/Target/ARM/ARMInstrThumb2.td
parent80361492ae7ea9fedbb5a55c72d4aea6a3d600b1 (diff)
downloadllvm-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.td3
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)>;