[PATCH] D106891: [Remarks] Emit optimization remarks for atomics generating CAS loop
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 13 14:29:15 PDT 2021
rampitec added inline comments.
================
Comment at: clang/test/CodeGenOpenCL/atomics-remarks-gfx90a.cl:33
+float atomic_cas(__global atomic_float *d, float a) {
+ return __opencl_atomic_fetch_add(d, a, memory_order_relaxed, memory_scope_work_group);
+}
----------------
Just combine all the calls into a single function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106891/new/
https://reviews.llvm.org/D106891
More information about the llvm-commits
mailing list