[Mlir-commits] [mlir] [MLIR] VectorEmulateNarrowType to support loading of unaligned vectors (PR #113411)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Oct 25 14:00:23 PDT 2024


================
@@ -42,8 +43,9 @@ using namespace mlir;
 ///   %mask = [1, 1, 0]
 static FailureOr<Operation *> getCompressedMaskOp(OpBuilder &rewriter,
                                                   Location loc, Value mask,
-                                                  int origElements, int scale) {
-  auto numElements = (origElements + scale - 1) / scale;
+                                                  int origElements, int scale,
+                                                  int frontOffset = 0) {
----------------
lialan wrote:

done.

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


More information about the Mlir-commits mailing list