aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ProcessImplicitDefs.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/ProcessImplicitDefs.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/ProcessImplicitDefs.cpp')
-rw-r--r--llvm/lib/CodeGen/ProcessImplicitDefs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ProcessImplicitDefs.cpp b/llvm/lib/CodeGen/ProcessImplicitDefs.cpp
index 440e409..117ee59a 100644
--- a/llvm/lib/CodeGen/ProcessImplicitDefs.cpp
+++ b/llvm/lib/CodeGen/ProcessImplicitDefs.cpp
@@ -125,7 +125,7 @@ void ProcessImplicitDefs::processImplicitDef(MachineInstr *MI) {
// Using instr wasn't found, it could be in another block.
// Leave the physreg IMPLICIT_DEF, but trim any extra operands.
for (unsigned i = MI->getNumOperands() - 1; i; --i)
- MI->RemoveOperand(i);
+ MI->removeOperand(i);
LLVM_DEBUG(dbgs() << "Keeping physreg: " << *MI);
}