forked from OSchip/llvm-project
parent
e7422f6b8d
commit
d7e39eb443
|
@ -495,7 +495,6 @@ unsigned TargetData::getPreferredAlignmentLog(const GlobalVariable *GV) const {
|
|||
Alignment = Log2_32(GV->getAlignment());
|
||||
|
||||
if (GV->hasInitializer()) {
|
||||
// Always round up alignment of global doubles to 8 bytes.
|
||||
if (Alignment < 4) {
|
||||
// If the global is not external, see if it is large. If so, give it a
|
||||
// larger alignment.
|
||||
|
|
Loading…
Reference in New Issue