Skip to content

Commit ef123e4

Browse files
committed
Rename runOnBasicBlock
1 parent ee39684 commit ef123e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ class RISCVCoalesceVSETVLI : public MachineFunctionPass {
817817
StringRef getPassName() const override { return RISCV_COALESCE_VSETVLI_NAME; }
818818

819819
private:
820-
bool runOnBasicBlock(MachineBasicBlock &MF);
820+
bool coalesceVSETVLIs(MachineBasicBlock &MF);
821821
};
822822

823823
} // end anonymous namespace
@@ -1568,7 +1568,7 @@ static bool canMutatePriorConfig(const MachineInstr &PrevMI,
15681568
return areCompatibleVTYPEs(PriorVType, VType, Used);
15691569
}
15701570

1571-
bool RISCVCoalesceVSETVLI::runOnBasicBlock(MachineBasicBlock &MBB) {
1571+
bool RISCVCoalesceVSETVLI::coalesceVSETVLIs(MachineBasicBlock &MBB) {
15721572
MachineInstr *NextMI = nullptr;
15731573
// We can have arbitrary code in successors, so VL and VTYPE
15741574
// must be considered demanded.
@@ -1767,7 +1767,7 @@ bool RISCVCoalesceVSETVLI::runOnMachineFunction(MachineFunction &MF) {
17671767

17681768
bool Changed = false;
17691769
for (MachineBasicBlock &MBB : MF)
1770-
Changed |= runOnBasicBlock(MBB);
1770+
Changed |= coalesceVSETVLIs(MBB);
17711771

17721772
return Changed;
17731773
}

0 commit comments

Comments
 (0)