[Mlir-commits] [mlir] [mlir][func]: Introduce ReplaceFuncSignature tranform operation (PR #143381)
Aviad Cohen
llvmlistbot at llvm.org
Mon Jun 16 10:17:17 PDT 2025
AviadCo wrote:
> > The transform can break the IR if call operation exists in the IR, for this reason I set it to operate on Module and not on a function.
>
> What I mean is the transformation _logic_ itself, not the transformation operation. It should be applicable to, e.g., LLVM dialect functions as well. There's no reason why it should be specific to the function dialect functions.
I see.
I tried but I am not sure how to clone a `FunctionOpInterface` and also how to handle its' terminator (func::ReturnOp creation)
https://github.com/llvm/llvm-project/pull/143381
More information about the Mlir-commits
mailing list