[PATCH] D151666: [IPSCCP] Update Post Dominator Tree if Block Frequency Analysis has run.

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 29 16:43:19 PDT 2023


labrinea added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/FunctionSpecialization.cpp:711
     if (!HasCheckedEntryFreq) {
+      HasRunBFI.insert(F);
       // Reject cold functions (for some definition of 'cold').
----------------
Perhaps this could move inside GetBFI, which would have to become specific to the FunctionSpecializer.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151666



More information about the llvm-commits mailing list