[Mlir-commits] [mlir] [mlir][affine][Analysis] Add conservative bounds for semi-affine mods (PR #93576)
Benjamin Maxwell
llvmlistbot at llvm.org
Tue Jun 4 07:03:07 PDT 2024
================
@@ -413,18 +413,22 @@ class SimpleAffineExprFlattener
/// lhs of the mod, floordiv, ceildiv or mul expression and with respect to a
/// symbolic rhs expression. `localExpr` is the simplified tree expression
/// (AffineExpr) corresponding to the quantifier.
- virtual void addLocalIdSemiAffine(AffineExpr localExpr);
+ virtual LogicalResult addLocalIdSemiAffine(ArrayRef<int64_t> lhs,
+ ArrayRef<int64_t> rhs,
+ AffineExpr localExpr);
----------------
MacDue wrote:
These won't _always_ be a `dividend` and `divisor`. This is also called for semi-affine multiplication expressions, which is why these are just `lhs` and `rhs`.
https://github.com/llvm/llvm-project/pull/93576
More information about the Mlir-commits
mailing list