Update stale comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146220 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2011-12-09 01:18:48 +00:00
parent 2dd0353fec
commit 2b1d77355b

View File

@ -152,10 +152,7 @@ MachineSinking::AllUsesDominatedByBlock(unsigned Reg,
if (MRI->use_nodbg_empty(Reg))
return true;
// Ignoring debug uses is necessary so debug info doesn't affect the code.
// This may leave a referencing dbg_value in the original block, before
// the definition of the vreg. Dwarf generator handles this although the
// user might not get the right info at runtime.
// Ignoring debug uses because debug info doesn't affect the code.
// BreakPHIEdge is true if all the uses are in the successor MBB being sunken
// into and they are all PHI nodes. In this case, machine-sink must break