[llvm] [Inline][PGO] After inline, update profile for invoke instruction in both cloned instruction in the caller and original callee (PR #83809)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 27 15:06:28 PDT 2024
minglotus-6 wrote:
Actually I just realized `scaleProfData` will not work for `invoke` with non-count branch weights since the implementation _assumes and preserves_ one integer in the metadata.
I'll update the method and add a regression test to catch this.
https://github.com/llvm/llvm-project/pull/83809
More information about the llvm-commits
mailing list