[all-commits] [llvm/llvm-project] a53cd0: [mlir][Vector] Extend xfer drop unit dim patterns

Diego Caballero via All-commits all-commits at lists.llvm.org
Tue May 23 13:59:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a53cd03deac5e6272e9dae88a90cd51410d312d5
      https://github.com/llvm/llvm-project/commit/a53cd03deac5e6272e9dae88a90cd51410d312d5
  Author: Diego Caballero <diegocaballero at google.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
    M mlir/test/Dialect/Vector/vector-transfer-drop-unit-dims-patterns.mlir

  Log Message:
  -----------
  [mlir][Vector] Extend xfer drop unit dim patterns

This patch extends the transfer drop unit dim patterns to support cases where the vector shape should also be reduced
(e.g., transfer_read(memref<1x4x1xf32>, vector<1x4x1xf32>) -> transfer_read(memref<4xf32>, vector<4xf32>).

Reviewed By: hanchung, pzread

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




More information about the All-commits mailing list