[Mlir-commits] [mlir] 160ddf7 - [mlir] Remove duplicate test

Andrzej Warzynski llvmlistbot at llvm.org
Mon Jan 22 07:52:15 PST 2024


Author: Andrzej Warzynski
Date: 2024-01-22T15:51:56Z
New Revision: 160ddf71147637b4b806dde2a0c686496aae5f14

URL: https://github.com/llvm/llvm-project/commit/160ddf71147637b4b806dde2a0c686496aae5f14
DIFF: https://github.com/llvm/llvm-project/commit/160ddf71147637b4b806dde2a0c686496aae5f14.diff

LOG: [mlir] Remove duplicate test

The removed test is identical to the one directly above.

Added: 
    

Modified: 
    mlir/test/Dialect/Vector/invalid.mlir

Removed: 
    


################################################################################
diff  --git a/mlir/test/Dialect/Vector/invalid.mlir b/mlir/test/Dialect/Vector/invalid.mlir
index 9c73f5a8f74a8a4..5fa8ac245ce973b 100644
--- a/mlir/test/Dialect/Vector/invalid.mlir
+++ b/mlir/test/Dialect/Vector/invalid.mlir
@@ -666,13 +666,6 @@ func.func @extract_strided_slice(%arg0: vector<4x8x16xf32>) {
 
 // -----
 
-func.func @extract_strided_slice(%arg0: vector<4x8x16xf32>) {
-  // expected-error at +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 at +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>


        


More information about the Mlir-commits mailing list