diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-11-10 23:56:00 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-11-10 23:56:00 +0000 |
commit | b5f327b30f048b989c6f08d3bf84568d541b7644 (patch) | |
tree | 07d36518878e8391b0017141674fa45b6cb0c719 /lib/CodeGen/SplitKit.cpp | |
parent | e93198af07517b92f276192c974ce3a6006ce998 (diff) |
No need to add liveness that's already there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.cpp')
-rw-r--r-- | lib/CodeGen/SplitKit.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp index 351cb0fae1..ed2725eed9 100644 --- a/lib/CodeGen/SplitKit.cpp +++ b/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'); } |