File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/lib/Transforms/Utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1192,12 +1192,12 @@ static void cloneInstructionsIntoPredecessorBlockAndUpdateSSAUses(
11921192 // pred's terminator already has atom info do nothing as merging would drop
11931193 // one atom group anyway. If it doesn't, propagte the remapped atom group
11941194 // from BB's terminator.
1195- if (auto &PredDL = PredBlock-> getTerminator () ->getDebugLoc ()) {
1195+ if (auto &PredDL = PTI ->getDebugLoc ()) {
11961196 auto &DL = BB->getTerminator ()->getDebugLoc ();
11971197 if (!PredDL->getAtomGroup () && DL && DL->getAtomGroup () &&
11981198 PredDL.isSameSourceLocation (DL)) {
1199- PredBlock-> getTerminator () ->setDebugLoc (DL);
1200- RemapSourceAtom (PredBlock-> getTerminator () , VMap);
1199+ PTI ->setDebugLoc (DL);
1200+ RemapSourceAtom (PTI , VMap);
12011201 }
12021202 }
12031203}
You can’t perform that action at this time.
0 commit comments