mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Remove dead store.
llvm-svn: 92187
This commit is contained in:
parent
8042a829e5
commit
6f5d4b9eb6
@ -860,7 +860,7 @@ void PEI::scavengeFrameVirtualRegs(MachineFunction &Fn) {
|
||||
// Remove all instructions up 'til the last use, since they're
|
||||
// just calculating the value we already have.
|
||||
BB->erase(I, LastUseMI);
|
||||
MI = I = LastUseMI;
|
||||
I = LastUseMI;
|
||||
|
||||
// Extend the live range of the scratch register
|
||||
PrevLastUseMI->getOperand(PrevLastUseOp).setIsKill(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user