[Mlir-commits] [mlir] [mlir] Allow using non-attribute properties in declarative rewrite patterns (PR #143071)

Jacques Pienaar llvmlistbot at llvm.org
Mon Jun 9 05:42:42 PDT 2025


================
@@ -88,9 +99,18 @@ class DagLeaf {
   // Returns this DAG leaf as a constraint. Asserts if fails.
   Constraint getAsConstraint() const;
 
+  // Returns this DAG leaf as a property constraint. Asserts if fails.
+  PropConstraint getAsPropConstraint() const;
----------------
jpienaar wrote:

Why does properties need to be treated specially compared to other constraints?

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


More information about the Mlir-commits mailing list