Skip to content

Commit 0854960

Browse files
committed
add more information to 'index' test comment
1 parent 3fe3240 commit 0854960

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mlir/test/Dialect/Vector/linearize-subject-to-bitwidth.mlir

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ func.func @test_result_bitwidth_64(%arg0: vector<2x2xf32>) -> vector<2x2xf32> {
2121

2222
// -----
2323

24-
// Test that operations with vectors of index type are not linearized.
24+
// The size of the 'index' type is backend specific, so we cannot guarantee that
25+
// the inner-most dimension below (of size 2*nbBits(index)) is below any bitwidth
26+
// threshold. Test that operations with vectors of index type are not linearized.
2527

2628
// ALL-LABEL: test_index_no_linearize
2729
func.func @test_index_no_linearize(%arg0: vector<2x2xindex>, %arg1: vector<2x2xindex>) -> vector<2x2xindex> {

0 commit comments

Comments
 (0)