[flang-commits] [flang] [libc] [lldb] [libunwind] [llvm] [clang-tools-extra] [compiler-rt] [clang] [mlir] [lld] [libcxx] [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 flang-commits flang-commits at lists.llvm.org
Tue Dec 19 09:29:07 PST 2023


minglotus-6 wrote:

> After this patch, follow up with a patch documenting raw and index format. This has long being requested by many in the community.

Sure, I'm working on an `rst` doc and would like to focus on the PGO profile format (while compiler-rt infrastructure supports other use cases, like coverage instrumentation, etc), for example, how profile-data control structure references counters and value profiles.

I just updated this pull request (fix clang-format after using the same clang-format as bot, etc). @amharc and I discussed how to work around possible profile version skews without waiting for version compatibility full-fledged solution, and he suggested we could first teach profile reader to understand new sections without bumping the version and let it soak everywhere (e.g, for a few weeks), and increase the version number as a second change. I'm planning to make some progress on this aspect.

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


More information about the flang-commits mailing list