Skip to content

Commit b8c7fa0

Browse files
authored
Clean up comments in SimplifyCFG.cpp
1 parent 1dbcca7 commit b8c7fa0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Transforms/Utils/SimplifyCFG.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3387,9 +3387,7 @@ bool SimplifyCFGOpt::speculativelyExecuteBB(BranchInst *BI,
33873387
// Metadata can be dependent on the condition we are hoisting above.
33883388
// Strip all UB-implying metadata on the instruction. Drop the debug loc
33893389
// to avoid making it appear as if the condition is a constant, which would
3390-
// be misleading while debugging. However, make sure to keep debug info
3391-
// for calls as inlinable function calls in a function with debug info must
3392-
// have a !dbg location.
3390+
// be misleading while debugging.
33933391
// Similarly strip attributes that maybe dependent on condition we are
33943392
// hoisting above.
33953393
for (auto &I : make_early_inc_range(*ThenBB)) {

0 commit comments

Comments
 (0)