[Mlir-commits] [mlir] [mlir][vector] vector.splat deprecation: folding/canonicalizing parity with broadcast (PR #150284)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Jul 29 12:50:31 PDT 2025


================
@@ -2323,10 +2323,10 @@ func.func @extract_extract_strided2(%A: vector<2x4xf32>)
 
 // -----
 
-// CHECK-LABEL: func @splat_fold
-func.func @splat_fold() -> vector<4xf32> {
+// CHECK-LABEL: func @splatlike_fold
+func.func @splatlike_fold() -> vector<4xf32> {
----------------
banach-space wrote:

Shall we move this near other tests for folding broadcasts? https://github.com/llvm/llvm-project/blob/860b1e68ea180672d0e02fa8328f4a7c45e16f0f/mlir/test/Dialect/Vector/canonicalize.mlir#L1081-L1167

Better still, move all of them to a dedicated file :)

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


More information about the Mlir-commits mailing list