[all-commits] [llvm/llvm-project] a3f425: [mlir][linalg] Include InitTensorOp in tiling cano...

Lei Zhang via All-commits all-commits at lists.llvm.org
Fri Oct 1 11:17:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3f425946d33d605c142ef39edf522d9455a4fe5
      https://github.com/llvm/llvm-project/commit/a3f425946d33d605c142ef39edf522d9455a4fe5
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp

  Log Message:
  -----------
  [mlir][linalg] Include InitTensorOp in tiling canonicalization

Tiling can create dim ops and those dim ops can take `InitTensorOp`
as input. Including it in the tiling canonicalization patterns
allows us to fold those dim ops away.

Also sorted the existing ops along the way.

Reviewed By: mravishankar

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




More information about the All-commits mailing list