[llvm] [SHT_LLVM_BB_ADDR_MAP] Add a new PGOAnalysisMap feature to emit dynamic instruction count (PR #119303)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 03:19:16 PST 2025
jh7370 wrote:
> The alternative is to define a new [extension](https://llvm.org/docs/Extensions.html) and implement the parsing/emitting logic separately. Since your structure is basically a map from function addresses to counts, it shouldn't be too hard to implement, though I agree you would need to add code in different places (ObjectYaml, Object, Codegen). @jh7370 may have an opinion here.
Sorry, I don't think I really have enough background understanding to be able to give an opinion on this topic.
https://github.com/llvm/llvm-project/pull/119303
More information about the llvm-commits
mailing list