summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrFormats.td
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-11-12 00:58:43 +0000
committerJim Grosbach <grosbach@apple.com>2011-11-12 00:58:43 +0000
commit9588c10b69121d9746b09e868fcc8879cbd98e3a (patch)
tree69508f066643e95f2545ffcf01a2ab5a3d599419 /lib/Target/ARM/ARMInstrFormats.td
parent501852423d34578bc41a745681783b04124dd0db (diff)
downloadllvm-9588c10b69121d9746b09e868fcc8879cbd98e3a.tar.gz
llvm-9588c10b69121d9746b09e868fcc8879cbd98e3a.tar.bz2
llvm-9588c10b69121d9746b09e868fcc8879cbd98e3a.tar.xz
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
Diffstat (limited to 'lib/Target/ARM/ARMInstrFormats.td')
-rw-r--r--lib/Target/ARM/ARMInstrFormats.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td
index c5bf607fd1..12cb4640f6 100644
--- a/lib/Target/ARM/ARMInstrFormats.td
+++ b/lib/Target/ARM/ARMInstrFormats.td
@@ -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";
}