[all-commits] [llvm/llvm-project] ebac59: [SimpleLoopUnswitch] Skip trivial selects in guard...
Dmitry Makogon via All-commits
all-commits at lists.llvm.org
Mon Nov 7 23:05:40 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ebac59999f926339f08936c050890c3364b5f130
https://github.com/llvm/llvm-project/commit/ebac59999f926339f08936c050890c3364b5f130
Author: Dmitry Makogon <d.makogon at g.nsu.ru>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-skip-selects-in-guards.ll
Log Message:
-----------
[SimpleLoopUnswitch] Skip trivial selects in guards conditions unswitch candidates
We do this for conditional branches, but not for guards for some reason.
Fixes pr58666.
Differential Revision: https://reviews.llvm.org/D137249
More information about the All-commits
mailing list