[PATCH] D135236: [Clang][OpenMP] Add one missing form of atomic compare capture

Shilei Tian via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 20:58:30 PDT 2022


tianshilei1992 created this revision.
tianshilei1992 added reviewers: jdoerfert, ABataev.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
tianshilei1992 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.

Two nother atomic compare capture forms, `{ v = x; expr-stmt }` and `{ expr-stmt; v = x; }`
where `expr-stmt` could be `cond-expr-stmt` are missing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135236

Files:
  clang/lib/Sema/SemaOpenMP.cpp
  clang/test/OpenMP/atomic_ast_print.cpp
  clang/test/OpenMP/atomic_compare_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135236.465267.patch
Type: text/x-patch
Size: 238221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221005/243c3ebe/attachment-0001.bin>


More information about the cfe-commits mailing list