This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Handle `min(max(x, y), max(min(x, y), z))` in med3 combines
ClosedPublic

Authored by bogner on Dec 6 2022, 10:56 PM.

Diff Detail

Event Timeline

bogner created this revision.Dec 6 2022, 10:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2022, 10:56 PM
bogner requested review of this revision.Dec 6 2022, 10:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2022, 10:56 PM
foad accepted this revision.Dec 6 2022, 11:08 PM

LGTM, thanks!

This revision is now accepted and ready to land.Dec 6 2022, 11:08 PM
This revision was landed with ongoing or failed builds.Dec 6 2022, 11:17 PM
This revision was automatically updated to reflect the committed changes.
arsenm added inline comments.Dec 8 2022, 12:34 PM
llvm/lib/Target/AMDGPU/SIInstructions.td
3287

We seem to be missing the f16 version here