Skip to content

Commit

Permalink
[mlir] Remove duplicate test
Browse files Browse the repository at this point in the history
The removed test is identical to the one directly above.
  • Loading branch information
banach-space committed Jan 22, 2024
1 parent 565470e commit 160ddf7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions mlir/test/Dialect/Vector/invalid.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -666,13 +666,6 @@ func.func @extract_strided_slice(%arg0: vector<4x8x16xf32>) {

// -----

func.func @extract_strided_slice(%arg0: vector<4x8x16xf32>) {
// expected-error@+1 {{expected offsets attribute of rank no greater than vector rank}}
%1 = vector.extract_strided_slice %arg0 {offsets = [2, 2, 2, 2], sizes = [2, 2, 2, 2], strides = [1, 1, 1, 1]} : vector<4x8x16xf32> to vector<2x2x16xf32>
}

// -----

func.func @extract_strided_slice(%arg0: vector<4x8x16xf32>) {
// expected-error@+1 {{op expected offsets dimension 0 to be confined to [0, 4)}}
%1 = vector.extract_strided_slice %arg0 {offsets = [100], sizes = [100], strides = [100]} : vector<4x8x16xf32> to vector<100x8x16xf32>
Expand Down

0 comments on commit 160ddf7

Please sign in to comment.