aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2025-08-21 09:52:59 -0700
committerMehdi Amini <joker.eph@gmail.com>2025-09-07 10:55:50 -0700
commit1b6d404ed1f80bbda555ab4a2a8367262c0e152c (patch)
treef77da6042afa643491b62367251fcac28b22a4cb
parent57cae2b6a275a8eb3bc8935973263ed84535fb81 (diff)
downloadllvm-1b6d404ed1f80bbda555ab4a2a8367262c0e152c.zip
llvm-1b6d404ed1f80bbda555ab4a2a8367262c0e152c.tar.gz
llvm-1b6d404ed1f80bbda555ab4a2a8367262c0e152c.tar.bz2
[MLIR] Apply clang-tidy fixes for llvm-else-after-return in ScalableValueBoundsConstraintSet.cpp (NFC)
-rw-r--r--mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp b/mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp
index 4b749004..a26edac 100644
--- a/mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp
+++ b/mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp
@@ -108,7 +108,8 @@ ScalableValueBoundsConstraintSet::computeScalableBound(
if (boundType == BoundType::EQ && !invalidBound(lowerBound) &&
lowerBound[0] == upperBound[0]) {
return lowerBound[0];
- } else if (boundType == BoundType::LB && !invalidBound(lowerBound)) {
+ }
+ if (boundType == BoundType::LB && !invalidBound(lowerBound)) {
return lowerBound[0];
} else if (boundType == BoundType::UB && !invalidBound(upperBound)) {
return upperBound[0];