[flang-commits] [flang] [mlir] [acc] Add firstprivate/private to `acc.kernels` (PR #170387)
Razvan Lupusoru via flang-commits
flang-commits at lists.llvm.org
Tue Dec 2 15:51:42 PST 2025
================
@@ -1600,6 +1653,18 @@ func.func @acc_reduc_test(%a : memref<i64>) -> () {
// CHECK: %[[REDUCTION_A:.*]] = acc.reduction varPtr(%[[ARG0]] : memref<i64>) recipe(@reduction_add_memref_i64) -> memref<i64>
// CHECK-NEXT: acc.serial reduction(%[[REDUCTION_A]] : memref<i64>)
+func.func @acc_kernels_reduc_test(%a : memref<i64>) -> () {
----------------
razvanlupusoru wrote:
Seems there's no line split for this.
Should it be moved up with your other tests? You will need to duplicate the recipe in each split.
https://github.com/llvm/llvm-project/pull/170387
More information about the flang-commits
mailing list