Skip to content

Commit 5fa9bf3

Browse files
Update llvm/lib/CodeGen/MachineInstrBundle.cpp
Co-authored-by: Orlando Cazalet-Hyams <[email protected]>
1 parent fd55d00 commit 5fa9bf3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/CodeGen/MachineInstrBundle.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ llvm::createUnpackMachineBundles(
8383
return new UnpackMachineBundles(std::move(Ftor));
8484
}
8585

86-
/// Return the first good DebugLoc that has line number information, given a
86+
/// Return the first DebugLoc that has line number information, given a
8787
/// range of instructions. The search range is from FirstMI to LastMI
88-
/// (exclusive). If no such DebugLoc is found, get the one with DILocation
88+
/// (exclusive). Otherwise return the first DILocation or an empty location if
89+
/// there are none.
8990
static DebugLoc getDebugLoc(MachineBasicBlock::instr_iterator FirstMI,
9091
MachineBasicBlock::instr_iterator LastMI) {
9192
DebugLoc DL;

0 commit comments

Comments
 (0)