[PATCH] D60144: [SCEV] Add option to forget everything in SCEV.
Sanjoy Das via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 10 19:12:04 PDT 2019
sanjoy accepted this revision.
sanjoy added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: lib/Analysis/ScalarEvolution.cpp:6793
+void ScalarEvolution::forgetAllLoops() {
+ // This method is intended to forget all info about loops, but it will
+ // preserve info such as UniqueSCEVs.
----------------
Suggested comment:
This method should invalidate caches as if the following happened:
- The trip count of all loops have changed arbitrarily.
- Every llvm::Value has been updated in place to produce a different result .
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60144/new/
https://reviews.llvm.org/D60144
More information about the llvm-commits
mailing list