[all-commits] [llvm/llvm-project] c4952e: [nfc][ctx_prof] Efficient profile traversal and up...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Fri Sep 27 08:09:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4952e513f845a0e290d22ed1131d1b6438bb65b
https://github.com/llvm/llvm-project/commit/c4952e513f845a0e290d22ed1131d1b6438bb65b
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-09-27 (Fri, 27 Sep 2024)
Changed paths:
M llvm/include/llvm/Analysis/CtxProfAnalysis.h
M llvm/include/llvm/ProfileData/PGOCtxProfReader.h
M llvm/lib/Analysis/CtxProfAnalysis.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
Log Message:
-----------
[nfc][ctx_prof] Efficient profile traversal and update (#110052)
This optimizes profile updates and visits, where we want to access contexts for a specific function. These are all the current update cases. We do so by maintaining a list of contexts for each function, preserving preorder traversal. The list is updated whenever contexts are `std::move`-d or deleted.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list