[llvm] 7114bff - [IPO] Remove an unused function declaration
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 27 16:22:13 PST 2022
Author: Kazu Hirata
Date: 2022-11-27T16:22:07-08:00
New Revision: 7114bffa68377eaded3aae105b0ee88daf1224fb
URL: https://github.com/llvm/llvm-project/commit/7114bffa68377eaded3aae105b0ee88daf1224fb
DIFF: https://github.com/llvm/llvm-project/commit/7114bffa68377eaded3aae105b0ee88daf1224fb.diff
LOG: [IPO] Remove an unused function declaration
The corresponding definition doesn't seem to have existed every since
the declaration was introduced on Jul 8, 2019 in commit
accd3e87478eb75d455e016500ef3d2ddbeca82d.
FWIW, we do have AAReturnedValuesImpl::getAssumedUniqueReturnValue
declared and defined in Attributor.cpp.
Added:
Modified:
llvm/include/llvm/Transforms/IPO/Attributor.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/IPO/Attributor.h b/llvm/include/llvm/Transforms/IPO/Attributor.h
index f46970740ea27..ec10c5c3ddb17 100644
--- a/llvm/include/llvm/Transforms/IPO/Attributor.h
+++ b/llvm/include/llvm/Transforms/IPO/Attributor.h
@@ -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
More information about the llvm-commits
mailing list