[all-commits] [llvm/llvm-project] 0aa459: [MLIR][Tensor] Add Destination style RewritePatter...

Amy Wang via All-commits all-commits at lists.llvm.org
Sat Sep 9 03:02:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0aa459fc8ae823308dd964be89928d558663196d
      https://github.com/llvm/llvm-project/commit/0aa459fc8ae823308dd964be89928d558663196d
  Author: Amy Wang <kai.ting.wang at huawei.com>
  Date:   2023-09-09 (Sat, 09 Sep 2023)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir
    M mlir/test/Dialect/Linalg/tile-and-fuse-tensors.mlir
    M mlir/test/Dialect/Linalg/transform-tile-reduction.mlir

  Log Message:
  -----------
  [MLIR][Tensor] Add Destination style RewritePattern for DimOp. (#65780)

This enables canonicalization to fold away unnecessary tensor.dim ops
which in turn enables folding away of other operations, as can be seen
in conv_tensors_dynamic where affine.min operations were folded away.




More information about the All-commits mailing list