[all-commits] [llvm/llvm-project] 22f96a: [mlir][vector] Refine vector.transfer_read hoistin...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Tue Sep 12 02:34:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22f96ab6fbf89dfa89faa2aa88cefb485fbd4e21
      https://github.com/llvm/llvm-project/commit/22f96ab6fbf89dfa89faa2aa88cefb485fbd4e21
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
    M mlir/test/Dialect/Linalg/hoisting.mlir
    M mlir/test/Dialect/Vector/vector-transferop-opt.mlir

  Log Message:
  -----------
  [mlir][vector] Refine vector.transfer_read hoisting/forwarding (#65770)

Make sure that when analysing a `vector.transfer_read` that's a
candidate for either hoisting or store-to-load forwarding,
`memref.collapse_shape` Ops are correctly included in the alias
analysis. This is done by either
* making sure that relevant users are taken into account, or
* source Ops are correctly identified.




More information about the All-commits mailing list