This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tensor] Disallow unranked tensors for tensor.extract/insert
ClosedPublic

Authored by springerm on Oct 26 2022, 3:38 AM.

Details

Summary

When writing a tensor.extract/tensor.insert, the rank of the tensor is implied by the number of specified indices. When extracting from/inserting into an unranked tensor, the tensor should first be casted to a ranked version.

Diff Detail

Event Timeline

springerm created this revision.Oct 26 2022, 3:38 AM
springerm requested review of this revision.Oct 26 2022, 3:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 26 2022, 3:38 AM
pifon2a accepted this revision.Oct 26 2022, 5:00 AM
This revision is now accepted and ready to land.Oct 26 2022, 5:00 AM
This revision was landed with ongoing or failed builds.Oct 27 2022, 1:09 AM
This revision was automatically updated to reflect the committed changes.