1 ! This test checks lowering of worksharing-loop construct with ordered clause.
3 ! RUN: bbc -fopenmp -emit-fir %s -o - | FileCheck %s
5 ! This checks lowering ordered clause specified without parameter
6 subroutine wsloop_ordered_no_para()
9 ! CHECK: omp.wsloop ordered(0) for (%{{.*}}) : i32 = (%{{.*}}) to (%{{.*}}) inclusive step (%{{.*}}) {
23 ! This checks lowering ordered clause specified with a parameter
24 subroutine wsloop_ordered_with_para()
27 ! CHECK: func @_QPwsloop_ordered_with_para() {
28 ! CHECK: omp.wsloop ordered(1) for (%{{.*}}) : i32 = (%{{.*}}) to (%{{.*}}) inclusive step (%{{.*}}) {
34 !!$omp ordered depend(sink: i-1)
36 !!$omp ordered depend(source)