[PATCH] D78925: [mlir][VectorOps] Extend VectorTransfer lowering to n-D memref with minor identity map

Alex Zinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 06:57:31 PDT 2020


ftynse accepted this revision.
ftynse added inline comments.
This revision is now accepted and ready to land.


================
Comment at: mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp:858
+    // `k` dimensions here.
+    unsigned lastIndex = llvm::size(xferOp.indices()) - 1;
+    Value offsetIndex = *(xferOp.indices().begin() + lastIndex);
----------------
Nit: I don't remember if the transfer_op verifier checks for the list of indices being non-empty


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78925/new/

https://reviews.llvm.org/D78925





More information about the llvm-commits mailing list