[Mlir-commits] [mlir] [mlir][EmitC] Model lvalues as a type in EmitC (PR #91475)
Marius Brehler
llvmlistbot at llvm.org
Tue Jul 30 12:45:44 PDT 2024
================
@@ -924,9 +943,9 @@ def EmitC_MemberOp : EmitC_Op<"member"> {
let arguments = (ins
Arg<StrAttr, "the member to access">:$member,
- EmitC_OpaqueType:$operand
+ EmitC_LValueOf<[EmitC_OpaqueType]>:$operand
);
- let results = (outs EmitCType);
+ let results = (outs EmitC_LValueOf<[EmitCType]>);
----------------
marbre wrote:
With this change, should we update the example in the op description?
https://github.com/llvm/llvm-project/pull/91475
More information about the Mlir-commits
mailing list