1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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.

llvm-svn: 61723
This commit is contained in:
Owen Anderson 2009-01-05 18:32:26 +00:00
parent 2f04085542
commit 28649f1598

View File

@ -605,11 +605,6 @@ VNInfo* PreAllocSplitting::PerformPHIConstruction(
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.