[llvm-commits] [llvm] r61723 - /llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
Owen Anderson
resistor at mac.com
Mon Jan 5 10:32:26 PST 2009
Author: resistor
Date: Mon Jan 5 12:32:26 2009
New Revision: 61723
URL: http://llvm.org/viewvc/llvm-project?rev=61723&view=rev
Log:
Get rid of sentinel insertion in interval reconstruction. It just masked the
problem, rather than fixing it. The problem has now been fixed the right way.
Modified:
llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
Modified: llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp?rev=61723&r1=61722&r2=61723&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp (original)
+++ llvm/trunk/lib/CodeGen/PreAllocSplitting.cpp Mon Jan 5 12:32:26 2009
@@ -605,11 +605,6 @@
else if (!intrablock && LiveOut.count(MBB))
return LiveOut[MBB];
- // Insert a sentinel into the map (which also acts as the DFS stack) so that
- // we won't get stuck in infinite recursion when processing a loop.
- if (!intrablock)
- LiveOut[MBB] = 0;
-
typedef DenseMap<MachineBasicBlock*, SmallPtrSet<MachineInstr*, 2> > RegMap;
// Check if our block contains any uses or defs.
More information about the llvm-commits
mailing list