diff options
author | Owen Anderson <resistor@mac.com> | 2011-08-09 20:55:18 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-08-09 20:55:18 +0000 |
commit | e0152a73c29284eba12da854f548416f3f6c26a0 (patch) | |
tree | 9cb1303160dc1ecf0c7b9c43797eb8947b21fc02 /llvm/utils/TableGen/DisassemblerEmitter.cpp | |
parent | 04f5672c5b07628d48554869afe38c646c84cc3d (diff) | |
download | llvm-e0152a73c29284eba12da854f548416f3f6c26a0.zip llvm-e0152a73c29284eba12da854f548416f3f6c26a0.tar.gz llvm-e0152a73c29284eba12da854f548416f3f6c26a0.tar.bz2 |
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.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/utils/TableGen/DisassemblerEmitter.cpp b/llvm/utils/TableGen/DisassemblerEmitter.cpp index 07313d1..1269253 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); } |