[llvm] [ctxprof] Use the flattened contextual profile pre-thinlink (PR #134723)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 8 15:04:02 PDT 2025
================
@@ -299,20 +310,27 @@ void PGOContextualProfile::visit(ConstVisitor V, const Function *F) const {
const CtxProfFlatProfile PGOContextualProfile::flatten() const {
CtxProfFlatProfile Flat;
+ auto Accummulate = +[](SmallVectorImpl<uint64_t> &Into,
----------------
snehasish wrote:
Do you need the `+` to cast it to a c-style function pointer? I don't see any usage which requires this.
https://github.com/llvm/llvm-project/pull/134723
More information about the llvm-commits
mailing list