[all-commits] [llvm/llvm-project] fb45f3: [SimpleLoopUnswitch] Skip non-trivial unswitching ...
Ruobing Han via All-commits
all-commits at lists.llvm.org
Tue Sep 6 16:13:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fb45f3c9486f5d9e3003db95386432562b23577c
https://github.com/llvm/llvm-project/commit/fb45f3c9486f5d9e3003db95386432562b23577c
Author: Ruobing Han <hanruobing at gatech.edu>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/test/Transforms/SimpleLoopUnswitch/PGO-nontrivial-unswitch.ll
M llvm/test/Transforms/SimpleLoopUnswitch/PGO-nontrivial-unswitch2.ll
Log Message:
-----------
[SimpleLoopUnswitch] Skip non-trivial unswitching of cold functions
In the current main branch, all cold loops will not be applied non-trivial unswitch. As reported in D129599, skipping these cold loops will incur regression in SPEC benchmark.
Thus, instead of skipping cold loops, now only skipping loops in cold functions.
Reviewed By: alexgatea, aeubanks
Differential Revision: https://reviews.llvm.org/D133275
More information about the All-commits
mailing list