This is an archive of the discontinued LLVM Phabricator instance.

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.
The existing tests were only checking from
minnum/maxnum matched from a fast math compare
and select which is not the same.

Diff Detail

Event Timeline

arsenm created this revision.Aug 15 2018, 1:20 AM
This revision is now accepted and ready to land.Aug 15 2018, 2:01 AM
arsenm closed this revision.Aug 15 2018, 2:34 PM

r339820