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

Devang Patel dpatel at apple.com
Thu Dec 8 17:25:04 PST 2011


Author: dpatel
Date: Thu Dec  8 19:25:04 2011
New Revision: 146226

URL: http://llvm.org/viewvc/llvm-project?rev=146226&view=rev
Log:
Fix 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=146226&r1=146225&r2=146226&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineSink.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineSink.cpp Thu Dec  8 19:25:04 2011
@@ -149,11 +149,10 @@
   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.





More information about the llvm-commits mailing list