[PATCH] D94913: [SLP] match maxnum/minnum intrinsics as FP reduction ops
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 09:39:01 PST 2021
spatel updated this revision to Diff 317380.
spatel added a comment.
Patch updated:
1. Change cost calc to use getMinMaxReductionCost() (this is copied from the existing integer min/max code).
2. Added test coverage/comments to demonstrate FMF constraints.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94913/new/
https://reviews.llvm.org/D94913
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-expanded.ll
llvm/test/Transforms/SLPVectorizer/X86/fmaxnum.ll
llvm/test/Transforms/SLPVectorizer/X86/fminnum.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94913.317380.patch
Type: text/x-patch
Size: 17010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210118/baef9d27/attachment-0001.bin>
More information about the llvm-commits
mailing list