Skip to content

Commit

Permalink
[IPO] Remove an unused function declaration
Browse files Browse the repository at this point in the history
The corresponding definition doesn't seem to have existed every since
the declaration was introduced on Jul 8, 2019 in commit
accd3e8.

FWIW, we do have AAReturnedValuesImpl::getAssumedUniqueReturnValue
declared and defined in Attributor.cpp.
  • Loading branch information
kazutakahirata committed Nov 28, 2022
1 parent 204cd4e commit 7114bff
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions llvm/include/llvm/Transforms/IPO/Attributor.h
Expand Up @@ -3142,11 +3142,6 @@ struct AAReturnedValues
: public IRAttribute<Attribute::Returned, AbstractAttribute> {
AAReturnedValues(const IRPosition &IRP, Attributor &A) : IRAttribute(IRP) {}

/// Return an assumed unique return value if a single candidate is found. If
/// there cannot be one, return a nullptr. If it is not clear yet, return the
/// Optional::NoneType.
Optional<Value *> getAssumedUniqueReturnValue(Attributor &A) const;

/// Check \p Pred on all returned values.
///
/// This method will evaluate \p Pred on returned values and return
Expand Down

0 comments on commit 7114bff

Please sign in to comment.