summaryrefslogtreecommitdiff
path: root/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
commit3b1906f48d0b541e5be0bc1918c94a454e908bc0 (patch)
tree93ae369702fe9d654ccde09aba9f9c0eb51bf2b2 /lib/CodeGen/DeadMachineInstructionElim.cpp
parent9653f9ec970147a12216d787078eab2f8b9c122a (diff)
downloadllvm-3b1906f48d0b541e5be0bc1918c94a454e908bc0.tar.gz
llvm-3b1906f48d0b541e5be0bc1918c94a454e908bc0.tar.bz2
llvm-3b1906f48d0b541e5be0bc1918c94a454e908bc0.tar.xz
more comment updates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DeadMachineInstructionElim.cpp')
-rw-r--r--lib/CodeGen/DeadMachineInstructionElim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/DeadMachineInstructionElim.cpp b/lib/CodeGen/DeadMachineInstructionElim.cpp
index a888e6d71f..b0cb24d95f 100644
--- a/lib/CodeGen/DeadMachineInstructionElim.cpp
+++ b/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);
}
}