[all-commits] [llvm/llvm-project] d57a30: [mlir][Linalg] Fix padding related bugs.

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Mon Feb 8 11:03:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d57a305fdf312920e38500306b7a945c341f73d9
      https://github.com/llvm/llvm-project/commit/d57a305fdf312920e38500306b7a945c341f73d9
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    M mlir/test/Dialect/Linalg/invalid.mlir
    M mlir/test/Dialect/Linalg/tile-and-pad-tensors.mlir
    M mlir/test/lib/Transforms/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][Linalg] Fix padding related bugs.

This revision fixes the fact that the padding transformation did not have enough information to set the proper type for the padding value.
Additionally, the verifier for Yield in the presence of PadTensorOp is fixed to properly report incorrect number of results or operands. Previously, the error would be silently ignored which made the core issue difficult to debug.

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




More information about the All-commits mailing list