[PATCH] D103501: [clang][AIX] Enable inlined quadword atomic operations
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 23 17:02:59 PDT 2021
hubert.reinterpretcast added inline comments.
================
Comment at: clang/test/CodeGen/ppc64-quadword-atomics.c:10
+
+// CHECK-NOT: call void @__atomic_exchange
+// CHECK: +quadword-atomics
----------------
lkail wrote:
> hubert.reinterpretcast wrote:
> > Can you add a link to something that demonstrates that the implementation of `__atomic_exchange` is also lock-free when running on `pwr8` and up?
> https://reviews.llvm.org/D103614#C2646926NL5 All related lock-free codegen is in the parent revision.
That change is for the compiler. I am looking for something that makes the libatomic implementation correspondingly lock-free for this type (even if libatomic needs to be deployable on `pwr7`).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103501/new/
https://reviews.llvm.org/D103501
More information about the cfe-commits
mailing list