mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
see what this allignment thing will do
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
86cbdba522
commit
054e2a758b
@ -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() ||
|
||||
|
Loading…
Reference in New Issue
Block a user