[all-commits] [llvm/llvm-project] efa16e: [mlir][linalg][NFC] Simplify padOperandToSmallestS...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Jun 7 00:00:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efa16ee20ac5d22341a767e93175259a1daadaa3
      https://github.com/llvm/llvm-project/commit/efa16ee20ac5d22341a767e93175259a1daadaa3
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp

  Log Message:
  -----------
  [mlir][linalg][NFC] Simplify padOperandToSmallestStaticBoundingBox

The implementation is based on `ValueBoundsOpInterface` to compute upper bounds for tensor dim sizes. It is not necessary to skip over certain ops and reify shape dims; `ValueBoundsOpInterface` already takes care of that.

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


  Commit: 2b7ded215dcd9ecb0ecc606715e41f9e96a8a9c6
      https://github.com/llvm/llvm-project/commit/2b7ded215dcd9ecb0ecc606715e41f9e96a8a9c6
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    M mlir/test/Dialect/Linalg/transform-op-pad.mlir

  Log Message:
  -----------
  [mlir][linalg] Add option to pad Linalg ops to a specified multiple

A multiple (int64_t) can optionally be specified for every padding dimension.

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


Compare: https://github.com/llvm/llvm-project/compare/e9ddb584e801...2b7ded215dcd


More information about the All-commits mailing list