Skip to content

Commit cfd0278

Browse files
joker-ephgithub-actions[bot]
authored andcommitted
Automerge: [MLIR] Apply clang-tidy fixes for llvm-else-after-return in ScalableValueBoundsConstraintSet.cpp (NFC)
2 parents 8f36f48 + 1b6d404 commit cfd0278

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)