This is an archive of the discontinued LLVM Phabricator instance.

[LegalizeVectorTypes] Allow illegal indices when splitting extract_vector_elt
ClosedPublic

Authored by tlively on Jan 30 2019, 1:48 PM.

Details

Summary

Fixes PR40267, in which the removed assertion was triggering on
perfectly valid IR. As far as I can tell, constant out of bounds
indices should be allowed when splitting extract_vector_elt, since
they will simply be propagated as out of bounds indices in the
resulting split vector and handled appropriately elsewhere.

Event Timeline

tlively created this revision.Jan 30 2019, 1:48 PM
aheejin accepted this revision.Jan 30 2019, 4:02 PM
This revision is now accepted and ready to land.Jan 30 2019, 4:02 PM
This revision was automatically updated to reflect the committed changes.