[Mlir-commits] [mlir] [mlir][SCF] `ValueBoundsConstraintSet`: Support `scf.if` (branches) (PR #85895)
Benjamin Maxwell
llvmlistbot at llvm.org
Wed Mar 20 03:16:34 PDT 2024
================
@@ -198,6 +198,28 @@ class ValueBoundsConstraintSet {
std::optional<int64_t> dim1 = std::nullopt,
std::optional<int64_t> dim2 = std::nullopt);
+ /// Traverse the IR starting from the given value/dim and add populate
+ /// constraints as long as the currently set stop condition holds. Also
+ /// processes all values/dims that are already on the worklist.
+ void populateConstraints(Value value, std::optional<int64_t> dim);
----------------
MacDue wrote:
Thanks! I'll land it soon :)
https://github.com/llvm/llvm-project/pull/85895
More information about the Mlir-commits
mailing list