summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJohannes Doerfert <jdoerfert@anl.gov>2019-08-29 01:26:58 +0000
committerJohannes Doerfert <jdoerfert@anl.gov>2019-08-29 01:26:58 +0000
commit62a9c1da787e821e8bda02d23df7bad84577dd99 (patch)
tree8bb8fb65507531a96e7dfab48937dd0eed8df880 /llvm/lib/Transforms
parent1aac182f3137ced28fb393780773ff0ae816d276 (diff)
downloadbcm5719-llvm-62a9c1da787e821e8bda02d23df7bad84577dd99.tar.gz
bcm5719-llvm-62a9c1da787e821e8bda02d23df7bad84577dd99.zip
[Attributor][Fix] Indicate change correctly
llvm-svn: 370283
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/Attributor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/IPO/Attributor.cpp b/llvm/lib/Transforms/IPO/Attributor.cpp
index 84036813517..3681bd65225 100644
--- a/llvm/lib/Transforms/IPO/Attributor.cpp
+++ b/llvm/lib/Transforms/IPO/Attributor.cpp
@@ -1956,6 +1956,7 @@ ChangeStatus AAIsDeadImpl::updateImpl(Attributor &A) {
// which will prevent us from querying isAssumedDead().
indicatePessimisticFixpoint();
assert(!isValidState() && "Expected an invalid state!");
+ Status = ChangeStatus::CHANGED;
}
return Status;
OpenPOWER on IntegriCloud