Skip to content

Commit 23f2074

Browse files
committed
Fix comment
1 parent 9240f37 commit 23f2074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1698,7 +1698,7 @@ void RISCVInsertVSETVLI::coalesceVSETVLIs(MachineBasicBlock &MBB) const {
16981698
MI.getOperand(0).setReg(DefReg);
16991699
MI.getOperand(0).setIsDead(false);
17001700

1701-
// Move the AVL from MI to NextMI
1701+
// Move the AVL from NextMI to MI
17021702
dropAVLUse(MI.getOperand(1));
17031703
if (NextMI->getOperand(1).isImm())
17041704
MI.getOperand(1).ChangeToImmediate(NextMI->getOperand(1).getImm());

0 commit comments

Comments
 (0)