[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Mon Feb 6 09:15:29 PST 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaAsmPrinter.cpp updated: 1.30 -> 1.31
---
Log message:
see what this allignment thing will do
---
Diffs of the changes: (+2 -1)
AlphaAsmPrinter.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
diff -u llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.30 llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.31
--- llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.30 Sat Feb 4 13:13:09 2006
+++ llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp Mon Feb 6 11:15:17 2006
@@ -235,7 +235,8 @@
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.getTypeAlignmentShift(C->getType());
+ unsigned Align = getPreferredAlignmentLog(I);
if (C->isNullValue() &&
(I->hasLinkOnceLinkage() || I->hasInternalLinkage() ||
More information about the llvm-commits
mailing list