mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
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
This commit is contained in:
parent
6a66b38846
commit
42046abd1f
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user