aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveRangeEdit.cpp
diff options
context:
space:
mode:
authorShengchen Kan <shengchen.kan@intel.com>2022-03-16 20:21:25 +0800
committerShengchen Kan <shengchen.kan@intel.com>2022-03-16 20:25:42 +0800
commit37b378386eefab39ef570db6172a8b8e660d7bfb (patch)
tree2ea96dcb5e41e7dacc690037142c475f4d77c7b9 /llvm/lib/CodeGen/LiveRangeEdit.cpp
parent14d1a582093951973a5b94e4aab4d91ef4a0b80d (diff)
downloadllvm-37b378386eefab39ef570db6172a8b8e660d7bfb.zip
llvm-37b378386eefab39ef570db6172a8b8e660d7bfb.tar.gz
llvm-37b378386eefab39ef570db6172a8b8e660d7bfb.tar.bz2
[NFC][CodeGen] Rename some functions in MachineInstr.h and remove duplicated comments
Diffstat (limited to 'llvm/lib/CodeGen/LiveRangeEdit.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveRangeEdit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveRangeEdit.cpp b/llvm/lib/CodeGen/LiveRangeEdit.cpp
index 0576814..58eb411 100644
--- a/llvm/lib/CodeGen/LiveRangeEdit.cpp
+++ b/llvm/lib/CodeGen/LiveRangeEdit.cpp
@@ -371,7 +371,7 @@ void LiveRangeEdit::eliminateDeadDef(MachineInstr *MI, ToShrinkSet &ToShrink,
const MachineOperand &MO = MI->getOperand(i-1);
if (MO.isReg() && Register::isPhysicalRegister(MO.getReg()))
continue;
- MI->RemoveOperand(i-1);
+ MI->removeOperand(i-1);
}
LLVM_DEBUG(dbgs() << "Converted physregs to:\t" << *MI);
} else {