[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


================
@@ -2539,12 +2566,14 @@ OpFoldResult FromElementsOp::fold(FoldAdaptor adaptor) {
 ///
 /// %0 = vector.from_elements %a, %a, %a : vector<3xf32>
 /// ==> rewrite to vector.splat %a : vector<3xf32>
-static LogicalResult rewriteFromElementsAsSplat(FromElementsOp fromElementsOp,
----------------
banach-space wrote:

The comment above the function signature is out-of-date :)

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


More information about the Mlir-commits mailing list