This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Don't assert on MoreElements creating vectors
ClosedPublic

Authored by arsenm on Jan 9 2020, 10:06 AM.

Details

Summary

If the original type was a scalar, it should be valid to add elements
to turn it into a vector.

Tests included with following legalization change.

Diff Detail

Event Timeline

arsenm created this revision.Jan 9 2020, 10:06 AM
This revision is now accepted and ready to land.Jan 9 2020, 10:46 AM