xref: /llvm-project/flang/test/Driver/mmlir-opts.f90 (revision 79a5ff45cbda0c3b06b9a566c90407c7264c8692)
1! Verify that registerMLIRContextCLOptions, registerPassManagerCLOptions and
2! registerAsmPrinterCLOptions `-mmlir` options  are available to the driver.
3
4! RUN: %flang_fc1  -mmlir --help | FileCheck %s --check-prefix=MLIR
5
6! MLIR: flang (MLIR option parsing) [options]
7! Registered via registerPassManagerCLOptions
8! MLIR: --mlir-pass-pipeline-local-reproducer
9! Registered via registerAsmPrinterCLOptions
10! MLIR: --mlir-print-local-scope
11! Registered via registerMLIRContextCLOptions
12! MLIR: --mlir-print-op-on-diagnostic
13