[Mlir-commits] [llvm] [mlir] [mlir][OpenMP] Add __atomic_store to AtomicInfo (PR #121055)
Thirumalai Shaktivel
llvmlistbot at llvm.org
Tue Dec 24 07:50:54 PST 2024
================
@@ -1409,6 +1409,28 @@ llvm.func @omp_atomic_update(%x:!llvm.ptr, %expr: i32, %xbool: !llvm.ptr, %exprb
llvm.return
}
+// ----
+
+//CHECK-LABEL: @atomic_complex_write
+//CHECK: %[[V:.*]] = alloca { float, float }, i64 1, align 8
+//CHECK: %[[X:.*]] = alloca { float, float }, i64 1, align 8
+//CHECK: %[[LOAD:.*]] = load { float, float }, ptr %1, align 4
----------------
Thirumalai-Shaktivel wrote:
```suggestion
//CHECK: %[[LOAD:.*]] = load { float, float }, ptr %[[V]], align 4
```
https://github.com/llvm/llvm-project/pull/121055
More information about the Mlir-commits
mailing list