[Mlir-commits] [mlir] [MLIR] Fix VectorEmulateNarrowType constant op mask bug (PR #116064)

Diego Caballero llvmlistbot at llvm.org
Wed Nov 13 17:39:00 PST 2024


================
@@ -75,83 +77,137 @@ static FailureOr<Operation *> getCompressedMaskOp(OpBuilder &rewriter,
                                                   int numSrcElemsPerDest,
                                                   int numFrontPadElems = 0) {
 
-  assert(numFrontPadElems < numSrcElemsPerDest && "intraDataOffset must be less than scale");
+  assert(numFrontPadElems < numSrcElemsPerDest &&
+         "intraDataOffset must be less than scale");
----------------
dcaballe wrote:

%s/intraDataOffset/numFrontPadElem/

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


More information about the Mlir-commits mailing list