[Mlir-commits] [mlir] [MLIR] support dynamic indexing of `vector.maskedload` in `VectorEmulateNarrowTypes` (PR #115070)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Nov 6 05:51:55 PST 2024


================
@@ -53,6 +53,7 @@ static FailureOr<Operation *> getCompressedMaskOp(OpBuilder &rewriter,
                                                   Location loc, Value mask,
                                                   int origElements, int scale,
                                                   int intraDataOffset = 0) {
+  assert(intraDataOffset < scale && "intraDataOffset must be less than scale");
----------------
banach-space wrote:

This is not clear from the method name ...

What are `origElements`, `scale` and `intraDataOffset`?

https://github.com/llvm/llvm-project/pull/115070


More information about the Mlir-commits mailing list