[Mlir-commits] [mlir] mlir: add an operation to EmitC for function template instantiation (PR #100895)

Rohan Yadav llvmlistbot at llvm.org
Fri Aug 2 09:22:20 PDT 2024


rohany wrote:

1) Are we OK with a backwards breaking change to the dialect? @aniragil's suggestion would result in every emitc user of call_opaque having to change their code.
2) Unifying the operations might save some code inside emitc, but it will likely require some duplication of code in any user of emitc using template arguments. They'll probably have to pass around their list of template function arguments to both the instantiate call and the call_indirect op, versus doing it in a single place like it is now.

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


More information about the Mlir-commits mailing list