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

Ellis Hoag via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 17 15:35:04 PDT 2022


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

Check if profile data is available before trying to use and add a test to make sure we enable outlining for minsize functions without profiles.


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.430198.patch
Type: text/x-patch
Size: 4016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220517/ba59eb03/attachment.bin>


More information about the llvm-commits mailing list