[PATCH] D70688: [PGO] Add Value Profiling for Loop Trip Count (WIP)

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 20 20:09:57 PDT 2022


hoy added a comment.
Herald added a project: All.

The work is interesting. I'm wondering if it is still ongoing. I haven't looked into the implementation details here yet, but here are a couple basic questions:

1. Does the generated loop MD reflect the average loop trip count per loop run or the accumulated total trip count for all runs of the loop?
2. How does the generated loop MD differ from the synthesized loop tripe count based on the branch_weight metadata?
3. Have you seen a particular loop optimization pass benefits from this work?

Thanks.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70688/new/

https://reviews.llvm.org/D70688



More information about the llvm-commits mailing list