[all-commits] [llvm/llvm-project] 6dc972: [mlir][vector] Fix lowering of permutation maps fo...

Thomas via All-commits all-commits at lists.llvm.org
Tue Jan 17 09:04:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6dc9725471e05fe12bd72406f97daca49a47a0c0
      https://github.com/llvm/llvm-project/commit/6dc9725471e05fe12bd72406f97daca49a47a0c0
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransferPermutationMapRewritePatterns.cpp
    M mlir/test/Dialect/Vector/vector-transfer-to-vector-load-store.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/test-transfer-write.mlir

  Log Message:
  -----------
  [mlir][vector] Fix lowering of permutation maps for transfer_write op

The lowering of transfer write permutation maps didn't match the op definition:
https://github.com/llvm/llvm-project/blob/93ccccb00d9717b58ba93f0942a243ba6dac4ef6/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td#L1476

Fix the lowering and add a case to the integration test in
order to enforce the correct semantic.

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




More information about the All-commits mailing list