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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230966 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2015-03-02 15:24:41 +00:00
parent 5916e9cddf
commit 6cc6b419e4

View File

@ -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