[all-commits] [llvm/llvm-project] 193cef: [mlir][tensor] Adapt FoldTensorCastProducerOp patt...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Tue Dec 6 12:13:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 193cefd1b1f25eec3ea9e9ebd3faaa2e16caabc0
      https://github.com/llvm/llvm-project/commit/193cefd1b1f25eec3ea9e9ebd3faaa2e16caabc0
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2022-12-06 (Tue, 06 Dec 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/IR/TensorBase.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/test/Dialect/Tensor/tiling.mlir

  Log Message:
  -----------
  [mlir][tensor] Adapt FoldTensorCastProducerOp pattern on DPS interface.

This revision adapts the pattern in LinAlg to work on DPS interface, and
adds it to canonicalization patterns of tensor dialect. The
InsertSliceOp is skipped in the pattern because it has its own logic
about folding tensor.cast ops.

Reviewed By: pifon2a

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




More information about the All-commits mailing list