[Mlir-commits] [mlir] [mlir] [tensor] Crash in getPackOpResultTypeShape for tensor.pack/unpack ops. (PR #90641)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Fri May 17 05:17:25 PDT 2024
ftynse wrote:
Yeah, nothing that is immediately visible to me either. Two default hypotheses are (1) the referenced object got moved after the reference was taken, (2) something messes up the lifetime extension rules so the underlying storage is rewritten. I'd check if getting values directly from `packOrUnpack` instead of using cached arrayrefs here `RankedTensorType expectedPackedType = PackOp::inferPackedType(
unpackedType, packOrUnPack.getStaticTiles(), innerDimsPos, outerDimPerm);` helps.
https://github.com/llvm/llvm-project/pull/90641
More information about the Mlir-commits
mailing list