[all-commits] [llvm/llvm-project] 29dbac: [mlir] Add folding for tensor inputs and memref.ca...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Wed Apr 28 05:37:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29dbac0ae29576176318525c9af65a15429c9466
      https://github.com/llvm/llvm-project/commit/29dbac0ae29576176318525c9af65a15429c9466
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

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

  Log Message:
  -----------
  [mlir] Add folding for tensor inputs and memref.cast in linalg.tiled_loop.

Tensor inputs, if not used in the body of TiledLoopOp, can be removed.
memref::CastOp can be folded into TiledLoopOp as well.

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




More information about the All-commits mailing list