[all-commits] [llvm/llvm-project] ad6700: [Transform] Support more case for the transform pa...

qcolombet via All-commits all-commits at lists.llvm.org
Mon May 8 06:47:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad6700b520c742b4748dac02d0fb12b6d47b25f9
      https://github.com/llvm/llvm-project/commit/ad6700b520c742b4748dac02d0fb12b6d47b25f9
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

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

  Log Message:
  -----------
  [Transform] Support more case for the transform pad operation

Don't choke on `outs` arguments that are not produced by `tensor.empty` or
`tensor.extract_slice`.

When the `outs` argument has a static shape we have all the necessary
information to proceed with the padding.

This makes the `transform.structured.pad` a little bit more resilient.

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




More information about the All-commits mailing list