Partially fix PR20058: reduce compile time for loop unrolling with very high count by reducing calls to SE->forgetLoop

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mark Heffernan
2014-07-10 23:30:06 +00:00
parent eb2fff64dd
commit 9853f94520
2 changed files with 19 additions and 8 deletions

View File

@@ -795,7 +795,8 @@ namespace llvm {
/// forgetLoop - This method should be called by the client when it has
/// changed a loop in a way that may effect ScalarEvolution's ability to
/// compute a trip count, or if the loop is deleted.
/// compute a trip count, or if the loop is deleted. This call is
/// potentially expensive for large loop bodies.
void forgetLoop(const Loop *L);
/// forgetValue - This method should be called by the client when it has