[Mlir-commits] [mlir] [mlir][affine|ValueBounds] Add transform to simplify affine min max ops with ValueBoundsOpInterface (PR #145068)
Nicolas Vasilache
llvmlistbot at llvm.org
Sat Jun 21 00:55:18 PDT 2025
================
@@ -127,6 +129,23 @@ OpFoldResult materializeComputedBound(
OpBuilder &b, Location loc, AffineMap boundMap,
ArrayRef<std::pair<Value, std::optional<int64_t>>> mapOperands);
+/// Tries to simplify all affine min or max operations under `topOp`. The
+/// transform works by finding disjoint sets of affine result expressions
+/// bounded by a common affine expression on the min/max operation. It populates
+/// `modifiedOps` with all the operations modified by the transform/
----------------
nicolasvasilache wrote:
```suggestion
/// `modifiedOps` with all the operations modified by the transform.
```
https://github.com/llvm/llvm-project/pull/145068
More information about the Mlir-commits
mailing list