[clang] [Clang] Re-write codegen for atomic_test_and_set and atomic_clear (PR #121943)
Oliver Stannard via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 15 02:57:51 PST 2025
================
@@ -3686,12 +3687,18 @@ ExprResult Sema::BuildAtomicExpr(SourceRange CallRange, SourceRange ExprRange,
C11CmpXchg,
// bool __atomic_compare_exchange(A *, C *, CP, bool, int, int)
- GNUCmpXchg
+ GNUCmpXchg,
+
+ // bool __atomic_test_and_set(A *, int)
+ TestAndSet,
----------------
ostannard wrote:
Done
https://github.com/llvm/llvm-project/pull/121943
More information about the cfe-commits
mailing list