[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


================
@@ -3117,23 +3147,18 @@ struct Canonicalize0DShuffleOp : public OpRewritePattern<ShuffleOp> {
   }
 };
 
-/// Pattern to rewrite a ShuffleOp(SplatOp, SplatOp) to SplatOp.
+/// Pattern to rewrite shuffle(splat-like(v), splat-like(v)) as broadcast(v)
----------------
kuhar wrote:

```suggestion
/// Pattern to rewrite shuffle(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