mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 03:06:28 +00:00
Use correct register class for am2offset register operands.
This pacifies machine verifier llvm-svn: 148782
This commit is contained in:
parent
c6598ae00f
commit
16e0f2bde3
@ -766,7 +766,7 @@ def am2offset_reg : Operand<i32>,
|
||||
let PrintMethod = "printAddrMode2OffsetOperand";
|
||||
// When using this for assembly, it's always as a post-index offset.
|
||||
let ParserMatchClass = PostIdxRegShiftedAsmOperand;
|
||||
let MIOperandInfo = (ops GPR, i32imm);
|
||||
let MIOperandInfo = (ops GPRnopc, i32imm);
|
||||
}
|
||||
|
||||
// FIXME: am2offset_imm should only need the immediate, not the GPR. Having
|
||||
@ -778,7 +778,7 @@ def am2offset_imm : Operand<i32>,
|
||||
let EncoderMethod = "getAddrMode2OffsetOpValue";
|
||||
let PrintMethod = "printAddrMode2OffsetOperand";
|
||||
let ParserMatchClass = AM2OffsetImmAsmOperand;
|
||||
let MIOperandInfo = (ops GPR, i32imm);
|
||||
let MIOperandInfo = (ops GPRnopc, i32imm);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user