[llvm] r230966 - AsmWriter: Only print one space after the load type
Benjamin Kramer
benny.kra at googlemail.com
Mon Mar 2 07:24:41 PST 2015
Author: d0k
Date: Mon Mar 2 09:24:41 2015
New Revision: 230966
URL: http://llvm.org/viewvc/llvm-project?rev=230966&view=rev
Log:
AsmWriter: Only print one space after the load type
Before: %x = load i32, i32* %i
After: %x = load i32, i32* %i
Purely cosmetic, so no new test case.
Modified:
llvm/trunk/lib/IR/AsmWriter.cpp
Modified: llvm/trunk/lib/IR/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/AsmWriter.cpp?rev=230966&r1=230965&r2=230966&view=diff
==============================================================================
--- llvm/trunk/lib/IR/AsmWriter.cpp (original)
+++ llvm/trunk/lib/IR/AsmWriter.cpp Mon Mar 2 09:24:41 2015
@@ -2906,7 +2906,7 @@ void AssemblyWriter::printInstruction(co
} 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
More information about the llvm-commits
mailing list