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:
5916e9c
)
AsmWriter: Only print one space after the load type
author
Benjamin Kramer
<benny.kra@googlemail.com>
Mon, 2 Mar 2015 15:24:41 +0000
(15:24 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Mon, 2 Mar 2015 15:24:41 +0000
(15:24 +0000)
Before: %x = load i32, i32* %i
After: %x = load i32, i32* %i
Purely cosmetic, so no new test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230966
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/AsmWriter.cpp
b/lib/IR/AsmWriter.cpp
index 70837c4d9db48dae0323b642d2a96d087b928933..685a48d538d8be156126e18f834819fc9006ceed 100644
(file)
--- a/
lib/IR/AsmWriter.cpp
+++ b/
lib/IR/AsmWriter.cpp
@@
-2906,7
+2906,7
@@
void AssemblyWriter::printInstruction(const Instruction &I) {
} else if (const auto *LI = dyn_cast<LoadInst>(&I)) {
Out << ' ';
TypePrinter.print(LI->getType(), Out);
- Out <<
", "
;
+ Out <<
','
;
}
// PrintAllTypes - Instructions who have operands of all the same type