mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-03 18:09:29 +00:00
Fix this to work correctly with phis; test case to follow if this successfully
fixes self-host. llvm-svn: 132275
This commit is contained in:
parent
51a8fe13bc
commit
233946583f
@ -189,6 +189,7 @@ BasicBlock *InvokeInliningInfo::getInnerUnwindDest() {
|
||||
PHINode *innerPhi = PHINode::Create(outerPhi->getType(), phiCapacity,
|
||||
outerPhi->getName() + ".lpad-body",
|
||||
insertPoint);
|
||||
outerPhi->replaceAllUsesWith(innerPhi);
|
||||
innerPhi->addIncoming(outerPhi, OuterUnwindDest);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user