[Mlir-commits] [mlir] [RFC][mlir][func] Enforce func.return as sole terminator in func.func regions (PR #184778)

Henrich Lauko llvmlistbot at llvm.org
Thu Mar 5 05:30:19 PST 2026


xlauko wrote:

As I noted earlier in https://github.com/llvm/llvm-project/pull/184153#discussion_r2882135803
, this ultimately forces others to duplicate `func.func` if they want custom return operations with additional properties or operands.

Isn't `func` dialect meant to be more general? What is the motivation to close this for other extensions?

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


More information about the Mlir-commits mailing list