[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


================
@@ -279,6 +299,12 @@ class SymbolInfoMap {
     //   the DAG of the operation, `operandIndexOrNumValues` specifies the
     //   operand index, and `variadicSubIndex` must be set to `std::nullopt`.
     //
+    // * Properties not associated with an operation (ex. as arguments to
+    //   native code) have their corresponding PropConstraint stored in the
+    //   `dag` field,
+    //  and set `operandIndexOrNumValues` to -1 to indicate they aren't part of
----------------
jpienaar wrote:

Does the user of this interface need to know about the sentinel or is this internal only?

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


More information about the Mlir-commits mailing list