Print a space between the comment character and the basic block name,
authorDan Gohman <gohman@apple.com>
Mon, 30 Jul 2007 15:06:25 +0000 (15:06 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 30 Jul 2007 15:06:25 +0000 (15:06 +0000)
for prettiness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40593 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter.cpp

index 7e07d8480088f9df065970d473e47bb9954ceeb0..4cda0dd3b564b03040f5510c6b481bdc514f5c8a 100644 (file)
@@ -1144,7 +1144,8 @@ void AsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB,
   if (printColon)
     O << ':';
   if (printComment && MBB->getBasicBlock())
-    O << '\t' << TAI->getCommentString() << MBB->getBasicBlock()->getName();
+    O << '\t' << TAI->getCommentString() << ' '
+      << MBB->getBasicBlock()->getName();
 }
 
 /// printSetLabel - This method prints a set label for the specified