[llvm] [VPlan] Remove redundant debug location setting in VPInterleaveRecipe::execute. nfc (PR #146670)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 3 00:49:38 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());
----------------
Mel-Chen wrote:
This patch didn't actually touch any debug locs.
I just realized it was probably https://github.com/llvm/llvm-project/pull/144864 that modified the address debug loc. Perhaps we could revert to using the debug location from Addr, if necessary.
https://github.com/llvm/llvm-project/pull/146670
More information about the llvm-commits
mailing list