From 6cc6b419e4b99c1382e7ff75e9ee6e1891ff462c Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 2 Mar 2015 15:24:41 +0000 Subject: [PATCH] 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 --- lib/IR/AsmWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1