From: Jim Grosbach Date: Tue, 26 Jul 2011 16:44:05 +0000 (+0000) Subject: ARM fix asm parsing range check for [0,31] immediates. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3d5ab367b663324dbe889f19ef9e39f3f0bcefcc;p=oota-llvm.git ARM fix asm parsing range check for [0,31] immediates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136091 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index c7ed266ec90..fbea5a4aaf3 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -494,7 +494,9 @@ def imm0_15 : Operand, ImmLeaf, ImmLeaf= 0 && Imm < 32; -}]>; +}]> { + let ParserMatchClass = Imm0_31AsmOperand; +} /// imm0_31_m1 - Matches and prints like imm0_31, but encodes as 'value - 1'. def imm0_31_m1 : Operand, ImmLeaf