Don't print global names twice with -asm-verbose.
[oota-llvm.git] / lib / Target / X86 / AsmPrinter / X86IntelAsmPrinter.cpp
index 2863d6c521c56d95b76544ee256e842d92441d95..7823ca6da3dc6cd0b6878a840ecac118b475a48a 100644 (file)
@@ -491,7 +491,7 @@ bool X86IntelAsmPrinter::doFinalization(Module &M) {
 
     O << name << ":";
     if (VerboseAsm)
-      O << name << "\t\t\t\t" << TAI->getCommentString()
+      O << "\t\t\t\t" << TAI->getCommentString()
         << " " << I->getName();
     O << '\n';