[llvm-commits] [llvm] r118742 - /llvm/trunk/lib/CodeGen/SplitKit.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Nov 10 15:56:00 PST 2010


Author: stoklund
Date: Wed Nov 10 17:56:00 2010
New Revision: 118742

URL: http://llvm.org/viewvc/llvm-project?rev=118742&view=rev
Log:
No need to add liveness that's already there.

Modified:
    llvm/trunk/lib/CodeGen/SplitKit.cpp

Modified: llvm/trunk/lib/CodeGen/SplitKit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SplitKit.cpp?rev=118742&r1=118741&r2=118742&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SplitKit.cpp (original)
+++ llvm/trunk/lib/CodeGen/SplitKit.cpp Wed Nov 10 17:56:00 2010
@@ -764,10 +764,7 @@
   }
   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');
 }
 





More information about the llvm-commits mailing list