[Mlir-commits] [mlir] [mlir][tensor] Fold pack and unpack of empty input tensor (PR #92247)
lorenzo chelini
llvmlistbot at llvm.org
Fri May 17 07:04:17 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:
To be fair, I don't quite get. How is it possible for a tensor.empty (or a tensor) to be partially initialed? Do you have an example I can take a look at?
https://github.com/llvm/llvm-project/pull/92247
More information about the Mlir-commits
mailing list