This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Consistently use v2i16 for packed bf16 inputs. NFC.
ClosedPublic

Authored by foad on Mar 29 2023, 5:12 AM.

Diff Detail

Event Timeline

foad created this revision.Mar 29 2023, 5:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2023, 5:12 AM
foad requested review of this revision.Mar 29 2023, 5:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2023, 5:12 AM
foad added inline comments.Mar 29 2023, 5:16 AM
llvm/lib/Target/AMDGPU/FLATInstructions.td
735–736

FPAtomic is usually deduced from the type, so I override it here to ensure NFC.

However it is only used by the hazard detection code for "FPAtomicToDenormModeHazard" which is GFX10-only, and GFX10 does not have these instructions, so perhaps I should not bother to override FPAtomic here?

This revision is now accepted and ready to land.Mar 29 2023, 10:48 AM
This revision was landed with ongoing or failed builds.Mar 29 2023, 12:33 PM
This revision was automatically updated to reflect the committed changes.