[llvm] r367792 - [Attributor][NFC] Improve debug output
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 4 11:39:28 PDT 2019
Author: jdoerfert
Date: Sun Aug 4 11:39:28 2019
New Revision: 367792
URL: http://llvm.org/viewvc/llvm-project?rev=367792&view=rev
Log:
[Attributor][NFC] Improve debug output
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=367792&r1=367791&r2=367792&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Attributor.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Attributor.cpp Sun Aug 4 11:39:28 2019
@@ -665,7 +665,8 @@ ChangeStatus AAReturnedValuesImpl::manif
const std::string AAReturnedValuesImpl::getAsStr() const {
return (isAtFixpoint() ? "returns(#" : "may-return(#") +
- (isValidState() ? std::to_string(getNumReturnValues()) : "?") + ")";
+ (isValidState() ? std::to_string(getNumReturnValues()) : "?") +
+ ")[OD: " + std::to_string(HasOverdefinedReturnedCalls) + "]";
}
Optional<Value *> AAReturnedValuesImpl::getAssumedUniqueReturnValue(
More information about the llvm-commits
mailing list