[PATCH] D125249: [Inliner] Preserve !prof metadata when converting call to invoke.

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 11:47:07 PDT 2022


wenlei added a comment.

In D125249#3501442 <https://reviews.llvm.org/D125249#3501442>, @davidxl wrote:

> Does the data need to be scaled first?

Scaling is done right after inlining, separately. Here when just converting call to invoke, we can preserved the counts faithfully.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125249



More information about the llvm-commits mailing list