[llvm] r370283 - [Attributor][Fix] Indicate change correctly
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 28 18:26:58 PDT 2019
Author: jdoerfert
Date: Wed Aug 28 18:26:58 2019
New Revision: 370283
URL: http://llvm.org/viewvc/llvm-project?rev=370283&view=rev
Log:
[Attributor][Fix] Indicate change correctly
Modified:
llvm/trunk/lib/Transforms/IPO/Attributor.cpp
Modified: llvm/trunk/lib/Transforms/IPO/Attributor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Attributor.cpp?rev=370283&r1=370282&r2=370283&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Attributor.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Attributor.cpp Wed Aug 28 18:26:58 2019
@@ -1956,6 +1956,7 @@ ChangeStatus AAIsDeadImpl::updateImpl(At
// which will prevent us from querying isAssumedDead().
indicatePessimisticFixpoint();
assert(!isValidState() && "Expected an invalid state!");
+ Status = ChangeStatus::CHANGED;
}
return Status;
More information about the llvm-commits
mailing list