[Mlir-commits] [mlir] [mlir][Vector] Fix an assertion on failing cast in vector-transfer-flatten-patterns (PR #86030)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Mar 25 10:25:01 PDT 2024


================
@@ -93,13 +93,16 @@ func.func @test_index_no_linearize(%arg0: vector<2x2xindex>, %arg1: vector<2x2xi
 
 // -----
 
-// This test exists to make sure it doesn't hit an assert and compiles through.
-func.func @simple_mul(%arg0: tensor<4xf32>, %arg1: tensor<4xf32>) -> (tensor<4xf32>, tensor<4xf32>) {
+// CHECK-LABEL: func.func @nonvec_result
+// CHECK128-LABEL: func.func @nonvec_result
+// CHECK0-LABEL: func.func @nonvec_result
----------------
banach-space wrote:

This is unrelated to this PR, but repeating labels like this is unnecessary noise that should be avoided. I will prepare a PR to trim this.

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


More information about the Mlir-commits mailing list