mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user