From: Benjamin Kramer Date: Mon, 2 Mar 2015 15:24:41 +0000 (+0000) Subject: AsmWriter: Only print one space after the load type X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6cc6b419e4b99c1382e7ff75e9ee6e1891ff462c;hp=5916e9cddf99ef5b266cbe188d05d111e4eeea6e;p=oota-llvm.git 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 --- diff --git a/lib/IR/AsmWriter.cpp b/lib/IR/AsmWriter.cpp index 70837c4d9db..685a48d538d 100644 --- 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(&I)) { Out << ' '; TypePrinter.print(LI->getType(), Out); - Out << ", "; + Out << ','; } // PrintAllTypes - Instructions who have operands of all the same type