[PATCH] D126113: [BOLT] Increase coverage of shrink wrapping [3/5]

Rafael Auler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 20:23:23 PDT 2022


rafauler created this revision.
rafauler added reviewers: Amir, maksfb, yota9, ayermolo, zr33.
Herald added a project: All.
rafauler requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add the option to run -equalize-bb-counts before shrink
wrapping to avoid unnecessarily optimizing some CFGs where profile is
inaccurate but we can prove two blocks have the same frequency.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126113

Files:
  bolt/include/bolt/Passes/MCF.h
  bolt/include/bolt/Utils/CommandLineOpts.h
  bolt/lib/Passes/FrameOptimizer.cpp
  bolt/lib/Passes/MCF.cpp
  bolt/lib/Passes/ShrinkWrapping.cpp
  bolt/lib/Utils/CommandLineOpts.cpp
  bolt/test/X86/shrinkwrapping-do-not-pessimize.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126113.431118.patch
Type: text/x-patch
Size: 7798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220521/34325b24/attachment.bin>


More information about the llvm-commits mailing list