[PATCH] D151677: [SimpleLoopUnswitch] Unswitch AND/OR conditions of selects
Joshua Cao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 14 00:14:07 PDT 2023
caojoshua updated this revision to Diff 531216.
caojoshua edited the summary of this revision.
caojoshua added a comment.
- don't change how we handle cost for guards
- don't unswitch logical and/or selects
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151677/new/
https://reviews.llvm.org/D151677
Files:
llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-freeze.ll
llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-select.ll
llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-trivial-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151677.531216.patch
Type: text/x-patch
Size: 19889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230614/3393ae6b/attachment.bin>
More information about the llvm-commits
mailing list