1 ! This test checks lowering of OpenACC routine directive.
3 ! RUN: bbc -fopenacc -emit-fir %s -o - | FileCheck %s
4 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
8 ! CHECK: acc.routine @acc_routine_1 func(@_QMacc_routinesPacc2)
9 ! CHECK: acc.routine @acc_routine_0 func(@_QMacc_routinesPacc1) seq
11 !$acc routine(acc1) seq
18 ! CHECK-LABEL: func.func @_QMacc_routinesPacc1() attributes {acc.routine_info = #acc.routine_info<[@acc_routine_0]>}
24 ! CHECK-LABEL: func.func @_QMacc_routinesPacc2() attributes {acc.routine_info = #acc.routine_info<[@acc_routine_1]>}