Skip to content

Commit 27de222

Browse files
fixup! do not else after continue/break
1 parent 3acf8c4 commit 27de222

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
@@ -1075,10 +1075,12 @@ bool RISCVVLOptimizer::checkUsers(const MachineOperand *&CommonVL,
10751075
if (!CommonVL) {
10761076
CommonVL = &VLOp;
10771077
continue;
1078-
} else if (!CommonVL->isIdenticalTo(VLOp)) {
1078+
}
1079+
if (!CommonVL->isIdenticalTo(VLOp)) {
10791080
CanReduceVL = false;
10801081
break;
10811082
}
1083+
continue;
10821084
}
10831085
}
10841086

0 commit comments

Comments
 (0)