[all-commits] [llvm/llvm-project] f756f0: [SimpleLoopUnswitch] Skip non-trivial unswitching ...
Ruobing Han via All-commits
all-commits at lists.llvm.org
Mon Aug 8 11:12:58 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f756f06cc471b91d81d7f7f15d9df76ed24de730
https://github.com/llvm/llvm-project/commit/f756f06cc471b91d81d7f7f15d9df76ed24de730
Author: Ruobing Han <hanruobing at gatech.edu>
Date: 2022-08-08 (Mon, 08 Aug 2022)
Changed paths:
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/test/Other/new-pm-defaults.ll
M llvm/test/Other/new-pm-thinlto-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
M llvm/test/Transforms/LoopPredication/preserve-bpi.ll
M llvm/test/Transforms/SimpleLoopUnswitch/PGO-nontrivial-unswitch.ll
M llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll
Log Message:
-----------
[SimpleLoopUnswitch] Skip non-trivial unswitching of cold loops
With profile data, non-trivial LoopUnswitch will only apply on non-cold loops, as unswitching cold loops may not gain much benefit but significantly increase the code size.
Reviewed By: aeubanks, asbirlea
Differential Revision: https://reviews.llvm.org/D129599
More information about the All-commits
mailing list