File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,10 @@ end subroutine omp_parallel_sections
39
39
subroutine omp_parallel_sections_allocate (x , y )
40
40
use omp_lib
41
41
integer , intent (inout ) :: x, y
42
+ ! CHECK: omp.parallel
42
43
! CHECK: %[[allocator_1:.*]] = arith.constant 4 : i64
43
- ! CHECK: %[[allocator_2:.*]] = arith.constant 4 : i64
44
- ! CHECK: omp.parallel allocate(
45
- ! CHECK: %[[allocator_2]] : i64 -> %{{.*}} : !fir.ref<i32>) {
46
- ! CHECK: omp.sections allocate(
47
- ! CHECK: %[[allocator_1]] : i64 -> %{{.*}} : !fir.ref<i32>) {
48
- ! $omp parallel sections allocate(omp_high_bw_mem_alloc: x)
44
+ ! CHECK: omp.sections allocate(%[[allocator_1]] : i64 -> %{{.*}} : !fir.ref<i32>) {
45
+ ! $omp parallel sections allocate(omp_high_bw_mem_alloc: x) private(x, y)
49
46
! CHECK: omp.section {
50
47
! $omp section
51
48
x = x + 12
You can’t perform that action at this time.
0 commit comments