[VectorOps] Add vector ReshapeOp to the VectorOps dialect.
authorAndy Davis <andydavis@google.com>
Thu, 19 Dec 2019 20:22:35 +0000 (12:22 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 19 Dec 2019 20:27:59 +0000 (12:27 -0800)
commit1d798b1d27fb150de47266b009a414db46344f5a
tree2fa5f7e42ef4f895b25bc9789b7d3a5554761f95
parent1bcd8ef32f8104cc4bbe9e7003cf8a23c51ae24f
[VectorOps] Add vector ReshapeOp to the VectorOps dialect.

Adds vector ReshapeOp to the VectorOps dialect. An aggregate vector reshape operation, which aggregates multiple hardware vectors, can enable optimizations during decomposition (e.g. loading one input hardware vector and performing multiple rotate and scatter store operations to the vector output).

PiperOrigin-RevId: 286440658
mlir/include/mlir/Dialect/VectorOps/VectorOps.td
mlir/lib/Dialect/VectorOps/VectorOps.cpp
mlir/test/Dialect/VectorOps/invalid.mlir
mlir/test/Dialect/VectorOps/ops.mlir