[mlir][VectorOps] Extend VectorTransfer lowering to n-D memref with minor identity map
authorNicolas Vasilache <ntv@google.com>
Mon, 27 Apr 2020 13:40:28 +0000 (09:40 -0400)
committerNicolas Vasilache <ntv@google.com>
Mon, 27 Apr 2020 15:20:55 +0000 (11:20 -0400)
commitb2c79c50ed2a870c7fa9538e91e17a3436d7c9dc
tree6287c52a127fb8ee4a1ec10cb65fc95004dc618f
parenta486edd03ae35c31c8b355f28d948bf14a05937c
[mlir][VectorOps] Extend VectorTransfer lowering to n-D memref with minor identity map

Summary: This revision extends the lowering of vector transfers to work with n-D memref and 1-D vector where the permutation map is an identity on the most minor dimensions (1 for now).

Differential Revision: https://reviews.llvm.org/D78925
mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir