[all-commits] [llvm/llvm-project] 4ad967: [mlir][Linalg] Allow propagation of pack through m...

Quinn Dawkins via All-commits all-commits at lists.llvm.org
Mon Jul 8 14:24:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ad967851e71efe6671ff9ba2f1c31dd26ca8301
      https://github.com/llvm/llvm-project/commit/4ad967851e71efe6671ff9ba2f1c31dd26ca8301
  Author: Quinn Dawkins <quinn.dawkins at gmail.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
    M mlir/test/Dialect/Linalg/data-layout-propagation.mlir

  Log Message:
  -----------
  [mlir][Linalg] Allow propagation of pack through multi use pad (#98039)

This allows bubbling `tensor.pack` through `tensor.pad` when the pad has
multiple uses. A new pad is created and a `tensor.unpack` is inserted to
connect the packed pad with the new users.

To keep the previous behavior, the layout propagation control function
can be modified to disallow multi-use propagation.



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