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

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


  Branch: refs/heads/users/matthias-springer/value_bounds_stop_fn_constr
  Home:   https://github.com/llvm/llvm-project
  Commit: db3dde1d9c6e3eb1b85083d1a3545691f47acb7c
      https://github.com/llvm/llvm-project/commit/db3dde1d9c6e3eb1b85083d1a3545691f47acb7c
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-03-21 (Thu, 21 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