[all-commits] [llvm/llvm-project] 87656a: [mlir][linalg] Fold TensorCast into PadTensorOp.

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Jul 19 08:58:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87656a3134c7c03565efca85352a58541ce68789
      https://github.com/llvm/llvm-project/commit/87656a3134c7c03565efca85352a58541ce68789
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

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

  Log Message:
  -----------
  [mlir][linalg] Fold TensorCast into PadTensorOp.

Add pattern to fold a TensorCast into a PadTensorOp if the cast removes static size information.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list