[mlir][Vector] Thread 0-d vectors through InsertElementOp.
authorNicolas Vasilache <nicolas.vasilache@gmail.com>
Tue, 23 Nov 2021 12:01:53 +0000 (12:01 +0000)
committerNicolas Vasilache <nicolas.vasilache@gmail.com>
Tue, 23 Nov 2021 12:55:11 +0000 (12:55 +0000)
commit3ff4e5f2a4a6a0e124356b2ad8793270ebbb16c1
treea196983d882b1e4dd51494d3a8cf01b2e5742915
parente7026aba004934cad5487256601af7690757d09f
[mlir][Vector] Thread 0-d vectors through InsertElementOp.

This revision makes concrete use of 0-d vectors to extend the semantics of
InsertElementOp.

Reviewed By: dcaballe, pifon2a

Differential Revision: https://reviews.llvm.org/D114388
mlir/include/mlir/Dialect/Vector/VectorOps.td
mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
mlir/lib/Dialect/Vector/VectorOps.cpp
mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
mlir/test/Dialect/Vector/invalid.mlir
mlir/test/Dialect/Vector/ops.mlir
mlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir