This is an archive of the discontinued LLVM Phabricator instance.

[SVE] Fix selection failure when splitting extended masked loads
ClosedPublic

Authored by kmclaughlin on Oct 18 2021, 7:40 AM.

Details

Summary

When splitting a masked load, GetDependentSplitDestVTs is used to get the
MemVTs of the high and low parts. If the masked load is extended, this
may return VTs with different element types which are used to create the
high & low masked load instructions.
This patch changes GetDependentSplitDestVTs to ensure we return VTs with
the same element type.

Diff Detail

Event Timeline

kmclaughlin created this revision.Oct 18 2021, 7:40 AM
kmclaughlin requested review of this revision.Oct 18 2021, 7:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 18 2021, 7:40 AM
Matt added a subscriber: Matt.Oct 18 2021, 1:36 PM
This revision is now accepted and ready to land.Oct 19 2021, 4:39 AM