projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86cbdba
)
see what this allignment thing will do
author
Andrew Lenharth
<andrewl@lenharth.org>
Mon, 6 Feb 2006 17:15:17 +0000
(17:15 +0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Mon, 6 Feb 2006 17:15:17 +0000
(17:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26017
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Alpha/AlphaAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Alpha/AlphaAsmPrinter.cpp
b/lib/Target/Alpha/AlphaAsmPrinter.cpp
index 3d88bc4fb6122ec1ef1a2fa1bed5c9c4a7dec8b1..cc1acd2575a9a1b0eaab8d8a1c2336e1c5fb8bd1 100644
(file)
--- a/
lib/Target/Alpha/AlphaAsmPrinter.cpp
+++ b/
lib/Target/Alpha/AlphaAsmPrinter.cpp
@@
-235,7
+235,8
@@
bool AlphaAsmPrinter::doFinalization(Module &M) {
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() ||