[PATCH] D143175: [SimpleLoopUnswitch] Canonicalize conditions for injection of invariant condition
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 2 05:52:59 PST 2023
mkazantsev created this revision.
mkazantsev added reviewers: apilipenko, reames, nikic, lebedev.ri, fhahn.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
mkazantsev requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When loop condition isn't immediately in the form supported by invariant injection
unswitching, try to canonicalize it to this form.
https://reviews.llvm.org/D143175
Files:
llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
llvm/test/Transforms/SimpleLoopUnswitch/inject-invariant-conditions.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143175.494277.patch
Type: text/x-patch
Size: 8728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230202/4930a8c1/attachment.bin>
More information about the llvm-commits
mailing list