[all-commits] [llvm/llvm-project] 171cac: [mlir][tensor] Fold padding_value away for pack op...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Fri Dec 1 11:13:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 171cac95a7eb1526f4d18bf8f654275656183ce4
      https://github.com/llvm/llvm-project/commit/171cac95a7eb1526f4d18bf8f654275656183ce4
  Author: Han-Chung Wang <hanhan0912 at gmail.com>
  Date:   2023-12-01 (Fri, 01 Dec 2023)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/test/Dialect/Tensor/canonicalize.mlir

  Log Message:
  -----------
  [mlir][tensor] Fold padding_value away for pack ops when possible. (#74005)

If we can infer statically that there are no incomplete tiles, we can
remove the optional padding operand.

Fixes https://github.com/openxla/iree/issues/15417




More information about the All-commits mailing list