@@ -13,7 +13,7 @@ func.func @wsfunc(%arg0: !fir.ref<!fir.array<42xi32>>) {
13
13
%3:2 = hlfir.declare %2 (%0 ) {uniq_name = " .tmp.array" } : (!fir.heap <!fir.array <42 xi32 >>, !fir.shape <1 >) -> (!fir.heap <!fir.array <42 xi32 >>, !fir.heap <!fir.array <42 xi32 >>)
14
14
%true = arith.constant true
15
15
%c1 = arith.constant 1 : index
16
- " omp.workshare_loop_wrapper" () ( {
16
+ omp.workshare_loop_wrapper {
17
17
omp.loop_nest (%arg1 ) : index = (%c1 ) to (%c42 ) inclusive step (%c1 ) {
18
18
%7 = hlfir.designate %1#0 (%arg1 ) : (!fir.ref <!fir.array <42 xi32 >>, index ) -> !fir.ref <i32 >
19
19
%8 = fir.load %7 : !fir.ref <i32 >
@@ -23,7 +23,7 @@ func.func @wsfunc(%arg0: !fir.ref<!fir.array<42xi32>>) {
23
23
omp.yield
24
24
}
25
25
omp.terminator
26
- }) : () -> ()
26
+ }
27
27
%4 = fir.undefined tuple <!fir.heap <!fir.array <42 xi32 >>, i1 >
28
28
%5 = fir.insert_value %4 , %true , [1 : index ] : (tuple <!fir.heap <!fir.array <42 xi32 >>, i1 >, i1 ) -> tuple <!fir.heap <!fir.array <42 xi32 >>, i1 >
29
29
%6 = fir.insert_value %5 , %3#0 , [0 : index ] : (tuple <!fir.heap <!fir.array <42 xi32 >>, i1 >, !fir.heap <!fir.array <42 xi32 >>) -> tuple <!fir.heap <!fir.array <42 xi32 >>, i1 >
@@ -52,7 +52,7 @@ func.func @wsfunc(%arg0: !fir.ref<!fir.array<42xi32>>) {
52
52
%3:2 = hlfir.declare %2 (%0 ) {uniq_name = " .tmp.array" } : (!fir.heap <!fir.array <42 xi32 >>, !fir.shape <1 >) -> (!fir.heap <!fir.array <42 xi32 >>, !fir.heap <!fir.array <42 xi32 >>)
53
53
%true = arith.constant true
54
54
%c1 = arith.constant 1 : index
55
- " omp.workshare_loop_wrapper" () ( {
55
+ omp.workshare_loop_wrapper {
56
56
omp.loop_nest (%arg1 ) : index = (%c1 ) to (%c42 ) inclusive step (%c1 ) {
57
57
%7 = hlfir.designate %1#0 (%arg1 ) : (!fir.ref <!fir.array <42 xi32 >>, index ) -> !fir.ref <i32 >
58
58
%8 = fir.load %7 : !fir.ref <i32 >
@@ -64,7 +64,7 @@ func.func @wsfunc(%arg0: !fir.ref<!fir.array<42xi32>>) {
64
64
omp.yield
65
65
}
66
66
omp.terminator
67
- }) : () -> ()
67
+ }
68
68
%4 = fir.undefined tuple <!fir.heap <!fir.array <42 xi32 >>, i1 >
69
69
%5 = fir.insert_value %4 , %true , [1 : index ] : (tuple <!fir.heap <!fir.array <42 xi32 >>, i1 >, i1 ) -> tuple <!fir.heap <!fir.array <42 xi32 >>, i1 >
70
70
%6 = fir.insert_value %5 , %3#0 , [0 : index ] : (tuple <!fir.heap <!fir.array <42 xi32 >>, i1 >, !fir.heap <!fir.array <42 xi32 >>) -> tuple <!fir.heap <!fir.array <42 xi32 >>, i1 >
0 commit comments