[Mlir-commits] [mlir] [openacc][openmp] Add dialect representation for acc atomic operations (PR #65493)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Sep 6 10:04:28 PDT 2023


================
@@ -874,7 +874,7 @@ func.func @omp_atomic_update(%x: memref<i32>, %expr: i32) {
 // -----
 
 func.func @omp_atomic_capture(%x: memref<i32>, %v: memref<i32>, %expr: i32) {
-  // expected-error @below {{expected three operations in omp.atomic.capture region}}
+  // expected-error @below {{expected three operations in atomic.capture region}}
----------------
shraiysh wrote:

nit: please add testcases in `OpenACC/invalid.mlir`.

https://github.com/llvm/llvm-project/pull/65493


More information about the Mlir-commits mailing list