[PATCH] D50756: AMDGPU: Improve extract_vector_elt reduction combine
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 15 01:20:48 PDT 2018
arsenm created this revision.
arsenm added reviewers: FarhanaAleen, rampitec.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.
Handle fmul, fsub and preserve flags.
Also really test minnum/maxnum reductions.
The existing tests were only checking from
minnum/maxnum matched from a fast math compare
and select which is not the same.
https://reviews.llvm.org/D50756
Files:
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/reduction.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50756.160754.patch
Type: text/x-patch
Size: 14217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180815/92543edd/attachment.bin>
More information about the llvm-commits
mailing list