[llvm] [VPlan] Refine the debug location passing for VPWidenIntrinsicRecipe (PR #113887)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 03:48:14 PST 2024


================
@@ -84,8 +84,7 @@ void VPlanTransforms::VPInstructionsToVPRecipes(
         } else if (CallInst *CI = dyn_cast<CallInst>(Inst)) {
           NewRecipe = new VPWidenIntrinsicRecipe(
               *CI, getVectorIntrinsicIDForCall(CI, &TLI),
-              {Ingredient.op_begin(), Ingredient.op_end() - 1}, CI->getType(),
-              CI->getDebugLoc());
----------------
fhahn wrote:

not directly related to this PR, but across the function we should probably use the debug loc of the VPInstruction

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


More information about the llvm-commits mailing list