[Mlir-commits] [mlir] [tblgen] Use `emitError` for inferResultTypes failures (PR #165488)

Mehdi Amini llvmlistbot at llvm.org
Sun Nov 16 16:26:40 PST 2025


================
@@ -2681,7 +2681,7 @@ void OpEmitter::genSeparateArgParamBuilder() {
                       {1}.regions, inferredReturnTypes)))
           {1}.addTypes(inferredReturnTypes);
         else
-          ::mlir::detail::reportFatalInferReturnTypesError({1});
+          ::mlir::detail::emitInferReturnTypesError({1});
----------------
joker-eph wrote:

You're not answering my suggestion here, would that work? If not, why?

https://github.com/llvm/llvm-project/pull/165488


More information about the Mlir-commits mailing list