Skip to content

Commit 0a925be

Browse files
[IPO] Remove unused function getAndUpdateAAFor (#69544)
The last use was removed by: commit 18d9f7e Author: Johannes Doerfert <[email protected]> Date: Wed Jul 5 15:35:24 2023 -0700
1 parent a815208 commit 0a925be

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

llvm/include/llvm/Transforms/IPO/Attributor.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,18 +1541,6 @@ struct Attributor {
15411541
/* ForceUpdate */ false);
15421542
}
15431543

1544-
/// Similar to getAAFor but the return abstract attribute will be updated (via
1545-
/// `AbstractAttribute::update`) even if it is found in the cache. This is
1546-
/// especially useful for AAIsDead as changes in liveness can make updates
1547-
/// possible/useful that were not happening before as the abstract attribute
1548-
/// was assumed dead.
1549-
template <typename AAType>
1550-
const AAType *getAndUpdateAAFor(const AbstractAttribute &QueryingAA,
1551-
const IRPosition &IRP, DepClassTy DepClass) {
1552-
return getOrCreateAAFor<AAType>(IRP, &QueryingAA, DepClass,
1553-
/* ForceUpdate */ true);
1554-
}
1555-
15561544
/// The version of getAAFor that allows to omit a querying abstract
15571545
/// attribute. Using this after Attributor started running is restricted to
15581546
/// only the Attributor itself. Initial seeding of AAs can be done via this

0 commit comments

Comments
 (0)