Skip to content

Commit 1b6d404

Browse files
committed
[MLIR] Apply clang-tidy fixes for llvm-else-after-return in ScalableValueBoundsConstraintSet.cpp (NFC)
1 parent 57cae2b commit 1b6d404

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ ScalableValueBoundsConstraintSet::computeScalableBound(
108108
if (boundType == BoundType::EQ && !invalidBound(lowerBound) &&
109109
lowerBound[0] == upperBound[0]) {
110110
return lowerBound[0];
111-
} else if (boundType == BoundType::LB && !invalidBound(lowerBound)) {
111+
}
112+
if (boundType == BoundType::LB && !invalidBound(lowerBound)) {
112113
return lowerBound[0];
113114
} else if (boundType == BoundType::UB && !invalidBound(upperBound)) {
114115
return upperBound[0];

0 commit comments

Comments
 (0)