[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Driver / default-backend-pipelines.f90
blobe6910c170f117941e3c032901e0190ee5a3ed6ae
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
13 integer :: i
14 do i=1,5
15 end do
16 end subroutine