aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2021-12-08 20:35:33 -0800
committerMircea Trofin <mtrofin@google.com>2021-12-08 20:36:13 -0800
commitb012742405cb0cdfed3d5ab4774d7d961c380b1a (patch)
treebda8863e0f6dfc9b4018ef1e157b9a449a9eddc3 /llvm/lib/CodeGen/MachineCombiner.cpp
parentc23ebf17140cc4fd42117f3bfb8cb045279d0c4d (diff)
downloadllvm-b012742405cb0cdfed3d5ab4774d7d961c380b1a.zip
llvm-b012742405cb0cdfed3d5ab4774d7d961c380b1a.tar.gz
llvm-b012742405cb0cdfed3d5ab4774d7d961c380b1a.tar.bz2
[NFC] Rename MachineFunction::deleteMachineInstr (coding style)
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineCombiner.cpp b/llvm/lib/CodeGen/MachineCombiner.cpp
index 0f94d25..72ab9ee 100644
--- a/llvm/lib/CodeGen/MachineCombiner.cpp
+++ b/llvm/lib/CodeGen/MachineCombiner.cpp
@@ -693,7 +693,7 @@ bool MachineCombiner::combineInstructions(MachineBasicBlock *MBB) {
// use for them.
MachineFunction *MF = MBB->getParent();
for (auto *InstrPtr : InsInstrs)
- MF->DeleteMachineInstr(InstrPtr);
+ MF->deleteMachineInstr(InstrPtr);
}
InstrIdxForVirtReg.clear();
}