diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index 18e8a8914064..5a32c86679be 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -2825,6 +2825,7 @@ bool Scop::propagateInvalidStmtDomains( continue; isl_set_free(InvalidDomain); + InvalidDomainMap.erase(BB); invalidate(COMPLEXITY, TI->getDebugLoc()); return false; }