[Mlir-commits] [mlir] [mlir][SCF] `ValueBoundsConstraintSet`: Support `scf.if` (branches) (PR #85895)

Matthias Springer llvmlistbot at llvm.org
Tue Mar 19 22:13:06 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);
----------------
matthias-springer wrote:

Some of this may clash with #83876. I'm going to rebase this PR when #83876 has been merged.


https://github.com/llvm/llvm-project/pull/85895


More information about the Mlir-commits mailing list