[Mlir-commits] [mlir] [MLIR] support dynamic indexing in `VectorEmulateNarrowTypes` (PR #114169)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Nov 3 17:45:29 PST 2024
================
@@ -129,9 +128,17 @@ static FailureOr<Operation *> getCompressedMaskOp(OpBuilder &rewriter,
return newMask;
}
+/// A wrapper function for emitting `vector.extract_strided_slice`. The vector
+/// has to be of 1-D shape.
----------------
lialan wrote:
if I understand correctly, `vector.extract` can extract a single element or the whole innermost dimension, but if we want to operate on a certain part of the inner most dimension then we will have to use `vector.extract_strided_slice`?
Too bad the docs are not super formal so this is how I read it.
https://github.com/llvm/llvm-project/pull/114169
More information about the Mlir-commits
mailing list