brintos

brintos / llvm-project-archived public Read only

0
0
Text · 897 B · 3f6e1e9 Raw
23 lines · plain
1! Check that -ftime-report flag is passed as-is to fc1. The value of the flag2! is only checked there. This behavior intentionally mirrors that of clang.3!4! RUN: %flang -### -c -ftime-report %s 2>&1 | FileCheck %s --check-prefix=CHECK-DRIVER5 6! TODO: Currently, detailed timing of LLVM IR optimization and code generation7! passes is not supported. When that is done, add more checks here to make sure8! the output is as expected.9 10! RUN: %flang -c -ftime-report -O0 %s 2>&1 | FileCheck %s --check-prefix=CHECK-COMMON11! RUN: %flang -c -ftime-report -O1 %s 2>&1 | FileCheck %s --check-prefix=CHECK-COMMON12 13! CHECK-DRIVER: "-ftime-report"14 15! CHECK-COMMON: Flang execution timing report16! CHECK-COMMON: MLIR generation17! CHECK-COMMON: MLIR translation/optimization18! CHECK-COMMON: LLVM IR generation19! CHECK-COMMON: LLVM IR optimizations20! CHECK-COMMON: Assembly/Object code generation21 22end program23