Skip to content

Commit 8bd144c

Browse files
committed
NFC, Remove setDebugLocFrom
1 parent bc8dad1 commit 8bd144c

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
@@ -3425,10 +3425,6 @@ void VPInterleaveRecipe::execute(VPTransformState &State) {
34253425

34263426
VPValue *Addr = getAddr();
34273427
Value *ResAddr = State.get(Addr, VPLane(0));
3428-
if (auto *I = dyn_cast<Instruction>(ResAddr))
3429-
State.setDebugLocFrom(I->getDebugLoc());
3430-
3431-
State.setDebugLocFrom(getDebugLoc());
34323428
Value *PoisonVec = PoisonValue::get(VecTy);
34333429

34343430
auto CreateGroupMask = [&BlockInMask, &State,

0 commit comments

Comments
 (0)