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

Krzysztof Drewniak llvmlistbot at llvm.org
Thu Jun 19 21:28:36 PDT 2025


================
@@ -400,6 +400,18 @@ class ConfinedProperty<Property p, Pred pred, string newSummary = "">
   : ConfinedProp<p, pred, newSummary>,
     Deprecated<"moved to shorter name ConfinedProp">;
 
+/// Defines a constant value of type `prop` to be used in pattern matching.
+/// When used as a constraint, forms a matcher that tests that the property is
+/// equal to the given value (and matches any other constraints on the property).
----------------
krzysz00 wrote:

Docs updated

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


More information about the Mlir-commits mailing list