Skip to content

Commit 2b65101

Browse files
abidhtgymnich
andauthored
Update llvm/lib/Transforms/Utils/CodeExtractor.cpp
Co-authored-by: Tim Gymnich <[email protected]>
1 parent 34e30d5 commit 2b65101

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Utils/CodeExtractor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,10 +1303,9 @@ static void fixupDebugInfoPostExtraction(
13031303
// Iterate the debud users of the Input values. If they are in the extracted
13041304
// function then update their location with the new value. If they are in
13051305
// the parent function then create a similar debug record.
1306-
for (auto *DVI : DbgUsers) {
1306+
for (auto *DVI : DbgUsers)
13071307
UpdateOrInsertDebugRecord(DVI, Input, NewVal, Expr,
13081308
isa<DbgDeclareInst>(DVI));
1309-
}
13101309
for (auto *DVR : DPUsers)
13111310
UpdateOrInsertDebugRecord(DVR, Input, NewVal, Expr, DVR->isDbgDeclare());
13121311
}

0 commit comments

Comments
 (0)