joker-eph wrote: Can you please update the PR description to describe the motivation? (Mentioning also that this allows func.func to have a custom ReturnLike terminator that consumes non-returned operands). https://github.com/llvm/llvm-project/pull/186832