[Mlir-commits] [mlir] [mlir][vector] add unroll pattern for broadcast (PR #142011)

Chao Chen llvmlistbot at llvm.org
Thu Jun 5 08:21:48 PDT 2025


================
@@ -311,3 +311,26 @@ func.func @vector_contract_batched(%lhs: vector<8x8x4xf32>, %rhs: vector<8x8x4xf
 // BATCHED-COUNT-16: vector.contract
 //      BATCHED-NOT: vector.contract
 //          BATCHED: return
+
+
+func.func @vector_broadcast(%v: vector<4xf32>) -> vector<4x4xf32> {
----------------
chencha3 wrote:

Thanks, added two more tests for this. 

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


More information about the Mlir-commits mailing list