mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-20 09:24:58 +00:00
Mark merged-in VNInfo's as being PHIKilled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56893 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
309c6162c6
commit
05472ee54b
@ -977,6 +977,11 @@ bool StrongPHIElimination::runOnMachineFunction(MachineFunction &Fn) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LiveInterval& Int = LI.getOrCreateInterval(I->first);
|
||||||
|
const LiveRange* LR =
|
||||||
|
Int.getLiveRangeContaining(LI.getMBBEndIdx(SI->second));
|
||||||
|
LR->valno->hasPHIKill = true;
|
||||||
|
|
||||||
I->second.erase(SI->first);
|
I->second.erase(SI->first);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user