[Mlir-commits] [mlir] [MLIR] VectorEmulateNarrowType to support loading of unaligned vectors (PR #113411)
Han-Chung Wang
llvmlistbot at llvm.org
Thu Oct 24 12:57:31 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) {
----------------
hanhanW wrote:
nit: please update the function comment.
https://github.com/llvm/llvm-project/pull/113411
More information about the Mlir-commits
mailing list