]> granicus.if.org Git - llvm/commitdiff
RegionPass: Set isExecuted flag correctly
authorTobias Grosser <tobias@grosser.es>
Fri, 13 Jan 2017 09:00:17 +0000 (09:00 +0000)
committerTobias Grosser <tobias@grosser.es>
Fri, 13 Jan 2017 09:00:17 +0000 (09:00 +0000)
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

lib/Analysis/RegionPass.cpp

index 7358aa6810a1f0ed339be12bea70cf6a299d90a2..1c1e6210c640d79026da5bb27cd4a933bc1f8f5c 100644 (file)
@@ -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);
       }