[all-commits] [llvm/llvm-project] ddda52: [mlir][linalg] Lower PadTensorOps with non-constan...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun Jun 13 23:11:46 PDT 2021


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

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

  Log Message:
  -----------
  [mlir][linalg] Lower PadTensorOps with non-constant pad value

The padding of such ops is not generated in a vectorized way. Instead, emit a tensor::GenerateOp.

We may vectorize GenerateOps in the future.

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




More information about the All-commits mailing list