[llvm] [SHT_LLVM_BB_ADDR_MAP] Add a new PGOAnalysisMap feature to emit dynamic instruction count (PR #119303)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 10:40:35 PST 2024


boomanaiden154 wrote:

> This is very cool, thank you for the pointer, I will take a deep look later.

It needs some updating (originally used the CSV BB frequency dump that got supersceded by the PGO Analysis map), but shouldn't be too difficult to get working.

> Sorry the description wasn't clear. I meant to skip all the BB entries, BB frequency/probability things by using this https://github.com/llvm/llvm-project/pull/114447, so that we only have the dyn-inst-count emitted, this can save ~95% of the section SHT_LLVM_BB_ADDR_MAP . Updated the PR description.

Ah, that makes more sense. What's the practical limitation here though? Is there some build-system limitation on your side that you're running into with regard to object/executable sizes?


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


More information about the llvm-commits mailing list