diff --git a/mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp b/mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp index 5d1cfb4c6e78..cf68c9265054 100644 --- a/mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp +++ b/mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp @@ -636,8 +636,9 @@ static void checkDivisionRepresentation( // 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) - if (denominators[i] != 0) + if (denominators[i] != 0) { EXPECT_TRUE(expectedDividends[i] == dividends[i]); + } } TEST(IntegerPolyhedronTest, computeLocalReprSimple) {