[all-commits] [llvm/llvm-project] e86169: [mlir][tensor] Add a custom builder for pack op.

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Mon Nov 28 15:19:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e86169f09070b153972094f22f7c6783e08f4e92
      https://github.com/llvm/llvm-project/commit/e86169f09070b153972094f22f7c6783e08f4e92
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp

  Log Message:
  -----------
  [mlir][tensor] Add a custom builder for pack op.

The `paddingValue` and `outerDimsPerm` are optional to the op;
`innerTiles` can be variadic in terms of static sizes and dynamic sizes.
Add a custom builder for building pack op easier.

Reviewed By: mravishankar

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




More information about the All-commits mailing list