llvm-project/mlir/lib/Dialect/Vector
Stephen Neuendorffer 432341d8a8 [mlir] Handle cases where transfer_read should turn into a scalar load
The existing vector transforms reduce the dimension of transfer_read
ops.  However, beyond a certain point, the vector op actually has
to be reduced to a scalar load, since we can't load a zero-dimension
vector.  This handles this case.

Note that in the longer term, it may be preferaby to support
zero-dimension vectors.  see
https://llvm.discourse.group/t/should-we-have-0-d-vectors/3097.

Differential Revision: https://reviews.llvm.org/D103432
2021-08-03 22:53:40 -07:00
..
CMakeLists.txt [mlir][Vector] NFC - Drop vector EDSC usage 2021-05-19 12:44:38 +00:00
VectorOps.cpp [mlir][vector] Remove vector.transfer_read/write to LLVM lowering 2021-07-17 14:07:27 +09:00
VectorTransferOpTransforms.cpp [mlir][vector] Move transferOp on tensor opt to folder/canonicalization 2021-04-16 08:13:10 -07:00
VectorTransforms.cpp [mlir] Handle cases where transfer_read should turn into a scalar load 2021-08-03 22:53:40 -07:00
VectorUtils.cpp [mlir][vector] Refactor Vector Unrolling and remove Tuple ops 2021-07-07 11:11:26 -07:00