[Mlir-commits] [mlir] [mlir][affine][Analysis] Add conservative bounds for semi-affine mods (PR #93576)
Benjamin Maxwell
llvmlistbot at llvm.org
Tue Jun 4 11:40:56 PDT 2024
================
@@ -62,6 +60,10 @@ ScalableValueBoundsConstraintSet::computeScalableBound(
int64_t pos = scalableCstr.insert(value, dim, /*isSymbol=*/false);
scalableCstr.processWorklist();
+ // Check the resulting constraints set is valid.
+ if (scalableCstr.cstr.isEmpty())
----------------
MacDue wrote:
I think `.isEmpty()` does the job right now (I was mainly going off the existing value bounds usage). I think this would be fine to replace with `.isEmptyByFMTest()` once your PR lands.
https://github.com/llvm/llvm-project/pull/93576
More information about the Mlir-commits
mailing list