This is an archive of the discontinued LLVM Phabricator instance.

DAG: Add DAG argument to isFPExtFoldable
ClosedPublic

Authored by arsenm on Oct 28 2019, 4:37 PM.

Details

Summary

For AMDGPU this is dependent on the FP mode, which should eventually
not be a property of the subtarget.

Similar to D69521, this is in preparation for switching the default mode to
enable denormals for the default calling convention

Diff Detail

Event Timeline

arsenm created this revision.Oct 28 2019, 4:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 28 2019, 4:37 PM
cameron.mcinally accepted this revision.Oct 30 2019, 7:27 AM
This revision is now accepted and ready to land.Oct 30 2019, 7:27 AM

On second thought specific node context will be useful once there's an ftz flag, but I can add that as separate step