Skip to content

Commit b644302

Browse files
committed
Fix failing tests
1 parent 29ea13b commit b644302

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

flang/lib/Frontend/CompilerInvocation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static bool ParseFrontendArgs(FrontendOptions &opts, llvm::opt::ArgList &args,
123123
case clang::driver::options::OPT_fsyntax_only:
124124
opts.programAction = ParseSyntaxOnly;
125125
break;
126-
case clang::driver::options::OPT_emit_fir:
126+
case clang::driver::options::OPT_emit_mlir:
127127
opts.programAction = EmitMLIR;
128128
break;
129129
case clang::driver::options::OPT_emit_obj:

flang/test/Driver/driver-help-hidden.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
! CHECK-NEXT: -cpp Enable predefined and command line preprocessor macros
2323
! CHECK-NEXT: -c Only run preprocess, compile, and assemble steps
2424
! CHECK-NEXT: -D <macro>=<value> Define <macro> to <value> (or 1 if <value> omitted)
25-
! CHECK-NEXT: -emit-fir Build the parse tree, then convert to FIR and dump
25+
! CHECK-NEXT: -emit-mlir Build the parse tree, then lower it to MLIR and dump
2626
! CHECK-NEXT: -E Only run the preprocessor
2727
! CHECK-NEXT: -falternative-parameter-statement
2828
! CHECK-NEXT: Enable the old style PARAMETER statement

flang/test/Driver/driver-help.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
! HELP-NEXT: -cpp Enable predefined and command line preprocessor macros
2323
! HELP-NEXT: -c Only run preprocess, compile, and assemble steps
2424
! HELP-NEXT: -D <macro>=<value> Define <macro> to <value> (or 1 if <value> omitted)
25-
! HELP-NEXT: -emit-fir Build the parse tree, then convert to FIR and dump
25+
! HELP-NEXT: -emit-mlir Build the parse tree, then lower it to MLIR and dump
2626
! HELP-NEXT: -E Only run the preprocessor
2727
! HELP-NEXT: -falternative-parameter-statement
2828
! HELP-NEXT: Enable the old style PARAMETER statement
@@ -66,7 +66,7 @@
6666
! HELP-FC1-NEXT:OPTIONS:
6767
! HELP-FC1-NEXT: -cpp Enable predefined and command line preprocessor macros
6868
! HELP-FC1-NEXT: -D <macro>=<value> Define <macro> to <value> (or 1 if <value> omitted)
69-
! HELP-FC1-NEXT: -emit-fir Build the parse tree, then convert to FIR and dump
69+
! HELP-FC1-NEXT: -emit-mlir Build the parse tree, then lower it to MLIR and dump
7070
! HELP-FC1-NEXT: -emit-obj Emit native object files
7171
! HELP-FC1-NEXT: -E Only run the preprocessor
7272
! HELP-FC1-NEXT: -falternative-parameter-statement

flang/test/Driver/emit-fir.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! RUN: %flang_fc1 -emit-fir %s -o - | FileCheck %s
1+
! RUN: %flang_fc1 -emit-mlir %s -o - | FileCheck %s
22

33
! CHECK: module attributes {
44
! CHECK-LABEL: func @_QQmain() {

0 commit comments

Comments
 (0)