[Mlir-commits] [mlir] [MLIR][Presburger] add iterVarKind for convenient iterating over variables (PR #152091)

Jeremy Kun llvmlistbot at llvm.org
Tue Aug 5 09:49:51 PDT 2025


================
@@ -268,6 +269,12 @@ class IntegerRelation {
     return space.getVarKindEnd(kind);
   }
 
+  /// Return an interator over the variables of the specified kind
+  /// starting at the relevant offset.
+  auto iterVarKind(VarKind kind) {
----------------
j2kun wrote:

Done

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


More information about the Mlir-commits mailing list