[mlir][vector] Add unrolling pattern for TransposeOp
authorThomas Raoux <thomasraoux@google.com>
Wed, 13 Apr 2022 16:48:36 +0000 (16:48 +0000)
committerThomas Raoux <thomasraoux@google.com>
Wed, 13 Apr 2022 19:44:16 +0000 (19:44 +0000)
commit5b1b7108c8975159c1112ceea1cd7e213e1be97a
tree57309e9eaf4a99830250fa26543620948d77abe8
parent26eec9e9dbc20186f6b810fe01d3a01aac8ae6f4
[mlir][vector] Add unrolling pattern for TransposeOp

Support unrolling for vector.transpose following the same interface as
other vector unrolling ops.

Differential Revision: https://reviews.llvm.org/D123688
mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/lib/Dialect/Vector/Transforms/VectorUnrollDistribute.cpp
mlir/test/Dialect/Vector/vector-unroll-options.mlir
mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp