This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Only enable mad/mac legacy f32 patterns if denormals may be flushed
ClosedPublic

Authored by foad on Oct 9 2020, 5:38 AM.

Details

Summary

Following on from D88890, this makes the newly added patterns
conditional on NoFP32Denormals. mad/mac f32 instructions always flush
denormals regardless of the MODE register setting, and I believe the
legacy variants do the same.

Diff Detail

Event Timeline

foad created this revision.Oct 9 2020, 5:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 9 2020, 5:38 AM
foad requested review of this revision.Oct 9 2020, 5:38 AM
arsenm accepted this revision.Oct 9 2020, 8:55 AM
This revision is now accepted and ready to land.Oct 9 2020, 8:55 AM
This revision was landed with ongoing or failed builds.Oct 9 2020, 9:18 AM
This revision was automatically updated to reflect the committed changes.