[Mlir-commits] [mlir] [mlir][affine] Add unit tests for `isProjectedPermutation` (PR #114775)
Javed Absar
llvmlistbot at llvm.org
Mon Nov 4 11:32:33 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.
----------------
javedabsar1 wrote:
its a 'projected permutation' test and TRUE, FALSE tells the expected so no need to repeat 'a projected permutation'
https://github.com/llvm/llvm-project/pull/114775
More information about the Mlir-commits
mailing list