Skip to content

Commit 1837579

Browse files
committed
Apply clang-tidy fixes for readability-simplify-boolean-expr in IntegerRelation.cpp (NFC)
1 parent 1934fc6 commit 1837579

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mlir/lib/Analysis/Presburger/IntegerRelation.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -730,9 +730,7 @@ bool IntegerRelation::isEmpty() const {
730730
}
731731

732732
bool IntegerRelation::isObviouslyEmpty() const {
733-
if (isEmptyByGCDTest() || hasInvalidConstraint())
734-
return true;
735-
return false;
733+
return isEmptyByGCDTest() || hasInvalidConstraint();
736734
}
737735

738736
// Runs the GCD test on all equality constraints. Returns 'true' if this test

0 commit comments

Comments
 (0)