summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/RegionPass.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-01-13 09:00:17 +0000
committerTobias Grosser <tobias@grosser.es>2017-01-13 09:00:17 +0000
commit190d4e5fa2d6619426e0295b6b116721b37d36fc (patch)
tree46c33d7c610319dbd178175cf4f05b95e93568cd /llvm/lib/Analysis/RegionPass.cpp
parentfd3e6d857e935ca5011c20356701eafc9848c993 (diff)
downloadbcm5719-llvm-190d4e5fa2d6619426e0295b6b116721b37d36fc.tar.gz
bcm5719-llvm-190d4e5fa2d6619426e0295b6b116721b37d36fc.zip
RegionPass: Set isExecuted flag correctly
This was forgotten in r291882. Without this fix, the Polly build bots are broken. llvm-svn: 291887
Diffstat (limited to 'llvm/lib/Analysis/RegionPass.cpp')
-rw-r--r--llvm/lib/Analysis/RegionPass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/RegionPass.cpp b/llvm/lib/Analysis/RegionPass.cpp
index 7358aa6810a..1c1e6210c64 100644
--- a/llvm/lib/Analysis/RegionPass.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud