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 | 96fce00dc0046aa0ad8e4589b280b0b253db43bf (patch) | |
tree | 3e0c428dd77d8cdf9906609799ae8d39b5143bd0 /llvm/lib/CodeGen/PreAllocSplitting.cpp | |
parent | dc83a54567bef6da3b188fb4a3b72de3c4b99d00 (diff) | |
download | bcm5719-llvm-96fce00dc0046aa0ad8e4589b280b0b253db43bf.tar.gz bcm5719-llvm-96fce00dc0046aa0ad8e4589b280b0b253db43bf.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/PreAllocSplitting.cpp')
-rw-r--r-- | llvm/lib/CodeGen/PreAllocSplitting.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/PreAllocSplitting.cpp b/llvm/lib/CodeGen/PreAllocSplitting.cpp index 576e9267f2e..d8e54e90f08 100644 --- a/llvm/lib/CodeGen/PreAllocSplitting.cpp +++ b/llvm/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. |