[MLIR][Presburger] use braces for single-line loop when inner if uses braces [NFC]

This commit is contained in:
Arjun P 2022-01-25 04:08:14 +05:30
parent c1562683ee
commit 0e98fadc79
1 changed files with 2 additions and 1 deletions

View File

@ -635,10 +635,11 @@ static void checkDivisionRepresentation(
// Check that the `dividends` and `expectedDividends` match. If the
// denominator for a division is zero, we ignore its dividend.
EXPECT_TRUE(dividends.size() == expectedDividends.size());
for (unsigned i = 0, e = dividends.size(); i < e; ++i)
for (unsigned i = 0, e = dividends.size(); i < e; ++i) {
if (denominators[i] != 0) {
EXPECT_TRUE(expectedDividends[i] == dividends[i]);
}
}
}
TEST(IntegerPolyhedronTest, computeLocalReprSimple) {