This is an archive of the discontinued LLVM Phabricator instance.

Scalarizer: explicitly exclude scalable vectors
ClosedPublic

Authored by nhaehnle on Dec 5 2022, 12:29 PM.

Details

Summary

They are unsupported and would previously crash, now we just skip them.

Hypothetically, one could consider "scalarizing" a <vscale x n x T> into
n copies of <vscale x 1 x T>. But (1) it's unclear how to do that
because insertelement etc. don't work with scalable vectors in the
required way, and (2) there is no user of such functionality.

Diff Detail

Event Timeline

nhaehnle created this revision.Dec 5 2022, 12:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 5 2022, 12:29 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
nhaehnle requested review of this revision.Dec 5 2022, 12:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 5 2022, 12:29 PM
nikic accepted this revision.Dec 5 2022, 12:48 PM
nikic added a subscriber: nikic.

LGTM

This revision is now accepted and ready to land.Dec 5 2022, 12:48 PM
This revision was landed with ongoing or failed builds.Dec 8 2022, 11:48 AM
This revision was automatically updated to reflect the committed changes.