[Mlir-commits] [mlir] [tblgen] Use `emitError` for inferResultTypes failures (PR #165488)
Stef Lindall
llvmlistbot at llvm.org
Wed Oct 29 11:38:20 PDT 2025
================
@@ -2681,7 +2681,7 @@ void OpEmitter::genSeparateArgParamBuilder() {
{1}.regions, inferredReturnTypes)))
{1}.addTypes(inferredReturnTypes);
else
- ::mlir::detail::reportFatalInferReturnTypesError({1});
+ ::mlir::detail::emitInferReturnTypesError({1});
----------------
bethebunny wrote:
It's up to the usage, similar to calling `op.verify`
https://github.com/llvm/llvm-project/pull/165488
More information about the Mlir-commits
mailing list