[all-commits] [llvm/llvm-project] f740bd: [mlir][Linalg] Modify `InferStaticShapeOfOperands`...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Tue Mar 8 10:55:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f740bdbd2d084bbef52dd08d445497d3ec2ac24e
      https://github.com/llvm/llvm-project/commit/f740bdbd2d084bbef52dd08d445497d3ec2ac24e
  Author: Mahesh Ravishankar <ravishankarm at google.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir
    M mlir/test/Dialect/Linalg/tile-and-fuse-tensors.mlir

  Log Message:
  -----------
  [mlir][Linalg] Modify `InferStaticShapeOfOperands` to work on Linalg Ops.

Commit rG1a2bb03edab9d7aa31beb587d0c863acc6715d27 introduced a pattern
to convert dynamic dimensions in operands of `GenericOp`s to static
values based on indexing maps and shapes of other operands. The logic
is directly usable to any `LinalgOp`. Move that pattern as an
`OpInterfaceRewritePattern`.

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




More information about the All-commits mailing list