[llvm-commits] [llvm] r95736 - in /llvm/trunk: include/llvm/CodeGen/MachineBasicBlock.h lib/CodeGen/DeadMachineInstructionElim.cpp

Dale Johannesen dalej at apple.com
Tue Feb 9 16:44:23 PST 2010


Author: johannes
Date: Tue Feb  9 18:44:23 2010
New Revision: 95736

URL: http://llvm.org/viewvc/llvm-project?rev=95736&view=rev
Log:
more comment updates


Modified:
    llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
    llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp

Modified: llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h?rev=95736&r1=95735&r2=95736&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h Tue Feb  9 18:44:23 2010
@@ -338,7 +338,7 @@
                             bool isCond);
 
   /// findDebugLoc - find the next valid DebugLoc starting at MBBI, skipping
-  /// any DEBUG_VALUE instructions.  Return UnknownLoc if there is none.
+  /// any DBG_VALUE instructions.  Return UnknownLoc if there is none.
   DebugLoc findDebugLoc(MachineBasicBlock::iterator &MBBI);
 
   // Debugging methods.

Modified: llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp?rev=95736&r1=95735&r2=95736&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp (original)
+++ llvm/trunk/lib/CodeGen/DeadMachineInstructionElim.cpp Tue Feb  9 18:44:23 2010
@@ -112,7 +112,7 @@
       MachineInstr *MI = &*MII;
 
       if (MI->isDebugValue()) {
-        // Don't delete the DEBUG_VALUE itself, but if its Value operand is
+        // Don't delete the DBG_VALUE itself, but if its Value operand is
         // a vreg and this is the only use, substitute an undef operand;
         // the former operand will then be deleted normally.
         if (MI->getNumOperands()==3 && MI->getOperand(0).isReg()) {
@@ -120,7 +120,7 @@
           MachineRegisterInfo::use_iterator I = MRI->use_begin(Reg);
           assert(I != MRI->use_end());
           if (++I == MRI->use_end())
-            // only one use, which must be this DEBUG_VALUE.
+            // only one use, which must be this DBG_VALUE.
             MI->getOperand(0).setReg(0U);
         }
       }





More information about the llvm-commits mailing list