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

Rohan Yadav llvmlistbot at llvm.org
Mon Aug 5 09:36:30 PDT 2024


rohany wrote:

So is the consensus here to 

1) add function types / function pointers
2) add a `call_indirect` op that accepts a value of a function type
3) add a `call_lib` op that accepts a string as the callee (I'm not sure how this differs much from the current `call_opaque`)
4) add a `instantiate_template` op that has a similar set of arguments as the current `call_opaque` that returns a value of a function type. `instantiate_template` would accept a string as the callee
5) deprecate `call_opaque`

I could embark on this, but I want to make sure that everyone is on board before starting any of the work.

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


More information about the Mlir-commits mailing list