| 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 |