[llvm-branch-commits] [mlir] [mlir][Interfaces][NFC] `ValueBoundsConstraintSet`: Pass stop condition in the constructor (PR #86099)
Matthias Springer via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Mar 21 19:03:20 PDT 2024
================
@@ -316,6 +317,9 @@ class ValueBoundsConstraintSet {
/// Builder for constructing affine expressions.
Builder builder;
+
+ /// The current stop condition function.
+ StopConditionFn stopCondition = nullptr;
----------------
matthias-springer wrote:
Actually I ran into this exact issue in the past (in a different part of the codebase) and it was difficult to debug. Changed it to `std::function`.
https://github.com/llvm/llvm-project/pull/86099
More information about the llvm-branch-commits
mailing list