This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Fix crash in extractelement vec distribution
ClosedPublic

Authored by ThomasRaoux on Jan 10 2023, 5:45 PM.

Details

Summary

Prevent creating a vector of size 0 that would fail verifier.
Vector 1d with a single element should be treated like 0d vectors.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Jan 10 2023, 5:45 PM
Herald added a project: Restricted Project. · View Herald Transcript
ThomasRaoux requested review of this revision.Jan 10 2023, 5:45 PM
hanchung accepted this revision.Jan 10 2023, 6:11 PM
This revision is now accepted and ready to land.Jan 10 2023, 6:11 PM
This revision was landed with ongoing or failed builds.Jan 10 2023, 6:35 PM
This revision was automatically updated to reflect the committed changes.