Skip to content

Commit fcdb91e

Browse files
authored
[VPlan] Remove redundant debug location setting in VPInterleaveRecipe::execute. nfc (#146670)
Remove it since we already set debug loc in VPBasicBlock::executeRecipes.
1 parent b478c38 commit fcdb91e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3442,10 +3442,6 @@ void VPInterleaveRecipe::execute(VPTransformState &State) {
34423442
VPValue *BlockInMask = getMask();
34433443
VPValue *Addr = getAddr();
34443444
Value *ResAddr = State.get(Addr, VPLane(0));
3445-
if (auto *I = dyn_cast<Instruction>(ResAddr))
3446-
State.setDebugLocFrom(I->getDebugLoc());
3447-
3448-
State.setDebugLocFrom(getDebugLoc());
34493445
Value *PoisonVec = PoisonValue::get(VecTy);
34503446

34513447
auto CreateGroupMask = [&BlockInMask, &State,

0 commit comments

Comments
 (0)