Update stale comment.
authorDevang Patel <dpatel@apple.com>
Fri, 9 Dec 2011 01:18:48 +0000 (01:18 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 9 Dec 2011 01:18:48 +0000 (01:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146220 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineSink.cpp

index dff81093634c78ec317881ecb66c2816557e0810..c4a533b09b4c05a08e45ca33b4d07f2720c2a0a5 100644 (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