[all-commits] [llvm/llvm-project] b2b2aa: [LoopUnswitch] Add some additional tests.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue Jan 26 07:19:31 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b2b2aa1c607781a3343085900fa7462ee498c993
https://github.com/llvm/llvm-project/commit/b2b2aa1c607781a3343085900fa7462ee498c993
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-01-26 (Tue, 26 Jan 2021)
Changed paths:
M llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll
Log Message:
-----------
[LoopUnswitch] Add some additional tests.
Add a few additional tests where partial unswitching is not really
profitable and should be avoided.
Commit: 1272f16d14264939ad3e73c84acc28a63970bc06
https://github.com/llvm/llvm-project/commit/1272f16d14264939ad3e73c84acc28a63970bc06
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-01-26 (Tue, 26 Jan 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
M llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll
Log Message:
-----------
[LoopUnswitch] Avoid partially unswitching too aggressively.
This patch adds additional checks to avoid partial unswitching
in cases where it won't be profitable, e.g. because the path directly
exits the loop anyways.
Compare: https://github.com/llvm/llvm-project/compare/110837fbf6a9...1272f16d1426
More information about the All-commits
mailing list