summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-11-10 23:56:00 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-11-10 23:56:00 +0000
commit3cb87f4c310cc5d26365f426321ba2ed0f31ebfe (patch)
treeeab62a8a141ddd0f569d7d1ab33eb50cd60664e8 /llvm/lib/CodeGen
parent868dd4e66a7e2cc5d6a14ff0975d429703ec18a7 (diff)
downloadbcm5719-llvm-3cb87f4c310cc5d26365f426321ba2ed0f31ebfe.tar.gz
bcm5719-llvm-3cb87f4c310cc5d26365f426321ba2ed0f31ebfe.zip
No need to add liveness that's already there.
llvm-svn: 118742
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SplitKit.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp
index 351cb0fae1f..ed2725eed9c 100644
--- a/llvm/lib/CodeGen/SplitKit.cpp
+++ b/llvm/lib/CodeGen/SplitKit.cpp
@@ -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');
}
OpenPOWER on IntegriCloud