[all-commits] [llvm/llvm-project] 00ac87: [mlir][Vector] Add InsertStridedSliceOp -> Shuffle...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Wed Oct 27 00:58:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00ac874ff605573b1a9c7c5daa707f10a96ff26c
      https://github.com/llvm/llvm-project/commit/00ac874ff605573b1a9c7c5daa707f10a96ff26c
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Vector/VectorInsertExtractStridedSliceRewritePatterns.cpp
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir

  Log Message:
  -----------
  [mlir][Vector] Add InsertStridedSliceOp -> ShuffleOp for the rank-1 cases.

This also fixes the vector.shuffle C++ builder which had an incorrect type assumption that triggers with this new rewrite.
The vector.shuffle semantics were correct though.

Differential revision: https://reviews.llvm.org/D112578




More information about the All-commits mailing list