diff --git a/flang/lib/Optimizer/CodeGen/Target.cpp b/flang/lib/Optimizer/CodeGen/Target.cpp --- a/flang/lib/Optimizer/CodeGen/Target.cpp +++ b/flang/lib/Optimizer/CodeGen/Target.cpp @@ -291,5 +291,6 @@ } break; } - llvm::report_fatal_error("target not implemented"); + mlir::emitError(mlir::UnknownLoc::get(&context), "target is not supported"); + signalPassFailure(); } diff --git a/llvm/include/llvm/AsmParser/LLToken.h b/llvm/include/llvm/AsmParser/LLToken.h --- a/llvm/include/llvm/AsmParser/LLToken.h +++ b/llvm/include/llvm/AsmParser/LLToken.h @@ -88,7 +88,6 @@ kw_triple, kw_source_filename, kw_unwind, - kw_deplibs, // FIXME: Remove in 4.0 kw_datalayout, kw_volatile, kw_atomic,