[llvm-branch-commits] [llvm] [KeyInstr][JumpThreading] Remap atoms in blocks duplicated for threading (PR #133486)
Jeremy Morse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Apr 11 13:10:40 PDT 2025
================
@@ -2087,8 +2097,10 @@ void JumpThreadingPass::cloneInstructions(ValueToValueMapTy &ValueMapping,
adaptNoAliasScopes(New, ClonedScopes, Context);
CloneAndRemapDbgInfo(New, &*BI);
+ if (const DebugLoc &DL = New->getDebugLoc())
+ mapAtomInstance(DL, ValueMapping);
- if (RetargetDbgValueIfPossible(New))
+ if (RetargetDbgValueIfPossible(New))
----------------
jmorse wrote:
Accidental whitespace
https://github.com/llvm/llvm-project/pull/133486
More information about the llvm-branch-commits
mailing list