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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Mon Jun 27 09:30:05 PDT 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaAsmPrinter.cpp updated: 1.16 -> 1.17
---
Log message:

make constant pool labels local

---
Diffs of the changes:  (+2 -2)

 AlphaAsmPrinter.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
diff -u llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.16 llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.17
--- llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.16	Mon Jun  6 14:03:09 2005
+++ llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp	Mon Jun 27 11:29:54 2005
@@ -135,7 +135,7 @@
   }
 
   case MachineOperand::MO_ConstantPoolIndex:
-    O << "CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex();
+    O << "$CPI" << CurrentFnName << "_" << MO.getConstantPoolIndex();
     return;
 
   case MachineOperand::MO_ExternalSymbol:
@@ -226,7 +226,7 @@
   for (unsigned i = 0, e = CP.size(); i != e; ++i) {
     //    SwitchSection(O, "section .rodata, \"dr\"");
     emitAlignment(TD.getTypeAlignmentShift(CP[i]->getType()));
-    O << "CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString
+    O << "$CPI" << CurrentFnName << "_" << i << ":\t\t\t\t\t" << CommentString
       << *CP[i] << "\n";
     emitGlobalConstant(CP[i]);
   }






More information about the llvm-commits mailing list