Hi, the latest mlir emitc support opaque type
, which we can use to generate self define struct like this.
!emitc.opaque<"MyStruct">
But how to access the struct member using .
? The subscript operator only support []
Hi, the latest mlir emitc support opaque type
, which we can use to generate self define struct like this.
!emitc.opaque<"MyStruct">
But how to access the struct member using .
? The subscript operator only support []
Hey @feiyulv,
This will be possible as soon as [mlir][EmitC] Add member access ops by marbre · Pull Request #98460 · llvm/llvm-project · GitHub lands which adds a emitc.member
operation.
Thank you