[llvm] [ThinLTO] Add tail call flag to call edges in summary (PR #74043)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 13:30:45 PST 2023
================
@@ -1117,6 +1117,21 @@ static GlobalVarSummary::GVarFlags getDecodedGVarFlags(uint64_t RawFlags) {
(GlobalObject::VCallVisibility)(RawFlags >> 3));
}
+static void getDecodedHotnessCallEdgeInfo(uint64_t RawFlags,
----------------
snehasish wrote:
nit: Prefer to return the Hotness and TailCall attribute as a tiny struct or a pair instead of using references.
https://github.com/llvm/llvm-project/pull/74043
More information about the llvm-commits
mailing list