[Mlir-commits] [mlir] [mlir][emitc] Add address-of and dereference ops (PR #72569)
Gil Rapaport
llvmlistbot at llvm.org
Mon Nov 17 07:18:42 PST 2025
================
@@ -185,4 +185,19 @@ class EmitC_LValueOf<list<Type> allowedTypes> :
"::mlir::emitc::LValueType"
>;
+class EmitC_TypesMatchOnElementType<
+ string summary, string lhsArg, string rhsArg, string transformL, string transformR,
+ string comparator = "std::equal_to<>()"
+> : PredOpTrait<summary, CPred<comparator # "(" #
+ !subst("$_self", "$" # lhsArg # ".getType()", transformL) #
+ ", " #
+ !subst("$_self", "$" # rhsArg # ".getType()", transformL) #
----------------
aniragil wrote:
Ah, I indeed ended up not using this trait - removing it.
https://github.com/llvm/llvm-project/pull/72569
More information about the Mlir-commits
mailing list