Skip to content

Commit

Permalink
Apply clang-tidy fixes for readability-simplify-boolean-expr in Integ…
Browse files Browse the repository at this point in the history
…erRelation.cpp (NFC)
  • Loading branch information
joker-eph committed Mar 5, 2024
1 parent 1934fc6 commit 1837579
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mlir/lib/Analysis/Presburger/IntegerRelation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -730,9 +730,7 @@ bool IntegerRelation::isEmpty() const {
}

bool IntegerRelation::isObviouslyEmpty() const {
if (isEmptyByGCDTest() || hasInvalidConstraint())
return true;
return false;
return isEmptyByGCDTest() || hasInvalidConstraint();
}

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

0 comments on commit 1837579

Please sign in to comment.