[Mlir-commits] [mlir] add iterVarKind for convenient iterating over variables (PR #152091)
Arjun P
llvmlistbot at llvm.org
Tue Aug 5 09:10:57 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) {
----------------
Superty wrote:
could you write a note saying the return type is auto in keeping with the convention for iterators or whatever
https://github.com/llvm/llvm-project/pull/152091
More information about the Mlir-commits
mailing list