[Mlir-commits] [mlir] [mlir][vector][spirv] Lower vector.transfer_read and vector.transfer_write to SPIR-V (PR #69708)
Kai Wang
llvmlistbot at llvm.org
Mon Nov 6 11:51:46 PST 2023
Hsiangkai wrote:
> Depends on your use case, converting to memref.load may not out directly. If you want to read a _vector_ out of a scalar memref, you may need to connect the flow from vector transfer ops to vector.load and then add the missing pattern from vector.load to spirv.load.
Thanks a lot. I can lower to vector.load/maskedload now. I will add patterns from vector.maskedload and vector.load to spirv.load later. I close this PR first.
https://github.com/llvm/llvm-project/pull/69708
More information about the Mlir-commits
mailing list