This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][GlobalISel] Use scalar min/max instructions
ClosedPublic

Authored by foad on Feb 4 2021, 8:35 AM.

Details

Summary

SALU min/max s32 instructions exist so use them. This means that
regbankselect can handle min/max much like add/sub/mul/shifts.

Diff Detail

Event Timeline

foad created this revision.Feb 4 2021, 8:35 AM
foad requested review of this revision.Feb 4 2021, 8:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2021, 8:35 AM
arsenm accepted this revision.Feb 4 2021, 8:53 AM

I thought I fixed this already

This revision is now accepted and ready to land.Feb 4 2021, 8:53 AM
This revision was landed with ongoing or failed builds.Feb 4 2021, 9:04 AM
This revision was automatically updated to reflect the committed changes.