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

lorenzo chelini llvmlistbot at llvm.org
Thu May 16 11:00:16 PDT 2024


================
@@ -93,12 +93,76 @@ struct FoldEmptyTensorWithExtractSliceOp
   bool foldSingleUseOnly = false;
 };
 
+/// tensor.empty does not define any tensor contents, so an unpadded pack
----------------
chelini wrote:

Why padding would make any difference?

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


More information about the Mlir-commits mailing list