[PATCH] D154463: [SLPVectorize] Add support for fmaximum/fminimum reduction
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 4 14:10:56 PDT 2023
anna created this revision.
anna added reviewers: ABataev, dmgreen, RKSimon, fhahn.
Herald added subscribers: vporpo, StephenFan, hiraditya.
Herald added a project: All.
anna requested review of this revision.
Herald added subscribers: llvm-commits, wangpc.
Herald added a project: LLVM.
This patch adds support for vectorized reduction of maximum/minimum intrinsics
which are under the appropriate reduction kind.
Added relevant tests for reduction.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154463
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/fmaximum-fminimum.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154463.537176.patch
Type: text/x-patch
Size: 16254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230704/fdb91ef7/attachment.bin>
More information about the llvm-commits
mailing list