forked from OSchip/llvm-project
Clean up multi-line asam string printing. Instead of printing:
# InlineAsm Start subfc r3,r5,r4 subfze r4,r3 # InlineAsm End print: # InlineAsm Start subfc r3,r5,r4 subfze r4,r3 # InlineAsm End llvm-svn: 36589
This commit is contained in:
parent
a30bc8fccf
commit
b58f93f273
|
@ -954,7 +954,7 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
|
||||||
}
|
}
|
||||||
case '\n':
|
case '\n':
|
||||||
++LastEmitted; // Consume newline character.
|
++LastEmitted; // Consume newline character.
|
||||||
O << "\n\t"; // Indent code with newline.
|
O << "\n"; // Indent code with newline.
|
||||||
break;
|
break;
|
||||||
case '$': {
|
case '$': {
|
||||||
++LastEmitted; // Consume '$' character.
|
++LastEmitted; // Consume '$' character.
|
||||||
|
|
Loading…
Reference in New Issue