[PATCH] D111353: [SCEV] Extend ability to infer flags to more complicates scopes
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 7 22:01:13 PDT 2021
mkazantsev requested changes to this revision.
mkazantsev added a comment.
This revision now requires changes to proceed.
Why am I getting more and more scared every time a new cache is added in SCEV? :) Please add verifiation info ::verify().
I think you are also missing invalidation in forgetLoop.
================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:7660
+ for (auto *BB : CurrL->getBlocks())
+ BlockTransferExecutionToSuccessorCache.erase(BB);
LoopPropertiesCache.erase(CurrL);
----------------
What about preheader?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111353/new/
https://reviews.llvm.org/D111353
More information about the llvm-commits
mailing list