From: Cynthia Shen Date: Tue, 22 Mar 2022 15:54:25 +0000 (+0000) Subject: [MLIR][Presburger] Fix a comment in the unittests X-Git-Tag: upstream/15.0.7~12726 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8b957fd4cb62eb10efb67d380126ab3abaaad46;p=platform%2Fupstream%2Fllvm.git [MLIR][Presburger] Fix a comment in the unittests Reviewed By: arjunp Differential Revision: https://reviews.llvm.org/D122197 --- diff --git a/mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp b/mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp index 7278a5e..c2077ee 100644 --- a/mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp +++ b/mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp @@ -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));