================ @@ -424,6 +424,10 @@ LogicalResult cir::FuncOp::verifyType() { if (!isa<cir::FuncType>(type)) return emitOpError("requires '" + getFunctionTypeAttrName().str() + "' attribute of function type"); + if (auto rt = type.getReturnTypes(); ---------------- erichkeane wrote:
Is there anywhere that we check that `rt.size() == 1` as a part of the verifier? https://github.com/llvm/llvm-project/pull/128787 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits