[Mlir-commits] [mlir] [mlir][Vector] Support 0-d vectors natively in VectorStoreToMemrefStoreLowering. (PR #112937)

Andrzej WarzyƄski llvmlistbot at llvm.org
Thu Nov 7 05:40:54 PST 2024


================
@@ -7,15 +7,13 @@ func.func @vector_transfer_ops_0d_memref(%mem: memref<f32>, %vec: vector<1x1x1xf
     %f0 = arith.constant 0.0 : f32
 
 //  CHECK-NEXT:   %[[S:.*]] = memref.load %[[MEM]][] : memref<f32>
-//  CHECK-NEXT:   %[[V:.*]] = vector.broadcast %[[S]] : f32 to vector<f32>
----------------
banach-space wrote:

This makes sense, but what code-path generated `vector.broadcast` to begin with? And how do we know it doesn't require updating?

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


More information about the Mlir-commits mailing list