mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-22 20:26:31 +00:00
Revert r128501. It caused test failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
83d808329b
commit
5f49c29612
@ -352,7 +352,6 @@ static void CopyGVAttributes(GlobalValue *DestGV, const GlobalValue *SrcGV) {
|
|||||||
unsigned Alignment = std::max(DestGV->getAlignment(), SrcGV->getAlignment());
|
unsigned Alignment = std::max(DestGV->getAlignment(), SrcGV->getAlignment());
|
||||||
DestGV->copyAttributesFrom(SrcGV);
|
DestGV->copyAttributesFrom(SrcGV);
|
||||||
DestGV->setAlignment(Alignment);
|
DestGV->setAlignment(Alignment);
|
||||||
DestGV->setUnnamedAddr(SrcGV->hasUnnamedAddr());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// GetLinkageResult - This analyzes the two global values and determines what
|
/// GetLinkageResult - This analyzes the two global values and determines what
|
||||||
|
Loading…
x
Reference in New Issue
Block a user