[PATCH] D125743: [outliner] Use profile data to avoid outlining hot blocks

Kyungwoo Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 11:51:49 PDT 2022


kyulee added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineOutliner.cpp:911
+    if (!RunOnAllFunctions && !TII->shouldOutlineFromFunctionByDefault(*MF) &&
+        !UseProfileData)
       continue;
----------------
I'm not sure I understand this correctly. When UseProfileData is true, do we ignore the other two conditions?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125743



More information about the llvm-commits mailing list