[flang-commits] [flang] [mlir] [flang][acc] Ensure all acc.loop get a default parallelism determination mode (PR #143623)

Razvan Lupusoru via flang-commits flang-commits at lists.llvm.org
Tue Jun 10 20:19:18 PDT 2025


================
@@ -151,7 +151,7 @@ program acc_loop
 
 ! CHECK:      acc.loop private(@privatization_ref_10x10xf32 -> %{{.*}} : !fir.ref<!fir.array<10x10xf32>>, @privatization_ref_i32 -> %{{.*}} : !fir.ref<i32>) control(%arg0 : i32) = (%{{.*}} : i32) to (%{{.*}} : i32) step (%{{.*}} : i32) {
 ! CHECK:        acc.yield
-! CHECK-NEXT: } attributes {inclusiveUpperbound = array<i1: true>}
+! CHECK-NEXT: }{{$}}
----------------
razvanlupusoru wrote:

I didn't feel like those attributes were worth checking since they were not relevant for that part of the test. That said, I just restored them and made sure they work with my new changes.

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


More information about the flang-commits mailing list