summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/DisassemblerEmitter.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-08-09 20:55:18 +0000
committerOwen Anderson <resistor@mac.com>2011-08-09 20:55:18 +0000
commite0152a73c29284eba12da854f548416f3f6c26a0 (patch)
tree9cb1303160dc1ecf0c7b9c43797eb8947b21fc02 /llvm/utils/TableGen/DisassemblerEmitter.cpp
parent04f5672c5b07628d48554869afe38c646c84cc3d (diff)
downloadbcm5719-llvm-e0152a73c29284eba12da854f548416f3f6c26a0.tar.gz
bcm5719-llvm-e0152a73c29284eba12da854f548416f3f6c26a0.zip
Replace the existing ARM disassembler with a new one based on the FixedLenDecoderEmitter.
This new disassembler can correctly decode all the testcases that the old one did, though some "expected failure" testcases are XFAIL'd for now because it is not (yet) as strict in operand checking as the old one was. llvm-svn: 137144
Diffstat (limited to 'llvm/utils/TableGen/DisassemblerEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/DisassemblerEmitter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/utils/TableGen/DisassemblerEmitter.cpp b/llvm/utils/TableGen/DisassemblerEmitter.cpp
index 07313d19e87..126925369c5 100644
--- a/llvm/utils/TableGen/DisassemblerEmitter.cpp
+++ b/llvm/utils/TableGen/DisassemblerEmitter.cpp
@@ -128,12 +128,5 @@ void DisassemblerEmitter::run(raw_ostream &OS) {
return;
}
- // Fixed-instruction-length targets use a common disassembler.
- // ARM use its own implementation for now.
- if (Target.getName() == "ARM") {
- ARMDecoderEmitter(Records).run(OS);
- return;
- }
-
FixedLenDecoderEmitter(Records).run(OS);
}
OpenPOWER on IntegriCloud