[llvm] [VPlan] Refine the constructor of VPWidenIntrinsicRecipe. nfc (PR #113890)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 21:21:43 PDT 2024


================
@@ -1489,7 +1489,7 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
                 Ops.push_back(&EVL);
                 return new VPWidenIntrinsicRecipe(Intrinsic::vp_select, Ops,
                                                   TypeInfo.inferScalarType(Sel),
-                                                  false, false, false);
+                                                  Sel->getDebugLoc());
----------------
Mel-Chen wrote:

Yes, maybe need to create new tests similar to `llvm/test/Transforms/LoopVectorize/debugloc.ll` later, I think.

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


More information about the llvm-commits mailing list