[all-commits] [llvm/llvm-project] c077a4: [mlir][Tensor] Add pattern to fold concats of empt...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Wed Jul 17 09:51:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c077a4f305aa7faf92a1438b239078c1da1563a9
      https://github.com/llvm/llvm-project/commit/c077a4f305aa7faf92a1438b239078c1da1563a9
  Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
  Date:   2024-07-17 (Wed, 17 Jul 2024)

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

  Log Message:
  -----------
  [mlir][Tensor] Add pattern to fold concats of empty. (#98994)

A concatenation of empty tensors can be replaced by a single empty
tensor of the concatenated shape. Add this pattern to
`populateFoldTensorEmptyPatterns`.



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