Fix comment.

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

View File

@ -149,11 +149,10 @@ MachineSinking::AllUsesDominatedByBlock(unsigned Reg,
assert(TargetRegisterInfo::isVirtualRegister(Reg) && assert(TargetRegisterInfo::isVirtualRegister(Reg) &&
"Only makes sense for vregs"); "Only makes sense for vregs");
// Ignore debug uses because debug info doesn't affect the code.
if (MRI->use_nodbg_empty(Reg)) if (MRI->use_nodbg_empty(Reg))
return true; return true;
// 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 // 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 // into and they are all PHI nodes. In this case, machine-sink must break
// the critical edge first. e.g. // the critical edge first. e.g.