[Mlir-commits] [mlir] [mlir][EmitC] Refactor MLIR Translate To Cpp (PR #84973)

Simon Camphausen llvmlistbot at llvm.org
Thu Mar 21 06:32:52 PDT 2024


simon-camp wrote:

> Unfortunately, there is no convenient way to express a member access operator. While this could be added to the dialect, we hesitated to do so, as this is closely related to an lvalue/rvalue discussion we're currently facing (@simon-camp will post an update to this later on discourse). Alongside we would need to add function pointers (related to `func.constant`) and an operation resembling `func.call_indirect`. While adding these two to the dialect is straight forward, it requires some additional work in the emitter.

Here is the mentioned [discourse thread](https://discourse.llvm.org/t/rfc-separate-variables-from-ssa-values-in-emitc/75224).

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


More information about the Mlir-commits mailing list