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.
Paths
| Differential D50756
AMDGPU: Improve extract_vector_elt reduction combine ClosedPublic Authored by arsenm on Aug 15 2018, 1:20 AM.
Details
Summary Handle fmul, fsub and preserve flags. Also really test minnum/maxnum reductions.
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 4 others. · View Herald TranscriptAug 15 2018, 1:20 AM This revision is now accepted and ready to land.Aug 15 2018, 2:01 AM
Revision Contents
Diff 160754 lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/reduction.ll
|