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: SVE intrinsics optimizations
10 ! CHECK-O3: SVE intrinsics optimizations
12 subroutine simple_loop