[all-commits] [llvm/llvm-project] b6ab4f: [mlir][linalg] Fold linalg.pad_tensor if src type ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Jun 15 01:25:38 PDT 2021


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

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir

  Log Message:
  -----------
  [mlir][linalg] Fold linalg.pad_tensor if src type == result type

Fold PadTensorOp to source if source type and result type have static shape and are equal.

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




More information about the All-commits mailing list