[MLIR][Presburger] Fix a comment in the unittests
authorCynthia Shen <cynthia.here.ssy@gmail.com>
Tue, 22 Mar 2022 15:54:25 +0000 (15:54 +0000)
committerArjun P <arjunpitchanathan@gmail.com>
Tue, 22 Mar 2022 17:51:21 +0000 (17:51 +0000)
Reviewed By: arjunp

Differential Revision: https://reviews.llvm.org/D122197

mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp

index 7278a5e..c2077ee 100644 (file)
@@ -442,9 +442,8 @@ TEST(SetTest, divisions) {
   EXPECT_TRUE(setA.subtract(setB).isEqual(setA));
 }
 
-/// Coalesce `set` and check that the `newSet` is equal to `set and that
+/// Coalesce `set` and check that the `newSet` is equal to `set` and that
 /// `expectedNumPoly` matches the number of Poly in the coalesced set.
-/// If one of the two
 void expectCoalesce(size_t expectedNumPoly, const PresburgerSet &set) {
   PresburgerSet newSet = set.coalesce();
   EXPECT_TRUE(set.isEqual(newSet));