[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


================
@@ -3343,23 +3368,19 @@ class InsertToBroadcast final : public OpRewritePattern<InsertOp> {
   }
 };
 
-/// Pattern to rewrite a InsertOp(SplatOp, SplatOp) to SplatOp.
+/// Pattern to rewrite a insert(splat-like(v), splat-like(v)) as broadcast(v)
----------------
kuhar wrote:

```suggestion
/// Pattern to rewrite a insert(splat-like(v), splat-like(v)) as broadcast(v).
```

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


More information about the Mlir-commits mailing list