Do not assert if a bound could not be added. This may or may not cause an error. We have the appropriate error handling in computeBound (which returns a LogicalResult).
Depends On: D146306
Paths
| Differential D147769
[mlir][Interfaces] Better error handling for `addBound` ClosedPublic Authored by springerm on Apr 7 2023, 12:38 AM.
Details Summary Do not assert if a bound could not be added. This may or may not cause an error. We have the appropriate error handling in computeBound (which returns a LogicalResult). Depends On: D146306
Diff Detail
Event Timelinespringerm mentioned this in D146356: [mlir][linalg] Remove `linalg::getUpperBoundForIndex` util.Apr 7 2023, 12:38 AM springerm added a child revision: D146356: [mlir][linalg] Remove `linalg::getUpperBoundForIndex` util. This revision is now accepted and ready to land.Apr 7 2023, 10:30 AM Closed by commit rGd8804ecd76db: [mlir][Interfaces] Better error handling for `addBound` (authored by springerm). · Explain WhyApr 10 2023, 6:10 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 512299 mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
mlir/test/Dialect/Arith/value-bounds-op-interface-impl.mlir
|