This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Check for tensor of 0 dims during vectorization
ClosedPublic

Authored by ThomasRaoux on Feb 6 2023, 10:16 PM.

Details

Summary

tensor with dims of size 0 cannot be vectorized. Add precondition to
prevent a crash in vectorization.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Feb 6 2023, 10:16 PM
Herald added a reviewer: hanchung. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
ThomasRaoux requested review of this revision.Feb 6 2023, 10:16 PM
nicolasvasilache accepted this revision.Feb 6 2023, 10:29 PM
This revision is now accepted and ready to land.Feb 6 2023, 10:29 PM
This revision was landed with ongoing or failed builds.Feb 6 2023, 10:34 PM
This revision was automatically updated to reflect the committed changes.
mfrancio removed a subscriber: mfrancio.