[all-commits] [llvm/llvm-project] f895e9: [mlir][linalg] Make padding work for rank-reducing...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Dec 13 04:48:09 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f895e9513860243fdbceaa7d323447c3720ac6df
      https://github.com/llvm/llvm-project/commit/f895e9513860243fdbceaa7d323447c3720ac6df
  Author: gysit <gysit at google.com>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

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

  Log Message:
  -----------
  [mlir][linalg] Make padding work for rank-reducing slice ops.

Adapt the computation of a static bounding box to take rank-reducing slice operations into account by filtering out reduced size one dimensions. The revision is needed to make padding work for decomposed convolution operations. The decomposition introduces rank reducing extract slice operations that previously let padding fail.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list