Skip to content

Commit 5e28192

Browse files
committed
[MLIR] Apply clang-tidy fixes for readability-simplify-boolean-expr in ValueBoundsOpInterface.cpp (NFC)
1 parent c241eb3 commit 5e28192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Interfaces/ValueBoundsOpInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ FailureOr<bool> ValueBoundsConstraintSet::strongCompare(const Variable &lhs,
813813
return false;
814814
// Keep processing as long as the strong relation cannot be proven.
815815
FailureOr<bool> ordered = cstr.strongComparePos(lhsPos, cmp, rhsPos);
816-
return failed(ordered) ? true : false;
816+
return failed(ordered);
817817
};
818818
ValueBoundsConstraintSet cstr(lhs.getContext(), stopCondition);
819819
lhsPos = cstr.populateConstraints(lhs.map, lhs.mapOperands);

0 commit comments

Comments
 (0)