We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd55d00 commit 5fa9bf3Copy full SHA for 5fa9bf3
llvm/lib/CodeGen/MachineInstrBundle.cpp
@@ -83,9 +83,10 @@ llvm::createUnpackMachineBundles(
83
return new UnpackMachineBundles(std::move(Ftor));
84
}
85
86
-/// Return the first good DebugLoc that has line number information, given a
+/// Return the first DebugLoc that has line number information, given a
87
/// range of instructions. The search range is from FirstMI to LastMI
88
-/// (exclusive). If no such DebugLoc is found, get the one with DILocation
+/// (exclusive). Otherwise return the first DILocation or an empty location if
89
+/// there are none.
90
static DebugLoc getDebugLoc(MachineBasicBlock::instr_iterator FirstMI,
91
MachineBasicBlock::instr_iterator LastMI) {
92
DebugLoc DL;
0 commit comments