[Mlir-commits] [mlir] [MLIR] Make `OneShotModuleBufferize` use `OpInterface` (PR #110322)

Tzung-Han Juang llvmlistbot at llvm.org
Fri Oct 11 09:08:39 PDT 2024


tzunghanjuang wrote:

Hi, @matthias-springer. I just want to make sure if I update the `ReturnLike` restriction correctly for `FunctionOpInterface`. I would like to make the `verifyBody` in FunctionInterfaces.td check the `ReturnLike` trait and the types. Or is there any other place more appropriate for this change? Thank you.

https://github.com/llvm/llvm-project/blob/67160c5ab5f5b7fd5fa7851abcfde367c8a9f91b/mlir/include/mlir/Interfaces/FunctionInterfaces.td#L80-L87

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


More information about the Mlir-commits mailing list