[all-commits] [llvm/llvm-project] bf5d30: [mlir][linalg] Add constant padding helper to PadT...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun Jun 13 17:50:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf5d3092f8557301f2e322349880f9f86c884e87
      https://github.com/llvm/llvm-project/commit/bf5d3092f8557301f2e322349880f9f86c884e87
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-06-14 (Mon, 14 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp

  Log Message:
  -----------
  [mlir][linalg] Add constant padding helper to PadTensorOp

* Add a helper function that returns the constant padding value (if applicable).
* Remove existing getConstantYieldValueFromBlock function, which does almost the same.
* Adapted from D103243.

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




More information about the All-commits mailing list