diff options
author | Dan Gohman <gohman@apple.com> | 2009-10-31 15:04:55 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-10-31 15:04:55 +0000 |
commit | 4c7279ac726e338400626fca5a09b5533426eb6a (patch) | |
tree | efe44dc30889ca61e5b9699b52b7b0e42a41958f /lib/Transforms/Scalar/IndVarSimplify.cpp | |
parent | a2aabe38ae442fa00f51526a8a149ecde417c83c (diff) | |
download | external_llvm-4c7279ac726e338400626fca5a09b5533426eb6a.tar.gz external_llvm-4c7279ac726e338400626fca5a09b5533426eb6a.tar.bz2 external_llvm-4c7279ac726e338400626fca5a09b5533426eb6a.zip |
Rename forgetLoopBackedgeTakenCount to forgetLoop, because it
clears out more information than just the stored backedge taken count.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/IndVarSimplify.cpp')
-rw-r--r-- | lib/Transforms/Scalar/IndVarSimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp index 931759a86a..b0bc70c3f4 100644 --- a/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -322,7 +322,7 @@ void IndVarSimplify::RewriteNonIntegerIVs(Loop *L) { // may not have been able to compute a trip count. Now that we've done some // re-writing, the trip count may be computable. if (Changed) - SE->forgetLoopBackedgeTakenCount(L); + SE->forgetLoop(L); } bool IndVarSimplify::runOnLoop(Loop *L, LPPassManager &LPM) { |