[Mlir-commits] [mlir] [mlir][Vectorizer] Added support to Vectorize tensor.unpack (PR #76087)
Diego Caballero
llvmlistbot at llvm.org
Fri Feb 9 09:02:13 PST 2024
================
@@ -1393,6 +1394,130 @@ vectorizeAsLinalgGeneric(RewriterBase &rewriter, VectorizationState &state,
return success();
}
+/// Vectorize an `tensor::UnPackOp` without OuterDimsPerms to these 4 Ops:
+/// Vector::TransferReadOp - Reads the Vector Array of Source data
----------------
dcaballe wrote:
I wouldn't use the word `Array` here. Perhaps we can say...
- "Reads a vector from the source tensor"?
- "Transpose the vector to the destination format"?
- "vector:ShapeCastOp - Reshape ..."
- "Write the result vector back to the destination tensor"?
https://github.com/llvm/llvm-project/pull/76087
More information about the Mlir-commits
mailing list