[all-commits] [llvm/llvm-project] 6ad31c: [mlir][vector] Support N-D vector in InsertMap/Ext...

Thomas via All-commits all-commits at lists.llvm.org
Fri Nov 13 12:40:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ad31c0f4a6192e216ac9137dc093a8268ae11b1
      https://github.com/llvm/llvm-project/commit/6ad31c0f4a6192e216ac9137dc093a8268ae11b1
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2020-11-13 (Fri, 13 Nov 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/VectorOps.td
    M mlir/include/mlir/Dialect/Vector/VectorTransforms.h
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    M mlir/lib/Dialect/Vector/VectorTransforms.cpp
    M mlir/test/Dialect/Vector/invalid.mlir
    M mlir/test/Dialect/Vector/ops.mlir
    M mlir/test/Dialect/Vector/vector-distribution.mlir
    M mlir/test/lib/Transforms/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][vector] Support N-D vector in InsertMap/ExtractMap op

Support multi-dimension vector for InsertMap/ExtractMap op and update the
transformations. Currently the relation between IDs and dimension is implicitly
deduced from the types. We can then calculate an AffineMap based on it. In the
future the AffineMap could be part of the operation itself.

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




More information about the All-commits mailing list