This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Prefer fmac over fma when selecting FMA_W_CHAIN
ClosedPublic

Authored by foad on Sep 20 2021, 7:50 AM.

Details

Summary

FMA_W_CHAIN is used when lowering fdiv f32. Prefer to select it to fmac
if there are no source modifiers, just like we do for other mad/mac and
fma/fmac cases.

Diff Detail

Event Timeline

foad created this revision.Sep 20 2021, 7:50 AM
foad requested review of this revision.Sep 20 2021, 7:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 20 2021, 7:50 AM
rampitec accepted this revision.Sep 20 2021, 4:49 PM
This revision is now accepted and ready to land.Sep 20 2021, 4:49 PM
This revision was landed with ongoing or failed builds.Sep 21 2021, 4:03 AM
This revision was automatically updated to reflect the committed changes.