From: Tobias Grosser Date: Fri, 13 Jan 2017 09:00:17 +0000 (+0000) Subject: RegionPass: Set isExecuted flag correctly X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd9ca6ae970062f7839e07689590411d67a495fc;p=llvm RegionPass: Set isExecuted flag correctly This was forgotten in r291882. Without this fix, the Polly build bots are broken. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291887 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/RegionPass.cpp b/lib/Analysis/RegionPass.cpp index 7358aa6810a..1c1e6210c64 100644 --- a/lib/Analysis/RegionPass.cpp +++ b/lib/Analysis/RegionPass.cpp @@ -94,6 +94,7 @@ bool RGPassManager::runOnFunction(Function &F) { PassManagerPrettyStackEntry X(P, *CurrentRegion->getEntry()); TimeRegion PassTimer(getPassTimer(P)); + P->setExecuted(true); Changed |= P->runOnRegion(CurrentRegion, *this); }