Skip to content

Commit 8f415b0

Browse files
committed
Improved a comment.
1 parent f7945c5 commit 8f415b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/CodeGen/MachineBasicBlock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,8 @@ class MachineBasicBlock
846846

847847
/// Return the first instruction in MBB after I that is not a PHI, label or
848848
/// debug. This is the correct point to insert copies at the beginning of a
849-
/// basic block. \p Reg is the register being defined for a spill/split during
850-
/// register allocation.
849+
/// basic block. \p Reg is the register being used by a spill or defined for a
850+
/// restore/split during register allocation.
851851
iterator SkipPHIsLabelsAndDebug(iterator I, Register Reg = Register(),
852852
bool SkipPseudoOp = true);
853853

0 commit comments

Comments
 (0)