[Mlir-commits] [mlir] [mlir][LLVM] Support `immargs` in LLVM_IntrOpBase intrinsics (PR #73013)

Benjamin Maxwell llvmlistbot at llvm.org
Wed Nov 22 05:04:37 PST 2023


================
@@ -1276,7 +1276,7 @@ struct VectorScalableInsertOpLowering
   matchAndRewrite(vector::ScalableInsertOp insOp, OpAdaptor adaptor,
                   ConversionPatternRewriter &rewriter) const override {
     rewriter.replaceOpWithNewOp<LLVM::vector_insert>(
-        insOp, adaptor.getSource(), adaptor.getDest(), adaptor.getPos());
+        insOp, adaptor.getDest(), adaptor.getSource(), adaptor.getPos());
----------------
MacDue wrote:

(I probably should have made it clear that this intrinsic has a custom `assemblyFormat` :sweat_smile:) 

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


More information about the Mlir-commits mailing list