[all-commits] [llvm/llvm-project] f3f25f: [mlir][linalg] Fix result type in FoldSourceTensor...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Sep 24 00:47:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3f25ffc04c0cbcc9a9bfc1b32b61750e8934ea8
      https://github.com/llvm/llvm-project/commit/f3f25ffc04c0cbcc9a9bfc1b32b61750e8934ea8
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-09-24 (Fri, 24 Sep 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] Fix result type in FoldSourceTensorCast

* Do not discard static result type information that cannot be inferred from lower/upper padding.
* Add optional argument to `PadTensorOp::inferResultType` for specifying known result dimensions.

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




More information about the All-commits mailing list