[Mlir-commits] [mlir] [mlir][tblgen] add concrete create methods (PR #147168)

Maksim Levental llvmlistbot at llvm.org
Mon Jul 7 09:55:17 PDT 2025


makslevental wrote:

> Well it's not backward compatible, whether it's an issue or not is TDB :)

Ah gotcha

> But thinking a bit more: can't you automatically generate from TablGen the diff you just showed from the custom builder declaration in ODS (let builders =) and forward to the manual implementation like this diff?
Seems like straightforward isn't it?

Yea that's a good idea - just iterate over the `OpBuilder`s in `let builders`. Cool let me try that.

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


More information about the Mlir-commits mailing list