Skip to content

Commit 3584281

Browse files
fixup! do not else after continue/break
1 parent 56c9f43 commit 3584281

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,10 +977,12 @@ bool RISCVVLOptimizer::checkUsers(const MachineOperand *&CommonVL,
977977
if (!CommonVL) {
978978
CommonVL = &VLOp;
979979
continue;
980-
} else if (!CommonVL->isIdenticalTo(VLOp)) {
980+
}
981+
if (!CommonVL->isIdenticalTo(VLOp)) {
981982
CanReduceVL = false;
982983
break;
983984
}
985+
continue;
984986
}
985987
}
986988

0 commit comments

Comments
 (0)