[Clang] Make OpenMP offloading consistently use the bound architecture (#125135)
[llvm-project.git] / flang / test / Driver / time-report.f90
blob3f6e1e9f87d9a15a255e8ee4bcc864a9fd7f9f60
1 ! Check that -ftime-report flag is passed as-is to fc1. The value of the flag
2 ! is only checked there. This behavior intentionally mirrors that of clang.
4 ! RUN: %flang -### -c -ftime-report %s 2>&1 | FileCheck %s --check-prefix=CHECK-DRIVER
6 ! TODO: Currently, detailed timing of LLVM IR optimization and code generation
7 ! passes is not supported. When that is done, add more checks here to make sure
8 ! the output is as expected.
10 ! RUN: %flang -c -ftime-report -O0 %s 2>&1 | FileCheck %s --check-prefix=CHECK-COMMON
11 ! RUN: %flang -c -ftime-report -O1 %s 2>&1 | FileCheck %s --check-prefix=CHECK-COMMON
13 ! CHECK-DRIVER: "-ftime-report"
15 ! CHECK-COMMON: Flang execution timing report
16 ! CHECK-COMMON: MLIR generation
17 ! CHECK-COMMON: MLIR translation/optimization
18 ! CHECK-COMMON: LLVM IR generation
19 ! CHECK-COMMON: LLVM IR optimizations
20 ! CHECK-COMMON: Assembly/Object code generation
22 end program