[Mlir-commits] [mlir] [MLIR][Vector] Added ToElementsOp::fold for broadcast->to_elements pattern rewrite. (PR #160318)

Kunwar Grover llvmlistbot at llvm.org
Tue Sep 30 02:08:32 PDT 2025


================
@@ -2410,6 +2441,88 @@ ToElementsOp::inferReturnTypes(MLIRContext *ctx, std::optional<Location> loc,
   return success();
 }
 
+namespace {
+
+struct ToElementsOfVectorBroadcast final
----------------
Groverkss wrote:

Add doc with an example of what this does

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


More information about the Mlir-commits mailing list