This is an archive of the discontinued LLVM Phabricator instance.

[VectorCombine] Fix assert on compare extract index
ClosedPublic

Authored by kerbowa on Feb 27 2020, 8:51 PM.

Details

Summary

Extract index could be a differnet integral type.

Diff Detail

Event Timeline

kerbowa created this revision.Feb 27 2020, 8:51 PM

This is missing a test.

kerbowa updated this revision to Diff 247296.Feb 28 2020, 9:37 AM

Add test.

lebedev.ri accepted this revision.Feb 28 2020, 9:46 AM

LG
Visual inspection suggests we don't have such failure elsewhere in this pass.

This revision is now accepted and ready to land.Feb 28 2020, 9:46 AM
This revision was automatically updated to reflect the committed changes.