[Mlir-commits] [mlir] [mlir][vector] Use notifyMatchFailure instead of assert in VectorLinearize (PR #93590)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Jun 12 12:12:13 PDT 2024


================
@@ -177,6 +177,17 @@ func.func @test_extract_strided_slice_1(%arg0 : vector<4x8xf32>) -> vector<2x2xf
   return %0 : vector<2x2xf32>
 }
 
+// ALL-LABEL:   func.func @test_extract_strided_slice_scalable(
+// ALL-SAME:    %[[VAL_0:.*]]: vector<2x[2]xf32>) -> vector<1x[2]xf32> {
+func.func @test_extract_strided_slice_scalable(%arg0: vector<2x[2]xf32>) -> vector<1x[2]xf32> {
+  // CHECK-NOT: vector.shuffle
+  // CHECK-NOT: vector.shape_cast
----------------
banach-space wrote:

```suggestion
  // ALL-NOT: vector.shuffle
  // ALL-NOT: vector.shape_cast
```

Same comment for other examples. Unless I am missing sth here?

https://github.com/llvm/llvm-project/pull/93590


More information about the Mlir-commits mailing list