Skip to content

Commit dec39bb

Browse files
fixup! do not else after continue/break
1 parent a956f89 commit dec39bb

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
@@ -935,10 +935,12 @@ bool RISCVVLOptimizer::checkUsers(const MachineOperand *&CommonVL,
935935
if (!CommonVL) {
936936
CommonVL = &VLOp;
937937
continue;
938-
} else if (!CommonVL->isIdenticalTo(VLOp)) {
938+
}
939+
if (!CommonVL->isIdenticalTo(VLOp)) {
939940
CanReduceVL = false;
940941
break;
941942
}
943+
continue;
942944
}
943945
}
944946

0 commit comments

Comments
 (0)