diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-03 01:00:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-03 01:00:52 +0000 |
commit | 0d883e3f8484491d010b8f8b7a1aecc58cb5fa8e (patch) | |
tree | d31ee6cae9289ca7b8771cc4bfd60870038cbfe3 /utils | |
parent | e0bb20cc03f00745b4eefb67cb108fa354cd071f (diff) | |
download | external_llvm-0d883e3f8484491d010b8f8b7a1aecc58cb5fa8e.zip external_llvm-0d883e3f8484491d010b8f8b7a1aecc58cb5fa8e.tar.gz external_llvm-0d883e3f8484491d010b8f8b7a1aecc58cb5fa8e.tar.bz2 |
sink handling of target-independent machine instrs (other
than DEBUG_VALUE :( ) into the target indep AsmPrinter.cpp
file. This allows elimination of the
NO_ASM_WRITER_BOILERPLATE hack among other things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95177 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/AsmWriterEmitter.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index ff83c76..46d9178 100644 --- a/utils/TableGen/AsmWriterEmitter.cpp +++ b/utils/TableGen/AsmWriterEmitter.cpp @@ -692,24 +692,6 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) { StringTable.EmitString(O); O << ";\n\n"; - O << "\n#ifndef NO_ASM_WRITER_BOILERPLATE\n"; - - O << " if (MI->getOpcode() == TargetInstrInfo::INLINEASM) {\n" - << " printInlineAsm(MI);\n" - << " return;\n" - << " } else if (MI->isLabel()) {\n" - << " printLabel(MI);\n" - << " return;\n" - << " } else if (MI->getOpcode() == TargetInstrInfo::IMPLICIT_DEF) {\n" - << " printImplicitDef(MI);\n" - << " return;\n" - << " } else if (MI->getOpcode() == TargetInstrInfo::KILL) {\n" - << " printKill(MI);\n" - << " return;\n" - << " }\n\n"; - - O << "\n#endif\n"; - O << " O << \"\\t\";\n\n"; O << " // Emit the opcode for the instruction.\n" |