[Mlir-commits] [mlir] [mlir][Linalg] Preserve encodings in static shape inference. (PR #132311)

Han-Chung Wang llvmlistbot at llvm.org
Fri Mar 21 10:25:46 PDT 2025


================
@@ -649,6 +649,29 @@ func.func @cast_dest(%arg0: tensor<?x?x?xf32>, %arg1: tensor<1x?x?xf32>, %arg2:
 
 // -----
 
+#map = affine_map<(d0, d1) -> (d0, d1)>
+#sparse = #sparse_tensor.encoding<{ map = (d0, d1) -> (d0 : dense, d1 : compressed) }>
----------------
hanhanW wrote:

Okay, I like consistency better, so I'll format the generic op a bit!

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


More information about the Mlir-commits mailing list