[llvm] Insert symbols for prefetch targets read from basic blocks section profile. (PR #168439)
Wei Xiao via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 26 18:55:40 PST 2025
================
@@ -202,6 +218,9 @@ class BasicBlockSectionsProfileReaderWrapperPass : public ImmutablePass {
std::pair<bool, FunctionPathAndClusterInfo>
getFunctionPathAndClusterInfo(StringRef FuncName) const;
+ SmallVector<CallsiteID>
+ getPrefetchTargetsForFunction(StringRef FuncName) const;
----------------
williamweixiao wrote:
how about changing it to below one?
`const SmallVector<CallsiteID> &getPrefetchTargetsForFunction(StringRef FuncName) const;`
https://github.com/llvm/llvm-project/pull/168439
More information about the llvm-commits
mailing list