[all-commits] [llvm/llvm-project] 9c0dc0: [mlir][Linalg] Fold init_tensor -> linalg.tensor_r...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Mon Jan 11 09:23:09 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c0dc0b2c1cc973056237bdd80dbba749941ea63
      https://github.com/llvm/llvm-project/commit/9c0dc0b2c1cc973056237bdd80dbba749941ea63
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2021-01-11 (Mon, 11 Jan 2021)

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

  Log Message:
  -----------
  [mlir][Linalg] Fold init_tensor -> linalg.tensor_reshape.

Reshaping an init_tensor can be folded to a init_tensor op of the
final type.

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




More information about the All-commits mailing list