[Mlir-commits] [mlir] [MLIR][Presburger] Make IntegerRelation::convertVarKind consistent wi… (PR #67323)

Bharathi Ramana Joshi llvmlistbot at llvm.org
Mon Sep 25 06:00:21 PDT 2023


================
@@ -2260,8 +2273,7 @@ void IntegerRelation::intersectRange(const IntegerPolyhedron &poly) {
 
 void IntegerRelation::inverse() {
   unsigned numRangeVars = getNumVarKind(VarKind::Range);
-  convertVarKind(VarKind::Domain, 0, getVarKindEnd(VarKind::Domain),
-                 VarKind::Range);
+  convertVarKind(VarKind::Domain, 0, getNumDomainVars(), VarKind::Range);
----------------
iambrj wrote:

Okay.

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


More information about the Mlir-commits mailing list