[all-commits] [llvm/llvm-project] 4ffad1: [SampleFDO] Add PromotedInsns to prevent repeated ...

wmi-11 via All-commits all-commits at lists.llvm.org
Fri Feb 19 10:02:47 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ffad1fb489f691825d6c7d78e1626de142f26cf
      https://github.com/llvm/llvm-project/commit/4ffad1fb489f691825d6c7d78e1626de142f26cf
  Author: Wei Mi <wmi at google.com>
  Date:   2021-02-19 (Fri, 19 Feb 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfile.cpp

  Log Message:
  -----------
  [SampleFDO] Add PromotedInsns to prevent repeated ICP.

In https://reviews.llvm.org/rG5fb65c02ca5e91e7e1a00e0efdb8edc899f3e4b9,
We use 0 count value profile to memorize which target has been promoted
and prevent repeated ICP for the same target, so we delete PromotedInsns.
However, I found the implementation in the patch has some shortcomings
to be fixed otherwise there will still be repeated ICP. So I add
PromotedInsns back temorarily. Will remove it after I get a thorough fix.




More information about the All-commits mailing list