diff --git a/mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp b/mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp --- a/mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp +++ b/mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp @@ -1479,9 +1479,7 @@ IntegerPolyhedron poly3 = parseIntegerPolyhedron("(x, y) : (2*x - y >= 0, y - 3*x >= 0)"); - // -0 instead of 0 to prevent unwanted conversion to pointer types, - // which would lead to ambiguity in overload resolution. - EXPECT_TRUE(poly3.containsPointNoLocal({-0, 0})); + EXPECT_TRUE(poly3.containsPointNoLocal(ArrayRef({0, 0}))); EXPECT_FALSE(poly3.containsPointNoLocal({1, 0})); }