From: Devang Patel Date: Fri, 9 Dec 2011 01:25:04 +0000 (+0000) Subject: Fix comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f5b9a74f0a13afe3b7a8388be81e4062b63e4c30;p=oota-llvm.git Fix comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146226 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineSink.cpp b/lib/CodeGen/MachineSink.cpp index c4a533b09b4..3837f6d888d 100644 --- a/lib/CodeGen/MachineSink.cpp +++ b/lib/CodeGen/MachineSink.cpp @@ -149,11 +149,10 @@ MachineSinking::AllUsesDominatedByBlock(unsigned Reg, assert(TargetRegisterInfo::isVirtualRegister(Reg) && "Only makes sense for vregs"); + // Ignore debug uses because debug info doesn't affect the code. if (MRI->use_nodbg_empty(Reg)) 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 // into and they are all PHI nodes. In this case, machine-sink must break // the critical edge first. e.g.