[lldb] fix fd leak during lldb testsuite (#118093)
[llvm-project.git] / flang / test / Driver / mllvm_vs_mmlir.f90
blob074843fe993686335155b27b61687759bf1e4891
1 ! Verify that `-mllvm` options are forwarded to LLVM and `-mmlir` to MLIR.
3 ! In practice, '-mmlir --help' is a super-set of '-mllvm --help' and that limits what we can test here. With a better separation of
4 ! LLVM, MLIR and Flang global options, we should be able to write a stricter test.
6 ! RUN: %flang_fc1 -mmlir --help | FileCheck %s --check-prefix=MLIR
7 ! RUN: %flang_fc1 -mllvm --help | FileCheck %s --check-prefix=MLLVM
9 ! MLIR: flang (MLIR option parsing) [options]
10 ! MLIR: --mlir-{{.*}}
12 ! MLLVM: flang (LLVM option parsing) [options]
13 ! MLLVM-NOT: --mlir-{{.*}}