[mlir][vector] let transfer_read and transfer_write take non-zero addrspace.
authorWen-Heng (Jack) Chung <whchung@gmail.com>
Wed, 29 Apr 2020 15:06:44 +0000 (17:06 +0200)
committerAlex Zinenko <zinenko@google.com>
Wed, 29 Apr 2020 15:11:48 +0000 (17:11 +0200)
commitbe16075bfca4fa62083044b990c760c5d14a2bac
treea42cf1e9c60dd2fc0c648f6cdf054bd4a49aa9f9
parent4649da119aed992dd467f75e95a3ae850f2a1c5c
[mlir][vector] let transfer_read and transfer_write take non-zero addrspace.

Enhance lowering logic and tests so vector.transfer_read and
vector.transfer_write take memrefs on non-zero addrspaces.

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