This is an archive of the discontinued LLVM Phabricator instance.

[SVE] Reject vector struct indexes for scalable vector GEPs
ClosedPublic

Authored by efriedma on Jun 23 2020, 8:05 PM.

Details

Summary

It's messy to pattern-match, and completely unnecessary: scalar indexes work equally well.

See also discussion on D81620 and D82061.

Diff Detail

Event Timeline

efriedma created this revision.Jun 23 2020, 8:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2020, 8:05 PM
This revision is now accepted and ready to land.Jun 24 2020, 1:16 AM

The language reference needs to get updated to account for this change. I think it's fine if that happens in a separate commit.

This revision was automatically updated to reflect the committed changes.