[Mlir-commits] [mlir] [mlir] [presburger] Add IntegerRelation::rangeProduct (PR #148092)
Arjun P
llvmlistbot at llvm.org
Wed Jul 16 08:15:38 PDT 2025
================
@@ -2488,28 +2488,31 @@ IntegerRelation IntegerRelation::rangeProduct(const IntegerRelation &rel) {
assert(getNumDomainVars() == rel.getNumDomainVars() &&
"Range product is only defined for relations with equal domains");
- // explicit copy of the context relation
+ // explicit copy of `this`
IntegerRelation result = *this;
- unsigned srcOffset = getVarKindOffset(VarKind::Range);
- unsigned newNumRangeVars = rel.getNumRangeVars();
+ unsigned relRangeVarStart = rel.getVarKindOffset(VarKind::Range);
----------------
Superty wrote:
Right, makes sense.
https://github.com/llvm/llvm-project/pull/148092
More information about the Mlir-commits
mailing list