No need to add liveness that's already there.

llvm-svn: 118742
This commit is contained in:
Jakob Stoklund Olesen 2010-11-10 23:56:00 +00:00
parent 6a63cbe06d
commit 2f72fda7ef

View File

@ -764,10 +764,7 @@ void SplitEditor::enterIntvAtEnd(MachineBasicBlock &MBB) {
}
DEBUG(dbgs() << ": valno " << ParentVNI->id);
truncatedValues.insert(ParentVNI);
VNInfo *VNI = defFromParent(openli_, ParentVNI, End, MBB,
MBB.getFirstTerminator());
// Make sure openli is live out of MBB.
openli_.getLI()->addRange(LiveRange(VNI->def, End.getNextSlot(), VNI));
defFromParent(openli_, ParentVNI, End, MBB, MBB.getFirstTerminator());
DEBUG(dbgs() << ": " << *openli_.getLI() << '\n');
}