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

Ellis Hoag via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 11:11:56 PDT 2022


ellis updated this revision to Diff 430745.
ellis added a comment.

Remove dependency on `isBlockRarelyExecuted()` that I created in D124490 <https://reviews.llvm.org/D124490> and replace with `ProfileSummaryInfo` API to determine if a block is hot.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125743

Files:
  llvm/lib/CodeGen/MachineOutliner.cpp
  llvm/test/CodeGen/AArch64/machine-outliner-profile.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125743.430745.patch
Type: text/x-patch
Size: 5155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220519/2cf966c0/attachment.bin>


More information about the llvm-commits mailing list