[LLVM] Fix Maintainers.md formatting (NFC)
[llvm-project.git] / flang / test / Driver / default-backend-pipelines.f90
blob12b929e9fa40f679c44de7153ff554ca45a60966
1 ! Verify that`-O{n}` is indeed taken into account when defining the LLVM backend pass pipeline.
3 ! REQUIRES: aarch64-registered-target
5 ! RUN: %flang_fc1 -S -O2 %s -triple aarch64-unknown-linux-gnu -mllvm -debug-pass=Structure -o /dev/null 2>&1 | FileCheck %s --check-prefix=CHECK-O2
6 ! RUN: %flang_fc1 -S -O3 %s -triple aarch64-unknown-linux-gnu -mllvm -debug-pass=Structure -o /dev/null 2>&1 | FileCheck %s --check-prefix=CHECK-O3
8 ! CHECK-O2-NOT: Optimize selects
10 ! CHECK-O3: Optimize selects
12 subroutine simple_loop
13 integer :: i
14 do i=1,5
15 end do
16 end subroutine