This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Fix crash when inserting large fixed-length subvectors
ClosedPublic

Authored by frasercrmck on Mar 3 2021, 9:13 AM.

Details

Summary

This patch addresses a compiler crash resulting from passing a
fixed-length type to one that expects scalable vector types. An
assertion was added to prevent this regressing in the future.

Diff Detail

Event Timeline

frasercrmck created this revision.Mar 3 2021, 9:13 AM
frasercrmck requested review of this revision.Mar 3 2021, 9:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2021, 9:13 AM
This revision is now accepted and ready to land.Mar 3 2021, 9:23 AM
This revision was landed with ongoing or failed builds.Mar 4 2021, 1:33 AM
This revision was automatically updated to reflect the committed changes.