Skip to content

Commit 7530065

Browse files
committed
insertVSETVLIBeforeCopy -> insertVSETIVLIBeforeCopy
1 parent 88facd4 commit 7530065

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
@@ -922,7 +922,7 @@ class RISCVInsertVSETVLI : public MachineFunctionPass {
922922
VSETVLIInfo getInfoForVSETVLI(const MachineInstr &MI) const;
923923
VSETVLIInfo computeInfoForInstr(const MachineInstr &MI) const;
924924
void forwardVSETVLIAVL(VSETVLIInfo &Info) const;
925-
void insertVSETVLIBeforeCopy(MachineBasicBlock &MBB);
925+
void insertVSETIVLIBeforeCopy(MachineBasicBlock &MBB);
926926
};
927927

928928
} // end anonymous namespace
@@ -1790,7 +1790,7 @@ static bool isRVVCopy(const MachineInstr &MI) {
17901790
return false;
17911791
}
17921792

1793-
void RISCVInsertVSETVLI::insertVSETVLIBeforeCopy(MachineBasicBlock &MBB) {
1793+
void RISCVInsertVSETVLI::insertVSETIVLIBeforeCopy(MachineBasicBlock &MBB) {
17941794
bool NeedVSETVL = true;
17951795

17961796
if (!BlockInfo[MBB.getNumber()].Pred.isUnknown() &&
@@ -1887,7 +1887,7 @@ bool RISCVInsertVSETVLI::runOnMachineFunction(MachineFunction &MF) {
18871887
insertReadVL(MBB);
18881888

18891889
for (MachineBasicBlock &MBB : MF)
1890-
insertVSETVLIBeforeCopy(MBB);
1890+
insertVSETIVLIBeforeCopy(MBB);
18911891

18921892
BlockInfo.clear();
18931893
return HaveVectorOp;

0 commit comments

Comments
 (0)