[PATCH] D138526: [SimpleLoopUnswitch] unswitch select instructions
Joshua Cao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 16 23:55:51 PDT 2023
caojoshua updated this revision to Diff 514112.
caojoshua added a subscriber: kachkov98.
caojoshua added a comment.
Herald added a subscriber: StephenFan.
Threw away original implementation and took it from https://reviews.llvm.org/D139109. Thanks to @kachkov98 for his work on this, who is listed as a co-author in the commit.
The implementation is mostly copied with small changes and incorporates feedback from reviewers. Took out NFC's for unswitching guards.
Added a bunch of tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138526/new/
https://reviews.llvm.org/D138526
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: D138526.514112.patch
Type: text/x-patch
Size: 41985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230417/b2661c06/attachment.bin>
More information about the llvm-commits
mailing list