[Mlir-commits] [mlir] [MLIR][Affine] Fix private memref creation bug in affine fusion (PR #126028)

Uday Bondhugula llvmlistbot at llvm.org
Fri Feb 7 18:35:02 PST 2025


================
@@ -285,3 +285,32 @@ module {
     spirv.ReturnValue %3 : !spirv.array<8192 x f32>
   }
 }
+
+// -----
+
+// PRODUCER-CONSUMER-LABEL: func @same_memref_load_store
+func.func @same_memref_load_store(%producer : memref<32xf32>, %consumer: memref<16xf32>){
----------------
bondhugula wrote:

Good point, but multiple producer stores (to the same memref) aren't supported for fusion. However, this utility still supports that handling. To exercise it, we'll have to add that support in fusion.

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


More information about the Mlir-commits mailing list