diff options
author | Dan Gohman <gohman@apple.com> | 2009-11-06 00:19:43 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-11-06 00:19:43 +0000 |
commit | 42046abd1f46130370d13d50d5f344150bacbd20 (patch) | |
tree | c82796530f3c294c291e2d3dbc2d29ca9d171cfd /utils | |
parent | 6a66b388469f045c9fcff839595900c9f1512177 (diff) | |
download | external_llvm-42046abd1f46130370d13d50d5f344150bacbd20.zip external_llvm-42046abd1f46130370d13d50d5f344150bacbd20.tar.gz external_llvm-42046abd1f46130370d13d50d5f344150bacbd20.tar.bz2 |
Don't print a redundant tab for inline asm, and do use the new printKill.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/AsmWriterEmitter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index ff348e8..ff83c76 100644 --- a/utils/TableGen/AsmWriterEmitter.cpp +++ b/utils/TableGen/AsmWriterEmitter.cpp @@ -695,7 +695,6 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) { O << "\n#ifndef NO_ASM_WRITER_BOILERPLATE\n"; O << " if (MI->getOpcode() == TargetInstrInfo::INLINEASM) {\n" - << " O << \"\\t\";\n" << " printInlineAsm(MI);\n" << " return;\n" << " } else if (MI->isLabel()) {\n" @@ -705,6 +704,7 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) { << " printImplicitDef(MI);\n" << " return;\n" << " } else if (MI->getOpcode() == TargetInstrInfo::KILL) {\n" + << " printKill(MI);\n" << " return;\n" << " }\n\n"; @@ -786,7 +786,6 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) { O << " return;\n"; } - O << " return;\n"; O << "}\n"; } |