Print a space between the comment character and the text.
authorDan Gohman <gohman@apple.com>
Fri, 4 Dec 2009 23:19:55 +0000 (23:19 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 4 Dec 2009 23:19:55 +0000 (23:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90621 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/AsmPrinter.cpp

index 35892abe92e53dad4daa7f451ad5dd0276ae85f8..5e54e6781e6c573bfb3d3391fc056d41f76c7698 100644 (file)
@@ -1863,7 +1863,7 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const {
       MMO = *MI.memoperands_begin();
       if (Newline) O << '\n';
       O.PadToColumn(MAI->getCommentColumn());
-      O << MAI->getCommentString() << MMO->getSize() << "-byte Reload";
+      O << MAI->getCommentString() << ' ' << MMO->getSize() << "-byte Reload";
       Newline = true;
     }
   }
@@ -1871,7 +1871,8 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const {
     if (FrameInfo->isSpillSlotObjectIndex(FI)) {
       if (Newline) O << '\n';
       O.PadToColumn(MAI->getCommentColumn());
-      O << MAI->getCommentString() << MMO->getSize() << "-byte Folded Reload";
+      O << MAI->getCommentString() << ' '
+        << MMO->getSize() << "-byte Folded Reload";
       Newline = true;
     }
   }
@@ -1880,7 +1881,7 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const {
       MMO = *MI.memoperands_begin();
       if (Newline) O << '\n';
       O.PadToColumn(MAI->getCommentColumn());
-      O << MAI->getCommentString() << MMO->getSize() << "-byte Spill";
+      O << MAI->getCommentString() << ' ' << MMO->getSize() << "-byte Spill";
       Newline = true;
     }
   }
@@ -1888,7 +1889,8 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const {
     if (FrameInfo->isSpillSlotObjectIndex(FI)) {
       if (Newline) O << '\n';
       O.PadToColumn(MAI->getCommentColumn());
-      O << MAI->getCommentString() << MMO->getSize() << "-byte Folded Spill";
+      O << MAI->getCommentString() << ' '
+        << MMO->getSize() << "-byte Folded Spill";
       Newline = true;
     }
   }