[all-commits] [llvm/llvm-project] b58614: [mlir][tensor] Fold pack and unpack of empty input...

Adam Siemieniuk via All-commits all-commits at lists.llvm.org
Wed May 22 09:01:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b586149475d71440e4ef444f5df34630101bc669
      https://github.com/llvm/llvm-project/commit/b586149475d71440e4ef444f5df34630101bc669
  Author: Adam Siemieniuk <adam.siemieniuk at intel.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/Transforms/Transforms.h
    M mlir/lib/Dialect/Tensor/Transforms/EmptyOpPatterns.cpp
    M mlir/test/Dialect/Tensor/canonicalize.mlir
    M mlir/test/Dialect/Tensor/fold-empty-op.mlir

  Log Message:
  -----------
  [mlir][tensor] Fold pack and unpack of empty input tensor (#92247)

Extends `tensor.empty` folding patterns with pack and unpack consumers
to fold away the operations when their source is empty.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list