[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp

Jim Laskey jlaskey at apple.com
Mon Feb 27 02:29:17 PST 2006



Changes in directory llvm/lib/Target/Alpha:

AlphaAsmPrinter.cpp updated: 1.31 -> 1.32
---
Log message:

Removed dependency on how operands are printed (want multi-line.)



---
Diffs of the changes:  (+3 -9)

 AlphaAsmPrinter.cpp |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
diff -u llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.31 llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.32
--- llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.31	Mon Feb  6 11:15:17 2006
+++ llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp	Mon Feb 27 04:29:04 2006
@@ -246,10 +246,8 @@
           O << "\t.local " << name << "\n";
 
         O << "\t.comm " << name << "," << TD.getTypeSize(C->getType())
-          << "," << (1 << Align);
-        O << "\t\t# ";
-        WriteAsOperand(O, I, true, true, &M);
-        O << "\n";
+          << "," << (1 << Align)
+          <<  "\n";
       } else {
         switch (I->getLinkage()) {
         case GlobalValue::LinkOnceLinkage:
@@ -278,11 +276,7 @@
         EmitAlignment(Align);
         O << "\t.type " << name << ", at object\n";
         O << "\t.size " << name << "," << Size << "\n";
-        O << name << ":\t\t\t\t# ";
-        WriteAsOperand(O, I, true, true, &M);
-        O << " = ";
-        WriteAsOperand(O, C, false, false, &M);
-        O << "\n";
+        O << name << ":\n";
         EmitGlobalConstant(C);
       }
     }






More information about the llvm-commits mailing list