diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-02 15:24:41 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-02 15:24:41 +0000 |
commit | 257ed69291dd1b6e24ba81beab11961f88c97dce (patch) | |
tree | 639af9951bc85fcde776e9e3b07973c6cd180075 /llvm/lib | |
parent | cc34ba687be3028ba4f50b43a29da43da6b496a2 (diff) | |
download | bcm5719-llvm-257ed69291dd1b6e24ba81beab11961f88c97dce.tar.gz bcm5719-llvm-257ed69291dd1b6e24ba81beab11961f88c97dce.zip |
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.
llvm-svn: 230966
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/IR/AsmWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp index 70837c4d9db..685a48d538d 100644 --- a/llvm/lib/IR/AsmWriter.cpp +++ b/llvm/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 |