summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARM.td
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-30 01:57:53 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-30 01:57:53 +0000
commit2317e40539aac11da00bd587b5f0def04d989769 (patch)
treedd4f375a66218d02cf60973f123806e6429324be /lib/Target/ARM/ARM.td
parentca96a861655d3fcfc5ff047e249703930c8330bc (diff)
downloadllvm-2317e40539aac11da00bd587b5f0def04d989769.tar.gz
llvm-2317e40539aac11da00bd587b5f0def04d989769.tar.bz2
llvm-2317e40539aac11da00bd587b5f0def04d989769.tar.xz
Nuke it from orbit. It's the only way to be sure.
(Kill the dead non-MC asm printer for the ARM target.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARM.td')
-rw-r--r--lib/Target/ARM/ARM.td14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARM.td b/lib/Target/ARM/ARM.td
index f3693e3abb..883581a48b 100644
--- a/lib/Target/ARM/ARM.td
+++ b/lib/Target/ARM/ARM.td
@@ -16,6 +16,7 @@
include "llvm/Target/Target.td"
+
//===----------------------------------------------------------------------===//
// ARM Subtarget features.
//
@@ -184,6 +185,17 @@ include "ARMInstrInfo.td"
def ARMInstrInfo : InstrInfo;
+
+//===----------------------------------------------------------------------===//
+// Assembly printer
+//===----------------------------------------------------------------------===//
+// ARM Uses the MC printer for asm output, so make sure the TableGen
+// AsmWriter bits get associated with the correct class.
+def ARMAsmWriter : AsmWriter {
+ string AsmWriterClassName = "InstPrinter";
+ bit isMCAsmWriter = 1;
+}
+
//===----------------------------------------------------------------------===//
// Declare the target which we are implementing
//===----------------------------------------------------------------------===//
@@ -191,4 +203,6 @@ def ARMInstrInfo : InstrInfo;
def ARM : Target {
// Pull in Instruction Info:
let InstructionSet = ARMInstrInfo;
+
+ let AssemblyWriters = [ARMAsmWriter];
}