[all-commits] [llvm/llvm-project] 6d2b42: [Analysis] Migrate to a new version of getValuePro...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Mon Jul 1 14:55:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d2b4272edf232b105203747c179320aa0aefa11
https://github.com/llvm/llvm-project/commit/6d2b4272edf232b105203747c179320aa0aefa11
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
Log Message:
-----------
[Analysis] Migrate to a new version of getValueProfDataFromInst (#97234)
This patch migrates a use of getValueProfDataFromInst in the indirect
call promotion to a new version.
Without this patch, getProfitablePromotionCandidates is a little
strange in that it takes value profiling data from member variable
ValueDataArray while taking its length as a function parameter. This
patch rectifies that by teaching the function to refer to
ValueDataArray, which is now a SmallVector.
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