Add a helper function that computes a constant (int64_t) bound. The stopCondition is optional: If none is provided, the traversal continues until a constant bound could be computed.
Depends On: D145806
Paths
| Differential D146296
[mlir][Interfaces] ValueBoundsOpInterface: Compute constant bounds ClosedPublic Authored by springerm on Mar 17 2023, 6:38 AM.
Details Summary Add a helper function that computes a constant (int64_t) bound. The stopCondition is optional: If none is provided, the traversal continues until a constant bound could be computed. Depends On: D145806
Diff Detail
Event Timelinedcaballe added inline comments.
This revision is now accepted and ready to land.Apr 6 2023, 3:37 PM springerm added inline comments.
This revision was landed with ongoing or failed builds.Apr 6 2023, 7:39 PM Closed by commit rG0dc9087ac752: [mlir][Interfaces] ValueBoundsOpInterface: Compute constant bounds (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes. springerm marked 2 inline comments as done.
Revision Contents
Diff 509969 mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h
mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
mlir/test/Dialect/Affine/value-bounds-reification.mlir
mlir/test/Dialect/Tensor/value-bounds-op-interface-impl.mlir
mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp
|
nit: .