[Mlir-commits] [mlir] [mlir][Vector] Refactor VectorEmulateNarrowType.cpp (PR #123529)

Alan Li llvmlistbot at llvm.org
Mon Mar 10 09:19:05 PDT 2025


================
@@ -1899,8 +1967,9 @@ struct RewriteAlignedSubByteIntExt : OpRewritePattern<ConversionOpType> {
       return failure();
 
     // Check general alignment preconditions.
-    if (failed(alignedConversionPrecondition(rewriter, srcVecType, dstVecType,
-                                             conversionOp)))
+    Type containerType = rewriter.getI8Type();
----------------
lialan wrote:

Since it is only 1 use, can fold it into subsequent line.

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


More information about the Mlir-commits mailing list