[Mlir-commits] [mlir] [MLIR] support dynamic indexing of `vector.maskedload` in `VectorEmulateNarrowTypes` (PR #115070)
Diego Caballero
llvmlistbot at llvm.org
Mon Nov 11 16:44:52 PST 2024
================
@@ -185,6 +188,25 @@ static Value dynamicallyExtractSubVector(OpBuilder &rewriter, Location loc,
return dest;
}
+/// Inserts a 1-D subvector into a 1-D `dest` vector at index `offset`.
+static Value dynamicallyInsertSubVector(RewriterBase &rewriter, Location loc,
+ TypedValue<VectorType> source,
+ Value dest, OpFoldResult destOffsetVar,
----------------
dcaballe wrote:
either update `destOffsetVar` or update `offset` in the doc.
https://github.com/llvm/llvm-project/pull/115070
More information about the Mlir-commits
mailing list