[llvm] [VPlan] Introduce VPWidenIntrinsicRecipe to separate from libcall. (PR #110486)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 8 05:05:44 PDT 2024


================
@@ -8350,9 +8356,9 @@ VPWidenCallRecipe *VPRecipeBuilder::tryToWidenCall(CallInst *CI,
       Ops.insert(Ops.begin() + *MaskPos, Mask);
     }
 
-    return new VPWidenCallRecipe(CI, make_range(Ops.begin(), Ops.end()),
-                                 Intrinsic::not_intrinsic, CI->getDebugLoc(),
-                                 Variant);
+    Ops.push_back(Operands.back());
+    return new VPWidenCallRecipe(
+        CI, Variant, make_range(Ops.begin(), Ops.end()), CI->getDebugLoc());
----------------
fhahn wrote:

Done thanks!

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


More information about the llvm-commits mailing list