[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
================
@@ -945,9 +964,9 @@ def EmitC_MemberOfPtrOp : EmitC_Op<"member_of_ptr"> {
let arguments = (ins
Arg<StrAttr, "the member to access">:$member,
- AnyTypeOf<[EmitC_OpaqueType,EmitC_PointerType]>:$operand
+ EmitC_LValueOf<[EmitC_OpaqueType,EmitC_PointerType]>:$operand
);
- let results = (outs EmitCType);
+ let results = (outs EmitC_LValueOf<[EmitCType]>);
----------------
marbre wrote:
Same as above, the example could be updated.
https://github.com/llvm/llvm-project/pull/91475
More information about the Mlir-commits
mailing list