diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineBasicBlock.h | 2 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/DeadMachineInstructionElim.cpp | 4 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/llvm/include/llvm/CodeGen/MachineBasicBlock.h b/llvm/include/llvm/CodeGen/MachineBasicBlock.h index 283322b7461..1cb8130e87d 100644 --- a/llvm/include/llvm/CodeGen/MachineBasicBlock.h +++ b/llvm/include/llvm/CodeGen/MachineBasicBlock.h @@ -338,7 +338,7 @@ public:                              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. diff --git a/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp b/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp index a888e6d71fb..b0cb24d95f7 100644 --- a/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp +++ b/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp @@ -112,7 +112,7 @@ bool DeadMachineInstructionElim::runOnMachineFunction(MachineFunction &MF) {        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 @@ bool DeadMachineInstructionElim::runOnMachineFunction(MachineFunction &MF) {            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);          }        } | 

