summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrThumb.td
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-08-18 18:08:29 +0000
committerJim Grosbach <grosbach@apple.com>2011-08-18 18:08:29 +0000
commit0d1511c022e78e6d8769290b451b98a3b656de63 (patch)
tree7a7a2d847059543d040f20be928d767983fc2860 /lib/Target/ARM/ARMInstrThumb.td
parentdbe46744c5bbf3c6d8fdfc52f18c6bdee8c37eb4 (diff)
downloadllvm-0d1511c022e78e6d8769290b451b98a3b656de63.tar.gz
llvm-0d1511c022e78e6d8769290b451b98a3b656de63.tar.bz2
llvm-0d1511c022e78e6d8769290b451b98a3b656de63.tar.xz
Thumb assembly parsing and encoding for CMP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrThumb.td')
-rw-r--r--lib/Target/ARM/ARMInstrThumb.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td
index af502b63c6..2b047279d2 100644
--- a/lib/Target/ARM/ARMInstrThumb.td
+++ b/lib/Target/ARM/ARMInstrThumb.td
@@ -910,7 +910,7 @@ def tCMNz : // A8.6.33
// CMP immediate
let isCompare = 1, Defs = [CPSR] in {
-def tCMPi8 : T1pI<(outs), (ins tGPR:$Rn, i32imm:$imm8), IIC_iCMPi,
+def tCMPi8 : T1pI<(outs), (ins tGPR:$Rn, imm0_255:$imm8), IIC_iCMPi,
"cmp", "\t$Rn, $imm8",
[(ARMcmp tGPR:$Rn, imm0_255:$imm8)]>,
T1General<{1,0,1,?,?}> {