[Mlir-commits] [mlir] [WIP][mlir][EmitC] Model lvalues as a type in EmitC (PR #91475)

Gil Rapaport llvmlistbot at llvm.org
Wed May 15 13:08:16 PDT 2024


================
@@ -1070,7 +1086,7 @@ def EmitC_AssignOp : EmitC_Op<"assign", []> {
     ```
   }];
 
-  let arguments = (ins AnyType:$var, AnyType:$value);
+  let arguments = (ins EmitC_LValueType:$var, AnyType:$value);
----------------
aniragil wrote:

Can $value be restricted using TypesMatchWith to match $var's value type?

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


More information about the Mlir-commits mailing list