Skip to content

Commit f1053fc

Browse files
committed
refine comment
1 parent 48c24cf commit f1053fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/RegAllocGreedy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ bool RAGreedy::trySplitAroundHintReg(MCPhysReg Hint,
13861386

13871387
// FIXME: This is miscounting the costs with subregisters. In particular, this
13881388
// should support recognizing SplitKit formed copy bundles instead of direct
1389-
// copy instructions.
1389+
// copy instructions, which will appear in the same block.
13901390
for (const MachineOperand &Opnd : MRI->reg_nodbg_operands(Reg)) {
13911391
const MachineInstr &Instr = *Opnd.getParent();
13921392
if (!Instr.isCopy() || Opnd.isImplicit())

0 commit comments

Comments
 (0)