summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-21 07:45:57 +0000
committerChris Lattner <sabre@nondot.org>2009-12-21 07:45:57 +0000
commit4edfcb88e1063b9cef439c00b948a0eae34cc45b (patch)
tree652edd7c62395ac1459b4ab46bb4c264a0aa00e7 /llvm/lib/Transforms/Utils/LoopSimplify.cpp
parent8fb07c5a210d96e50f3991cc5fb68aee3d8be46c (diff)
downloadbcm5719-llvm-4edfcb88e1063b9cef439c00b948a0eae34cc45b.tar.gz
bcm5719-llvm-4edfcb88e1063b9cef439c00b948a0eae34cc45b.zip
revert r89298, which was committed without a testcase. I think
the underlying PHI node insertion issue in SSAUpdate is fixed. llvm-svn: 91821
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopSimplify.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
index 051089bc41b..7fcc5f748a7 100644
--- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp
+++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
@@ -305,12 +305,6 @@ ReprocessLoop:
}
}
- // If there are duplicate phi nodes (for example, from loop rotation),
- // get rid of them.
- for (Loop::block_iterator BB = L->block_begin(), E = L->block_end();
- BB != E; ++BB)
- EliminateDuplicatePHINodes(*BB);
-
return Changed;
}
OpenPOWER on IntegriCloud