This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Disentangle MFMA handling in convertToThreeAddress. NFC.
ClosedPublic

Authored by foad on Mar 1 2022, 1:14 AM.

Details

Summary

Move MFMA handling to the top of convertToThreeAddress and pull
IsF16 calculation out of the switch. I think this makes it clearer
exactly which mac/fmac opcodes are handled, since they are now
listed in the switch with minimal extra clutter.

Diff Detail

Event Timeline

foad created this revision.Mar 1 2022, 1:14 AM
foad requested review of this revision.Mar 1 2022, 1:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2022, 1:14 AM
piotr accepted this revision.Mar 1 2022, 7:08 AM
This revision is now accepted and ready to land.Mar 1 2022, 7:08 AM
This revision was landed with ongoing or failed builds.Mar 1 2022, 9:00 AM
This revision was automatically updated to reflect the committed changes.