[PATCH] D141842: [LoopVectorize] Enable integer Mul and Add as select reduction patterns
Matt Devereau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 16 05:16:06 PST 2023
MattDevereau created this revision.
MattDevereau added a reviewer: sdesmalen.
Herald added subscribers: shiva0217, hiraditya.
Herald added a project: All.
MattDevereau requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.
This patch vectorizes Phi node loop reductions for selects who's condition comes from a floating-point comparison, with its operands being integers for Add, Sub, and Mul reductions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141842
Files:
llvm/lib/Analysis/IVDescriptors.cpp
llvm/test/Transforms/LoopVectorize/if-reduction.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141842.489512.patch
Type: text/x-patch
Size: 6740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230116/e0362b1d/attachment.bin>
More information about the llvm-commits
mailing list