[llvm-commits] CVS: llvm/lib/Target/IA64/IA64AsmPrinter.cpp

Evan Cheng evan.cheng at apple.com
Tue Jan 23 23:04:05 PST 2007



Changes in directory llvm/lib/Target/IA64:

IA64AsmPrinter.cpp updated: 1.41 -> 1.42
---
Log message:

Renamed getTypeAlignmentShift() to getPreferredTypeAlignmentShift().

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

 IA64AsmPrinter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/IA64/IA64AsmPrinter.cpp
diff -u llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.41 llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.42
--- llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.41	Tue Dec 19 16:59:26 2006
+++ llvm/lib/Target/IA64/IA64AsmPrinter.cpp	Wed Jan 24 01:03:39 2007
@@ -272,7 +272,7 @@
       std::string name = Mang->getValueName(I);
       Constant *C = I->getInitializer();
       unsigned Size = TD->getTypeSize(C->getType());
-      unsigned Align = TD->getTypeAlignmentShift(C->getType());
+      unsigned Align = TD->getPreferredTypeAlignmentShift(C->getType());
       
       if (C->isNullValue() &&
           (I->hasLinkOnceLinkage() || I->hasInternalLinkage() ||






More information about the llvm-commits mailing list