[all-commits] [llvm/llvm-project] d8804e: [mlir][Interfaces] Better error handling for `addB...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Apr 10 18:10:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8804ecd76db331b622d011f5b72838b25bbf910
      https://github.com/llvm/llvm-project/commit/d8804ecd76db331b622d011f5b72838b25bbf910
  Author: Matthias Springer <springerm at google.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
    M mlir/test/Dialect/Arith/value-bounds-op-interface-impl.mlir

  Log Message:
  -----------
  [mlir][Interfaces] Better error handling for `addBound`

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`).

Differential Revision: https://reviews.llvm.org/D147769




More information about the All-commits mailing list