Revert r128501. It caused test failures.
llvm-svn: 128506
This commit is contained in:
parent
dedfac0b95
commit
cfb2036689
|
@ -352,7 +352,6 @@ static void CopyGVAttributes(GlobalValue *DestGV, const GlobalValue *SrcGV) {
|
|||
unsigned Alignment = std::max(DestGV->getAlignment(), SrcGV->getAlignment());
|
||||
DestGV->copyAttributesFrom(SrcGV);
|
||||
DestGV->setAlignment(Alignment);
|
||||
DestGV->setUnnamedAddr(SrcGV->hasUnnamedAddr());
|
||||
}
|
||||
|
||||
/// GetLinkageResult - This analyzes the two global values and determines what
|
||||
|
|
Loading…
Reference in New Issue