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