Skip to content

Commit

Permalink
[NFC] Remove unused variable MF
Browse files Browse the repository at this point in the history
https://reviews.llvm.org/D127583 removed the only use of this variable
and broke builds with warnings-as-errors.
  • Loading branch information
hubert-reinterpretcast committed Jun 12, 2022
1 parent 0d108f7 commit 775a22e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1412,8 +1412,6 @@ void RISCVInsertVSETVLI::doLocalPostpass(MachineBasicBlock &MBB) {
}

void RISCVInsertVSETVLI::insertReadVL(MachineBasicBlock &MBB) {
const MachineFunction *MF = MBB.getParent();

for (auto I = MBB.begin(), E = MBB.end(); I != E;) {
MachineInstr &MI = *I++;
if (RISCV::isFaultFirstLoad(MI)) {
Expand Down

0 comments on commit 775a22e

Please sign in to comment.