projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed83848
)
ARM fix asm parsing range check for [0,31] immediates.
author
Jim Grosbach
<grosbach@apple.com>
Tue, 26 Jul 2011 16:44:05 +0000
(16:44 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Tue, 26 Jul 2011 16:44:05 +0000
(16:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136091
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMInstrInfo.td
b/lib/Target/ARM/ARMInstrInfo.td
index c7ed266ec906025f021302850a6f5ae82d6e7426..fbea5a4aaf3542e56819b377162dd65a3352aca9 100644
(file)
--- a/
lib/Target/ARM/ARMInstrInfo.td
+++ b/
lib/Target/ARM/ARMInstrInfo.td
@@
-494,7
+494,9
@@
def imm0_15 : Operand<i32>, ImmLeaf<i32, [{
def Imm0_31AsmOperand: AsmOperandClass { let Name = "Imm0_31"; }
def imm0_31 : Operand<i32>, ImmLeaf<i32, [{
return Imm >= 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<i32>, ImmLeaf<i32, [{