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

Jakub Kuderski llvmlistbot at llvm.org
Wed Jul 23 12:18:23 PDT 2025


================
@@ -3627,27 +3648,21 @@ LogicalResult InsertStridedSliceOp::verify() {
 }
 
 namespace {
-/// Pattern to rewrite an InsertStridedSliceOp(SplatOp(X):src_type,
-/// SplatOp(X):dst_type) to SplatOp(X):dst_type.
+/// Rewrite insert_strided_slice(splat-like(v), splat-like(v)) as v
----------------
kuhar wrote:

```suggestion
/// Rewrite insert_strided_slice(splat-like(v), splat-like(v)) as v.
```
See https://llvm.org/docs/CodingStandards.html#commenting

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


More information about the Mlir-commits mailing list