This is an archive of the discontinued LLVM Phabricator instance.

clang/AMDGPU: Define macro for -munsafe-fp-atomics
ClosedPublic

Authored by arsenm on Apr 14 2022, 3:50 PM.

Details

Reviewers
yaxunl
rampitec
Summary

The HIP headers want to use this to swap the implementation of the
function, rather than relying on backend expansion of the generic
atomic instruction.

Diff Detail

Event Timeline

arsenm created this revision.Apr 14 2022, 3:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2022, 3:50 PM
Herald added subscribers: kerbowa, t-tye, tpr and 3 others. · View Herald Transcript
arsenm requested review of this revision.Apr 14 2022, 3:50 PM
rampitec accepted this revision.Apr 14 2022, 3:52 PM

Thanks!

This revision is now accepted and ready to land.Apr 14 2022, 3:52 PM