This is an archive of the discontinued LLVM Phabricator instance.

[Clang][OpenMP] Enable floating-point operation for `atomic compare` series
ClosedPublic

Authored by tianshilei1992 on Jun 3 2022, 6:36 PM.

Details

Summary

D127041 introduced the support for fmax and fmin such that we can also reprent
atomic compare and atomic compare capture with atomicrmw instruction. This
patch simply lifts the limitation we set before.

Depend on D127041.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Jun 3 2022, 6:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2022, 6:36 PM
tianshilei1992 requested review of this revision.Jun 3 2022, 6:36 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 3 2022, 6:36 PM
This revision is now accepted and ready to land.Jun 4 2022, 11:20 AM

remove unrelated changes

This revision was landed with ongoing or failed builds.Jul 6 2022, 10:05 AM
This revision was automatically updated to reflect the committed changes.
clang/lib/Sema/SemaOpenMP.cpp