[Mlir-commits] [mlir] [mlir][affine] Add unit tests for `isProjectedPermutation` (PR #114775)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Tue Nov 5 03:46:03 PST 2024
================
@@ -21,3 +21,44 @@ TEST(AffineMapTest, inferMapFromAffineExprs) {
map.replace(replacements);
EXPECT_EQ(map, map);
}
+
+TEST(AffineMapTest, isProjectedPermutation) {
+ MLIRContext ctx;
+ OpBuilder b(&ctx);
+
+ // 1. Empty map - a projected permutation.
----------------
banach-space wrote:
Good suggestion, thanks!
https://github.com/llvm/llvm-project/pull/114775
More information about the Mlir-commits
mailing list