summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-02-10 00:44:23 +0000
committerDale Johannesen <dalej@apple.com>2010-02-10 00:44:23 +0000
commit222c75bea2bc6e4bd0105008bdbb1c6fd4c94ea6 (patch)
tree36210a4c934fe12a783640020e30d4c3eae49ed9 /llvm/lib/CodeGen/DeadMachineInstructionElim.cpp
parentd40d42c9e5e840705e91dd985b684a96e582cb01 (diff)
downloadbcm5719-llvm-222c75bea2bc6e4bd0105008bdbb1c6fd4c94ea6.tar.gz
bcm5719-llvm-222c75bea2bc6e4bd0105008bdbb1c6fd4c94ea6.zip
more comment updates
llvm-svn: 95736
Diffstat (limited to 'llvm/lib/CodeGen/DeadMachineInstructionElim.cpp')
-rw-r--r--llvm/lib/CodeGen/DeadMachineInstructionElim.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}
}
OpenPOWER on IntegriCloud