[llvm-branch-commits] [llvm] [Inline][PGO] After inline, update profile for invoke instruction in both cloned instruction in the caller and original callee (PR #83809)

David Li via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Mar 5 12:36:33 PST 2024


https://github.com/david-xl commented:

The invoke instruction can have 3 different kinds of prof data
1) call count (if a direct call)
2) VP profile data (if an indirect call)
3) branch weights for landing pad.

3) can coexist with  2) and does not need to be updated. Is there an existing test coverage for type 1) update?

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


More information about the llvm-branch-commits mailing list