forked from OSchip/llvm-project
Fix breakage on ARM/2008-04-10-ScavengerAssert.ll.
llvm-svn: 54378
This commit is contained in:
parent
3dfa168d22
commit
3d4c06dd54
|
@ -137,6 +137,7 @@ bool UnreachableMachineBlockElim::runOnMachineFunction(MachineFunction &F) {
|
|||
start++;
|
||||
phi->eraseFromParent();
|
||||
|
||||
if (Input != Output)
|
||||
F.getRegInfo().replaceRegWith(Output, Input);
|
||||
} else
|
||||
start++;
|
||||
|
|
Loading…
Reference in New Issue