Also remove TooFewDims test which tried to create an invalid AffineMap.
The creation of an invalid AffineMap is rejected by willBeValidAffineMap,
as a result we can deprecate the test.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/unittests/Dialect/CMakeLists.txt | ||
---|---|---|
10 | Please add in sorted order. | |
mlir/unittests/Dialect/Utils/StructuredOpsUtilsTest.cpp | ||
119 | This is building an incorrect affine map since its expressions involve up to d2 (k is d2 here) while the map is being created with only two input dims. Just change this to ...(3, 0, ...). |
mlir/unittests/Dialect/Utils/StructuredOpsUtilsTest.cpp | ||
---|---|---|
119 | If we change it into ...(3, 0, ...)..., then it'll be the same test cases as TEST(isRowMajorMatmul, Simple) above. Any suggestions? |
mlir/unittests/Dialect/Utils/StructuredOpsUtilsTest.cpp | ||
---|---|---|
119 | Oh, then please update the commit summary. It's currently misleading when it states "Also remove a test which has been asserted by willBeValidAffineMap.". |
Please add in sorted order.