mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Keep callers of a weak function calling it, instead of the non-weak equivalent.
llvm-svn: 73235
This commit is contained in:
parent
780e3addf8
commit
32fec8ff24
@ -548,6 +548,7 @@ static bool fold(std::vector<Function *> &FnVec, unsigned i, unsigned j) {
|
||||
F->getParent());
|
||||
H->copyAttributesFrom(F);
|
||||
H->takeName(F);
|
||||
F->replaceAllUsesWith(H);
|
||||
|
||||
ThunkGToF(F, G);
|
||||
ThunkGToF(F, H);
|
||||
|
Loading…
Reference in New Issue
Block a user