[all-commits] [llvm/llvm-project] 0dc908: [mlir][Interfaces] ValueBoundsOpInterface: Compute...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Apr 6 19:39:30 PDT 2023


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

  Changed paths:
    M mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h
    M mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
    M mlir/test/Dialect/Affine/value-bounds-reification.mlir
    M mlir/test/Dialect/Tensor/value-bounds-op-interface-impl.mlir
    M mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp

  Log Message:
  -----------
  [mlir][Interfaces] ValueBoundsOpInterface: Compute constant bounds

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.

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




More information about the All-commits mailing list