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

Adam Siemieniuk llvmlistbot at llvm.org
Tue May 21 02:50:01 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> {
----------------
adam-smnk wrote:

Added

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


More information about the Mlir-commits mailing list