[clang] [IRPGO][ValueProfile] Instrument virtual table address that could be used to do virtual table address comparision for indirect-call-promotion. (PR #66825)

Mingming Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 11 19:37:41 PDT 2023


minglotus-6 wrote:

> we prioritize inlining the memcpy code for a specific range based on the hotness of that range in a particular inline context

@htyu Pretty much a drive-by question if it's convenient for you to share more, how ranges are selected out of sampled values? For example, are ranges compile-time constant for all workloads or dynamically generated based on the distribution of size from the per-workload profile data?  



https://github.com/llvm/llvm-project/pull/66825


More information about the cfe-commits mailing list