[Mlir-commits] [mlir] c8b957f - [MLIR][Presburger] Fix a comment in the unittests
Arjun P
llvmlistbot at llvm.org
Tue Mar 22 10:51:16 PDT 2022
Author: Cynthia Shen
Date: 2022-03-22T17:51:21Z
New Revision: c8b957fd4cb62eb10efb67d380126ab3abaaad46
URL: https://github.com/llvm/llvm-project/commit/c8b957fd4cb62eb10efb67d380126ab3abaaad46
DIFF: https://github.com/llvm/llvm-project/commit/c8b957fd4cb62eb10efb67d380126ab3abaaad46.diff
LOG: [MLIR][Presburger] Fix a comment in the unittests
Reviewed By: arjunp
Differential Revision: https://reviews.llvm.org/D122197
Added:
Modified:
mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp
Removed:
################################################################################
diff --git a/mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp b/mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp
index 7278a5ec56e48..c2077ee26639f 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));
More information about the Mlir-commits
mailing list