mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
ARM refactor simple immediate asm operand render methods.
These immediate operands all use the same simple logic for rendering to MCInst, so have them share the method for doing so. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144439 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -174,7 +174,7 @@ def s_cc_out : OptionalDefOperand<OtherVT, (ops CCR), (ops (i32 CPSR))> {
|
||||
|
||||
// ARM special operands for disassembly only.
|
||||
//
|
||||
def SetEndAsmOperand : AsmOperandClass {
|
||||
def SetEndAsmOperand : ImmAsmOperand {
|
||||
let Name = "SetEndImm";
|
||||
let ParserMethod = "parseSetEndImm";
|
||||
}
|
||||
@@ -820,7 +820,7 @@ class AMiscA1I<bits<8> opcod, bits<4> opc7_4, dag oops, dag iops,
|
||||
}
|
||||
|
||||
// PKH instructions
|
||||
def PKHLSLAsmOperand : AsmOperandClass {
|
||||
def PKHLSLAsmOperand : ImmAsmOperand {
|
||||
let Name = "PKHLSLImm";
|
||||
let ParserMethod = "parsePKHLSLImm";
|
||||
}
|
||||
|
Reference in New Issue
Block a user