[PATCH] D151701: [HIP] Add missing __hip_atomic_fetch_sub support

Luke Drummond via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 30 04:11:21 PDT 2023


ldrumm created this revision.
ldrumm added reviewers: yaxunl, nikic, gandhi21299.
Herald added a subscriber: StephenFan.
Herald added a project: All.
ldrumm requested review of this revision.
Herald added a project: clang.

The rest of the fetch/op intrinsics were added in e13246a2ec3 <https://reviews.llvm.org/rGe13246a2ec3dfc13838d43099ca9111c780d2c5e> but sub was conspicuous by its absence.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151701

Files:
  clang/include/clang/Basic/Builtins.def
  clang/lib/AST/Expr.cpp
  clang/lib/CodeGen/CGAtomic.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/test/CodeGenCUDA/atomic-ops.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151701.526572.patch
Type: text/x-patch
Size: 16777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230530/461301dc/attachment-0001.bin>


More information about the cfe-commits mailing list