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

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 10:21:39 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());
----------------
alexey-bataev wrote:

```suggestion
    return new VPWidenCallRecipe(
        CI, Variant, Ops, CI->getDebugLoc());
```


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


More information about the llvm-commits mailing list