diff options
author | Owen Anderson <resistor@mac.com> | 2009-01-05 18:32:26 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-01-05 18:32:26 +0000 |
commit | d0ed240e3091607048490f174988976a44b11d30 (patch) | |
tree | eb28ffc0cc57e6b1b9d86b9e5a22a6909cf143e2 /lib/CodeGen/PreAllocSplitting.cpp | |
parent | 830703b1bd88511e29eec76b1fd146524bc9c5a1 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PreAllocSplitting.cpp')
-rw-r--r-- | lib/CodeGen/PreAllocSplitting.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/PreAllocSplitting.cpp b/lib/CodeGen/PreAllocSplitting.cpp index 576e9267f2..d8e54e90f0 100644 --- a/lib/CodeGen/PreAllocSplitting.cpp +++ b/lib/CodeGen/PreAllocSplitting.cpp @@ -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. |