This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Handle legacy multiply-accumulate opcodes in convertToThreeAddress
ClosedPublic

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

Details

Summary

Handle V_MAC_LEGACY_F32 and V_FMAC_LEGACY_F32 in
convertToThreeAddress, to avoid the need for an extra mov
instruction in some cases.

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:15 AM
This revision is now accepted and ready to land.Mar 1 2022, 7:15 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.