[all-commits] [llvm/llvm-project] 5b6b2c: [mlir][vector] Handle memory space conflicts in Ve...

Quinn Dawkins via All-commits all-commits at lists.llvm.org
Tue Jul 11 20:27:16 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b6b2caf3c6ec3cdf5565f935263361fbb2013cd
  Author: Quinn Dawkins <quinn at nod-labs.com>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorTransferSplitRewritePatterns.cpp
    M mlir/test/Dialect/Vector/vector-transfer-full-partial-split.mlir

  Log Message:
  [mlir][vector] Handle memory space conflicts in VectorTransferSplit patterns

Currently the transfer splitting patterns will generate an invalid cast
when the source memref for a transfer op has a non-default memory space.
This is handled by first introducing a `memref.memory_space_cast` in
such cases.

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

More information about the All-commits mailing list