[all-commits] [llvm/llvm-project] 4d0365: [mlir][tensor] Improve size inference in tiling te...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Thu Feb 23 10:35:20 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d0365101f98061dbaf409c0f390778ef66672e7
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp
    M mlir/test/Dialect/Linalg/generalize-tensor-pack-tile.mlir
    M mlir/test/Dialect/Tensor/tiling.mlir

  Log Message:
  [mlir][tensor] Improve size inference in tiling tensor.pack ops.

The sizes of input operands need being clampled only when there are
incomplete tiles, i.e., the padding value is set. The shape input slice
can be folded into constants when they are static shapes and tiling

Reviewed By: chelini

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

More information about the All-commits mailing list