[all-commits] [llvm/llvm-project] 4b1420: [mlir][tensor] Centralize pack/unpack related patt...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Sat Dec 30 11:40:53 PST 2023


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

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/IR/Tensor.h
    M mlir/include/mlir/Dialect/Tensor/Transforms/Transforms.h
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/Tensor/Transforms/FoldIntoPackAndUnpackPatterns.cpp
    A mlir/lib/Dialect/Tensor/Transforms/PackAndUnpackPatterns.cpp
    A mlir/test/Dialect/Tensor/simplify-pack-unpack.mlir
    R mlir/test/Dialect/Tensor/simplify-tensor-pack.mlir
    M mlir/test/lib/Dialect/Tensor/TestTensorTransforms.cpp

  Log Message:
  -----------
  [mlir][tensor] Centralize pack/unpack related patterns. (#76603)

The revision moves pack/unpack related patterns to
PackAndUnpackPatterns.cpp. This follows the convention like other tensor
ops.

It also renames `populateSimplifyTensorPack` to
`populateSimplifyPackAndUnpackPatterns` and adds a TODO item for
tensor.unpack op.




More information about the All-commits mailing list