[Mlir-commits] [mlir] [mlir][affine][Analysis] Add conservative bounds for semi-affine mods (PR #93576)
Kunwar Grover
llvmlistbot at llvm.org
Tue Jun 4 04:22:42 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())
+ return failure();
----------------
Groverkss wrote:
nit: braces
https://github.com/llvm/llvm-project/pull/93576
More information about the Mlir-commits
mailing list