[PATCH] D129599: Apply PGO on SimpleLoopUnswitch
Ruobing Han via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 4 11:28:11 PDT 2022
drcut updated this revision to Diff 450083.
drcut added a comment.
Herald added subscribers: ormris, steven_wu.
[llvm] Implement PGO for SLU
Using PGO for SLU to avoid non-trivial unswitch code on code loops, which will increase the binary code size without gain much benefit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129599/new/
https://reviews.llvm.org/D129599
Files:
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
llvm/test/Other/new-pm-defaults.ll
llvm/test/Other/new-pm-thinlto-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
llvm/test/Transforms/LoopPredication/preserve-bpi.ll
llvm/test/Transforms/SimpleLoopUnswitch/PGO-nontrivial-unswitch.ll
llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129599.450083.patch
Type: text/x-patch
Size: 11647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220804/9738d06d/attachment.bin>
More information about the llvm-commits
mailing list