mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-01 01:14:22 +00:00
imm12 operands aren't Thumb2 only, so rename the printer helper function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117291 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
269008ee83
commit
458f2dc5d1
@ -128,7 +128,7 @@ def imm0_255_not : PatLeaf<(i32 imm), [{
|
||||
// t2addrmode_imm12 := reg + imm12
|
||||
def t2addrmode_imm12 : Operand<i32>,
|
||||
ComplexPattern<i32, 2, "SelectT2AddrModeImm12", []> {
|
||||
let PrintMethod = "printT2AddrModeImm12Operand";
|
||||
let PrintMethod = "printAddrModeImm12Operand";
|
||||
let MIOperandInfo = (ops GPR:$base, i32imm:$offsimm);
|
||||
}
|
||||
|
||||
|
@ -600,9 +600,8 @@ void ARMInstPrinter::printT2SOOperand(const MCInst *MI, unsigned OpNum,
|
||||
O << " #" << ARM_AM::getSORegOffset(MO2.getImm());
|
||||
}
|
||||
|
||||
void ARMInstPrinter::printT2AddrModeImm12Operand(const MCInst *MI,
|
||||
unsigned OpNum,
|
||||
raw_ostream &O) {
|
||||
void ARMInstPrinter::printAddrModeImm12Operand(const MCInst *MI, unsigned OpNum,
|
||||
raw_ostream &O) {
|
||||
const MCOperand &MO1 = MI->getOperand(OpNum);
|
||||
const MCOperand &MO2 = MI->getOperand(OpNum+1);
|
||||
|
||||
|
@ -74,8 +74,8 @@ public:
|
||||
raw_ostream &O);
|
||||
|
||||
void printT2SOOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
|
||||
void printT2AddrModeImm12Operand(const MCInst *MI, unsigned OpNum,
|
||||
raw_ostream &O);
|
||||
void printAddrModeImm12Operand(const MCInst *MI, unsigned OpNum,
|
||||
raw_ostream &O);
|
||||
void printT2AddrModeImm8Operand(const MCInst *MI, unsigned OpNum,
|
||||
raw_ostream &O);
|
||||
void printT2AddrModeImm8s4Operand(const MCInst *MI, unsigned OpNum,
|
||||
|
Loading…
Reference in New Issue
Block a user