summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopDeletion.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-31 15:04:55 +0000
committerDan Gohman <gohman@apple.com>2009-10-31 15:04:55 +0000
commit880c92ac1c9322f377dcaf49624b0ff5f83025a4 (patch)
tree4c9ab2f5ba49995c6dbc9c1b0871b001a0b0bd13 /llvm/lib/Transforms/Scalar/LoopDeletion.cpp
parent969e83a4ff94ee54308e8fd89cb7427c161c27e5 (diff)
downloadbcm5719-llvm-880c92ac1c9322f377dcaf49624b0ff5f83025a4.tar.gz
bcm5719-llvm-880c92ac1c9322f377dcaf49624b0ff5f83025a4.zip
Rename forgetLoopBackedgeTakenCount to forgetLoop, because it
clears out more information than just the stored backedge taken count. llvm-svn: 85664
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopDeletion.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopDeletion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopDeletion.cpp b/llvm/lib/Transforms/Scalar/LoopDeletion.cpp
index 3fb6c916f19..866d8b41d9d 100644
--- a/llvm/lib/Transforms/Scalar/LoopDeletion.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopDeletion.cpp
@@ -161,7 +161,7 @@ bool LoopDeletion::runOnLoop(Loop* L, LPPassManager& LPM) {
// Tell ScalarEvolution that the loop is deleted. Do this before
// deleting the loop so that ScalarEvolution can look at the loop
// to determine what it needs to clean up.
- SE.forgetLoopBackedgeTakenCount(L);
+ SE.forgetLoop(L);
// Connect the preheader directly to the exit block.
TerminatorInst* TI = preheader->getTerminator();
OpenPOWER on IntegriCloud