Skip to content

Commit c4b6145

Browse files
joker-ephDebadri Basak
authored andcommitted
[MLIR] Apply clang-tidy fixes for readability-simplify-boolean-expr in SuperVectorize.cpp (NFC)
1 parent d257961 commit c4b6145

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,10 +1106,7 @@ static bool isUniformDefinition(Value value,
11061106
return false;
11071107
}
11081108

1109-
if (!value.getType().isIntOrIndexOrFloat())
1110-
return false;
1111-
1112-
return true;
1109+
return value.getType().isIntOrIndexOrFloat();
11131110
}
11141111

11151112
/// Generates a broadcast op for the provided uniform value using the

0 commit comments

Comments
 (0)