Skip to content

Commit ce73407

Browse files
authored
Fix MachineInstr::uses() doc. NFC. (#108950)
Uses was documented as register uses, which is not true.
1 parent b222ec1 commit ce73407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/CodeGen/MachineInstr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ class MachineInstr
728728
return make_range(operands_begin(),
729729
operands_begin() + getNumExplicitDefs());
730730
}
731-
/// Returns a range that includes all operands that are register uses.
731+
/// Returns a range that includes all operands which may be register uses.
732732
/// This may include unrelated operands which are not register uses.
733733
iterator_range<mop_iterator> uses() {
734734
return make_range(operands_begin() + getNumExplicitDefs(), operands_end());

0 commit comments

Comments
 (0)