[Mlir-commits] [mlir] [mlir][EmitC] Add member access ops (PR #98460)
Jacques Pienaar
llvmlistbot at llvm.org
Sat Jul 13 05:44:01 PDT 2024
================
@@ -908,6 +908,48 @@ def EmitC_SubOp : EmitC_BinaryOp<"sub", [CExpression]> {
let hasVerifier = 1;
}
+def EmitC_MemberOp : EmitC_Op<"member"> {
+ let summary = "Member operation";
+ let description = [{
+ With the `member` operation the member access operator `.` can be
+ applied.
+
+ Example:
----------------
jpienaar wrote:
This is more just what the ops syntax looks like rather than an example to me. That is, if one didn't know what the op would generate then this doesn't help.
https://github.com/llvm/llvm-project/pull/98460
More information about the Mlir-commits
mailing list