[llvm] fcdb91e - [VPlan] Remove redundant debug location setting in VPInterleaveRecipe::execute. nfc (#146670)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 3 00:52:48 PDT 2025
Author: Mel Chen
Date: 2025-07-03T15:52:45+08:00
New Revision: fcdb91e113467ca10b34a1a43226aa67dee31646
URL: https://github.com/llvm/llvm-project/commit/fcdb91e113467ca10b34a1a43226aa67dee31646
DIFF: https://github.com/llvm/llvm-project/commit/fcdb91e113467ca10b34a1a43226aa67dee31646.diff
LOG: [VPlan] Remove redundant debug location setting in VPInterleaveRecipe::execute. nfc (#146670)
Remove it since we already set debug loc in
VPBasicBlock::executeRecipes.
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
index cffb1cf18ceef..06511b61a67c3 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -3442,10 +3442,6 @@ void VPInterleaveRecipe::execute(VPTransformState &State) {
VPValue *BlockInMask = getMask();
VPValue *Addr = getAddr();
Value *ResAddr = State.get(Addr, VPLane(0));
- if (auto *I = dyn_cast<Instruction>(ResAddr))
- State.setDebugLocFrom(I->getDebugLoc());
-
- State.setDebugLocFrom(getDebugLoc());
Value *PoisonVec = PoisonValue::get(VecTy);
auto CreateGroupMask = [&BlockInMask, &State,
More information about the llvm-commits
mailing list