[Mlir-commits] [mlir] [mlir][Vector] Add utility for computing scalable value bounds (PR #83876)
Matthias Springer
llvmlistbot at llvm.org
Fri Mar 8 05:31:52 PST 2024
================
@@ -265,10 +265,28 @@ class ValueBoundsConstraintSet {
ValueBoundsConstraintSet(MLIRContext *ctx);
+ /// A callback to allow injecting custom value bounds constraints.
+ /// It takes the current value, the dim (or kIndexValue), and a reference to
+ /// the constraints set.
+ using PopulateCustomValueBoundsFn =
----------------
matthias-springer wrote:
I'm wondering if `PopulateCustomValueBoundsFn` is actually needed. We could make `ValueBoundsConstraintSet::addBound` public.
https://github.com/llvm/llvm-project/pull/83876
More information about the Mlir-commits
mailing list