[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
================
@@ -2314,6 +2326,7 @@ void JumpThreadingPass::threadThroughTwoBasicBlocks(BasicBlock *PredPredBB,
{DominatorTree::Insert, PredPredBB, NewBB},
{DominatorTree::Delete, PredPredBB, PredBB}});
+ remapSourceAtoms(ValueMapping, NewBB->begin(), NewBB->end());
----------------
jmorse wrote:
I'd say "comment pls", but I suppose the fact there's "source" in the name gives a hint as to what's going on.
https://github.com/llvm/llvm-project/pull/133486
More information about the llvm-branch-commits
mailing list