[PATCH] D109645: [LV] Recognize intrinsic min/max reductions
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 13 06:19:02 PDT 2021
dmgreen updated this revision to Diff 372229.
dmgreen added a comment.
On second thoughts, added checks to "llvm.vector.reduce.smax.v2i32" too, to show the reductions. Also added some "fmin/max without fast" reduction test cases, to show they are not vectorized.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109645/new/
https://reviews.llvm.org/D109645
Files:
llvm/include/llvm/Analysis/IVDescriptors.h
llvm/lib/Analysis/IVDescriptors.cpp
llvm/test/Transforms/LoopVectorize/minmax_reduction.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109645.372229.patch
Type: text/x-patch
Size: 9395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210913/88b804ee/attachment.bin>
More information about the llvm-commits
mailing list