From 2b1d77355bdeb9b7515b16bdd049c39ed78fca4b Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 9 Dec 2011 01:18:48 +0000 Subject: [PATCH] Update stale comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146220 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineSink.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/CodeGen/MachineSink.cpp b/lib/CodeGen/MachineSink.cpp index dff81093634..c4a533b09b4 100644 --- a/lib/CodeGen/MachineSink.cpp +++ b/lib/CodeGen/MachineSink.cpp @@ -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 -- 2.11.0