We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c5cab7 commit 7960105Copy full SHA for 7960105
llvm/lib/Analysis/LoopAccessAnalysis.cpp
@@ -3082,7 +3082,7 @@ void LoopAccessInfoManager::clear() {
3082
// analyzed loop or SCEVs that may have been modified or invalidated. At the
3083
// moment, that is loops requiring memory or SCEV runtime checks, as those cache
3084
// SCEVs, e.g. for pointer expressions.
3085
- for (const auto &[L, LAI] : make_early_inc_range(LoopAccessInfoMap)) {
+ for (const auto &[L, LAI] : LoopAccessInfoMap) {
3086
if (LAI->getRuntimePointerChecking()->getChecks().empty() &&
3087
LAI->getPSE().getPredicate().isAlwaysTrue())
3088
continue;
0 commit comments