[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:22:26 PDT 2024
================
@@ -71,6 +73,11 @@ ScalableValueBoundsConstraintSet::computeScalableBound(
return p.first != scalableCstr.getVscaleValue() && !isStartingPoint;
};
scalableCstr.projectOut(projectOutFn);
+ // Also project out local variables (these are not tracked by the
+ // ValueBoundsConstraintSet).
+ for (unsigned i = 0; i < scalableCstr.cstr.getNumLocalVars(); ++i) {
+ scalableCstr.cstr.projectOut(scalableCstr.cstr.getNumDimAndSymbolVars());
----------------
MacDue wrote:
(Discussed on Discord)
https://github.com/llvm/llvm-project/pull/93576
More information about the Mlir-commits
mailing list