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(
1192
1192
// pred's terminator already has atom info do nothing as merging would drop
1193
1193
// one atom group anyway. If it doesn't, propagte the remapped atom group
1194
1194
// from BB's terminator.
1195
- if (auto &PredDL = PredBlock-> getTerminator () ->getDebugLoc ()) {
1195
+ if (auto &PredDL = PTI ->getDebugLoc ()) {
1196
1196
auto &DL = BB->getTerminator ()->getDebugLoc ();
1197
1197
if (!PredDL->getAtomGroup () && DL && DL->getAtomGroup () &&
1198
1198
PredDL.isSameSourceLocation (DL)) {
1199
- PredBlock-> getTerminator () ->setDebugLoc (DL);
1200
- RemapSourceAtom (PredBlock-> getTerminator () , VMap);
1199
+ PTI ->setDebugLoc (DL);
1200
+ RemapSourceAtom (PTI , VMap);
1201
1201
}
1202
1202
}
1203
1203
}
You can’t perform that action at this time.
0 commit comments