[llvm] [VPlan] Remove redundant debug location setting in VPInterleaveRecipe::execute. nfc (PR #146670)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 2 04:48:32 PDT 2025
================
@@ -3425,10 +3425,6 @@ void VPInterleaveRecipe::execute(VPTransformState &State) {
VPValue *Addr = getAddr();
Value *ResAddr = State.get(Addr, VPLane(0));
- if (auto *I = dyn_cast<Instruction>(ResAddr))
- State.setDebugLocFrom(I->getDebugLoc());
----------------
lukel97 wrote:
Just making a note here, is this strictly NFC? VPBasicBlock::executeRecipes takes the debug location always from the recipe but this seems to copy it from the address. I don't think this is important
https://github.com/llvm/llvm-project/pull/146670
More information about the llvm-commits
mailing list