[all-commits] [llvm/llvm-project] 305001: [mlir][Interfaces][NFC] `ValueBoundsConstraintSet`...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Mar 21 19:02:40 PDT 2024


  Branch: refs/heads/users/matthias-springer/value_bounds_stop_fn_constr
  Home:   https://github.com/llvm/llvm-project
  Commit: 305001b6211f48e7643c34805e7008126a539b49
      https://github.com/llvm/llvm-project/commit/305001b6211f48e7643c34805e7008126a539b49
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h
    M mlir/lib/Dialect/Affine/Transforms/ReifyValueBounds.cpp
    M mlir/lib/Dialect/Arith/Transforms/ReifyValueBounds.cpp
    M mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
    M mlir/lib/Dialect/SCF/IR/ValueBoundsOpInterfaceImpl.cpp
    M mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
    M mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp

  Log Message:
  -----------
  [mlir][Interfaces][NFC] `ValueBoundsConstraintSet`: Pass stop condition in the constructor

This commit changes the API of `ValueBoundsConstraintSet`: the stop condition is now passed to the constructor instead of `processWorklist`. That makes it easier to add items to the worklist multiple times and process them in a consistent manner. The current `ValueBoundsConstraintSet` is passed as a reference to the stop function, so that the stop function can be defined before the the `ValueBoundsConstraintSet` is constructed.

This change is in preparation of adding support for branches.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list