From 8bd144c13ba6f6fabab0186d517dacd499ee08c2 Mon Sep 17 00:00:00 2001 From: Mel Chen Date: Wed, 2 Jul 2025 03:41:31 -0700 Subject: [PATCH] NFC, Remove setDebugLocFrom --- llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp index 24f2d6a83c5e4..1375193181fbc 100644 --- a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp +++ b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp @@ -3425,10 +3425,6 @@ void VPInterleaveRecipe::execute(VPTransformState &State) { VPValue *Addr = getAddr(); Value *ResAddr = State.get(Addr, VPLane(0)); - if (auto *I = dyn_cast(ResAddr)) - State.setDebugLocFrom(I->getDebugLoc()); - - State.setDebugLocFrom(getDebugLoc()); Value *PoisonVec = PoisonValue::get(VecTy); auto CreateGroupMask = [&BlockInMask, &State,