summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-25 21:04:58 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-25 21:04:58 +0000
commit3ddf6aa50392ad0ef40689b104cd6d0f99e70904 (patch)
treed84f465eb0eb7cd09177639d2e2f8e452b6ea376
parentae67e0828a4495516171c4bf728291371e95709e (diff)
downloadbcm5719-llvm-3ddf6aa50392ad0ef40689b104cd6d0f99e70904.tar.gz
bcm5719-llvm-3ddf6aa50392ad0ef40689b104cd6d0f99e70904.zip
Simply ARM so_reg MIOperandInfo definitions.
The shift immediate encoding, printing, etc. is handled directly by the enclosing operand definition, so it should be a vanilla immediate, not a nested complex operand (shift_imm). llvm-svn: 135968
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.td8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td
index 9edfcd76f8c..53410579de1 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.td
+++ b/llvm/lib/Target/ARM/ARMInstrInfo.td
@@ -411,7 +411,7 @@ def so_reg_reg : Operand<i32>, // reg reg imm
let EncoderMethod = "getSORegRegOpValue";
let PrintMethod = "printSORegRegOperand";
let ParserMatchClass = ShiftedRegAsmOperand;
- let MIOperandInfo = (ops GPR, GPR, shift_imm);
+ let MIOperandInfo = (ops GPR, GPR, i32imm);
}
def ShiftedImmAsmOperand : AsmOperandClass { let Name = "RegShiftedImm"; }
@@ -421,7 +421,7 @@ def so_reg_imm : Operand<i32>, // reg imm
let EncoderMethod = "getSORegImmOpValue";
let PrintMethod = "printSORegImmOperand";
let ParserMatchClass = ShiftedImmAsmOperand;
- let MIOperandInfo = (ops GPR, shift_imm);
+ let MIOperandInfo = (ops GPR, i32imm);
}
// FIXME: Does this need to be distinct from so_reg?
@@ -430,7 +430,7 @@ def shift_so_reg_reg : Operand<i32>, // reg reg imm
[shl,srl,sra,rotr]> {
let EncoderMethod = "getSORegRegOpValue";
let PrintMethod = "printSORegRegOperand";
- let MIOperandInfo = (ops GPR, GPR, shift_imm);
+ let MIOperandInfo = (ops GPR, GPR, i32imm);
}
// FIXME: Does this need to be distinct from so_reg?
@@ -439,7 +439,7 @@ def shift_so_reg_imm : Operand<i32>, // reg reg imm
[shl,srl,sra,rotr]> {
let EncoderMethod = "getSORegImmOpValue";
let PrintMethod = "printSORegImmOperand";
- let MIOperandInfo = (ops GPR, shift_imm);
+ let MIOperandInfo = (ops GPR, i32imm);
}
OpenPOWER on IntegriCloud