Closed
Description
As highlighted in this comment, tests in:
currently exercise the full ConvertVectorToLLVMPass. This is due to the use of -convert-vector-to-llvm
in that file. However, given the location of this test file, it should focus exclusively on testing "Vector to LLVM conversion patterns," specifically:
These conversion patterns are included in ConvertVectorToLLVMPass
, which is why we are using -convert-vector-to-llvm
. However, it is important to ensure that "vector-to-llvm.mlir" tests only the conversions from populateVectorToLLVMConversionPatterns
. Tests for other patterns should be moved to separate, appropriate test files.
Proposed Actions:
- Audit "vector-to-llvm.mlir" to ensure that it only tests conversions from
populateVectorToLLVMConversionPatterns
. - Relocate tests for other patterns to "test/Dialect/Vector" or other suitable test files.
Thanks for taking a look!
-Andrzej