[llvm-commits] [llvm] r146220 - /llvm/trunk/lib/CodeGen/MachineSink.cpp

Devang Patel dpatel at apple.com
Thu Dec 8 17:18:48 PST 2011


Author: dpatel
Date: Thu Dec  8 19:18:48 2011
New Revision: 146220

URL: http://llvm.org/viewvc/llvm-project?rev=146220&view=rev
Log:
Update stale comment.

Modified:
    llvm/trunk/lib/CodeGen/MachineSink.cpp

Modified: llvm/trunk/lib/CodeGen/MachineSink.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineSink.cpp?rev=146220&r1=146219&r2=146220&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineSink.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineSink.cpp Thu Dec  8 19:18:48 2011
@@ -152,10 +152,7 @@
   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





More information about the llvm-commits mailing list