[Mlir-commits] [mlir] [mlir][tensor] Fold pack and unpack of empty input tensor (PR #92247)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon May 20 13:38:49 PDT 2024


================
@@ -64,6 +64,47 @@ func.func @rank_reducing_empty_tensor_extract(%sz : index, %idx : index) -> tens
   return %r: tensor<2xf32>
 }
 
+func.func @pack_empty(%arg0: tensor<8x8x32x32xf32>) -> tensor<8x8x32x32xf32> {
----------------
MaheshRavishankar wrote:

Could you add a dynamic shape test? 

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


More information about the Mlir-commits mailing list