Skip to content

Commit 7960105

Browse files
committed
LAA: strip make_early_inc_range
1 parent 5c5cab7 commit 7960105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Analysis/LoopAccessAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3082,7 +3082,7 @@ void LoopAccessInfoManager::clear() {
30823082
// analyzed loop or SCEVs that may have been modified or invalidated. At the
30833083
// moment, that is loops requiring memory or SCEV runtime checks, as those cache
30843084
// SCEVs, e.g. for pointer expressions.
3085-
for (const auto &[L, LAI] : make_early_inc_range(LoopAccessInfoMap)) {
3085+
for (const auto &[L, LAI] : LoopAccessInfoMap) {
30863086
if (LAI->getRuntimePointerChecking()->getChecks().empty() &&
30873087
LAI->getPSE().getPredicate().isAlwaysTrue())
30883088
continue;

0 commit comments

Comments
 (0)