[PATCH] D100993: [CSSPGO] Fix incorrect prorating indirect call distribution factor that leads to target count loss.

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 09:32:18 PDT 2021


hoy updated this revision to Diff 339683.
hoy added a comment.

Saving the original factor and use it to scale down target counts.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100993

Files:
  llvm/lib/Transforms/IPO/SampleProfile.cpp
  llvm/test/Transforms/SampleProfile/pseudo-probe-icp-factor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100993.339683.patch
Type: text/x-patch
Size: 6888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210422/03523baf/attachment.bin>


More information about the llvm-commits mailing list