[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


================
@@ -1689,7 +1688,7 @@ class VPWidenIntrinsicRecipe : public VPRecipeWithIRFlags {
   VPWidenIntrinsicRecipe(Intrinsic::ID VectorIntrinsicID,
                          ArrayRef<VPValue *> CallArguments, Type *Ty,
                          DebugLoc DL = {})
-      : VPRecipeWithIRFlags(VPDef::VPWidenIntrinsicSC, CallArguments),
+      : VPRecipeWithIRFlags(VPDef::VPWidenIntrinsicSC, CallArguments, DL),
----------------
fhahn wrote:

does this fixe cases where the debug location wasn't passed before? Does this mean a test is missing?

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


More information about the llvm-commits mailing list