[all-commits] [llvm/llvm-project] df0560: [HIP] Add atomic load, atomic store and atomic cmp...
Anshil Gandhi via All-commits
all-commits at lists.llvm.org
Mon Nov 29 11:07:51 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: df0560ca00182364e0a786d35adb294c3c98dbd0
https://github.com/llvm/llvm-project/commit/df0560ca00182364e0a786d35adb294c3c98dbd0
Author: Anshil Gandhi <Anshil.Gandhi at amd.com>
Date: 2021-11-29 (Mon, 29 Nov 2021)
Changed paths:
M clang/include/clang/AST/Expr.h
M clang/include/clang/Basic/Builtins.def
M clang/lib/AST/Expr.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/CodeGen/CGAtomic.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGenCUDA/atomic-ops.cu
A clang/test/SemaCUDA/atomic-ops.cu
Log Message:
-----------
[HIP] Add atomic load, atomic store and atomic cmpxchng_weak builtin support in HIP-clang
Introduce `__hip_atomic_load`, `__hip_atomic_store` and `__hip_atomic_compare_exchange_weak`
builtins in HIP.
Reviewed By: yaxunl
Differential Revision: https://reviews.llvm.org/D114553
More information about the All-commits
mailing list