mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
Use correct register class for am2offset register operands.
This pacifies machine verifier git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
defe12df51
commit
46de2d5f5b
@ -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…
Reference in New Issue
Block a user