This is an archive of the discontinued LLVM Phabricator instance.

[NFC][Clang][OpenMP] Use switch-case statement to process clauses of atomic directive
ClosedPublic

Authored by tianshilei1992 on Dec 11 2021, 3:07 PM.

Details

Summary

This patch makes the process of clauses of atomic directive more clear
and preparation for the support for atomic compare capture.

Diff Detail

Unit TestsFailed

Event Timeline

tianshilei1992 created this revision.Dec 11 2021, 3:07 PM
tianshilei1992 requested review of this revision.Dec 11 2021, 3:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 11 2021, 3:07 PM

add missing break

This revision is now accepted and ready to land.Dec 13 2021, 8:09 AM
This revision was landed with ongoing or failed builds.Dec 13 2021, 1:20 PM
This revision was automatically updated to reflect the committed changes.
tianshilei1992 reopened this revision.Dec 13 2021, 1:33 PM

Reopen to resolve build error reported by build bolt.

This revision is now accepted and ready to land.Dec 13 2021, 1:33 PM

add all other clauses supported by atomic to fix assertion

This revision was landed with ongoing or failed builds.Dec 13 2021, 4:18 PM
This revision was automatically updated to reflect the committed changes.