projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1f97c
)
Clean up multi-line asam string printing. Instead of printing:
author
Chris Lattner
<sabre@nondot.org>
Mon, 30 Apr 2007 17:00:18 +0000
(17:00 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 30 Apr 2007 17:00:18 +0000
(17:00 +0000)
# InlineAsm Start
subfc r3,r5,r4
subfze r4,r3
# InlineAsm End
print:
# InlineAsm Start
subfc r3,r5,r4
subfze r4,r3
# InlineAsm End
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36589
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter.cpp
index eb0f2f1b36714cf20a6e50f04f72937dbc4f3942..aa71ee0b6dbc66631415b538ee9b81733b8e5bca 100644
(file)
--- a/
lib/CodeGen/AsmPrinter.cpp
+++ b/
lib/CodeGen/AsmPrinter.cpp
@@
-954,7
+954,7
@@
void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
}
case '\n':
++LastEmitted; // Consume newline character.
- O << "\n
\t";
// Indent code with newline.
+ O << "\n
";
// Indent code with newline.
break;
case '$': {
++LastEmitted; // Consume '$' character.