================ @@ -714,10 +714,12 @@ def CIR_ReturnOp : CIR_Op<"return", [ // The return operation takes an optional input operand to return. This // value must match the return type of the enclosing function. - let arguments = (ins Variadic<CIR_AnyType>:$input); + let arguments = (ins Variadic<CIR_AnyType>:$input, UnitProp:$is_implicit); ---------------- badumbatish wrote:
hi Hendrik, the `is_implicit` attribute here concerns itself with the `emitImplicitReturn` implementation. Since both paths in the function (void and non-void) can potentially occur, the `is_implicit` can be set for both cases. https://github.com/llvm/llvm-project/pull/174832 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
