[Mlir-commits] [mlir] [mlir][OpenMP] Standardise representation of reduction clause (PR #96215)

Sergio Afonso llvmlistbot at llvm.org
Wed Jun 26 05:52:45 PDT 2024


================
@@ -2247,8 +2285,26 @@ func.func @omp_taskloop(%lb: i32, %ub: i32, %step: i32) -> () {
     }
   }
 
-  // CHECK: omp.taskloop reduction(@add_f32 -> %{{.+}} : !llvm.ptr, @add_f32 -> %{{.+}} : !llvm.ptr) {
-  omp.taskloop reduction(@add_f32 -> %testf32 : !llvm.ptr, @add_f32 -> %testf32_2 : !llvm.ptr) {
+  // checking byref attribute for in_reduction
----------------
skatrak wrote:

```suggestion
  // Checking byref attribute for in_reduction
```

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


More information about the Mlir-commits mailing list