1 ! RUN: %flang_fc1 -emit-hlfir -o - %s | FileCheck %s
3 ! CHECK: #loop_vectorize = #llvm.loop_vectorize<disable = false>
4 ! CHECK: #loop_annotation = #llvm.loop_annotation<vectorize = #loop_vectorize>
6 ! CHECK-LABEL: vector_always
7 subroutine vector_always
10 !CHECK: fir.do_loop {{.*}} attributes {loopAnnotation = #loop_annotation}
14 end subroutine vector_always
17 ! CHECK-LABEL: intermediate_directive
18 subroutine intermediate_directive
22 !CHECK: fir.do_loop {{.*}} attributes {loopAnnotation = #loop_annotation}
26 end subroutine intermediate_directive