This is an archive of the discontinued LLVM Phabricator instance.

[IR] Bail out for scalable vectors in ShuffleVectorInst::isConcat
ClosedPublic

Authored by c-rhodes on Dec 2 2020, 3:58 AM.

Details

Summary

Shuffle mask for concat can't be expressed for scalable vectors, so we
should bail out. A test has been added that previously crashed, also
tested isIdentityWithPadding and isIdentityWithExtract where we already
bail out.

Diff Detail

Event Timeline

c-rhodes created this revision.Dec 2 2020, 3:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2020, 3:58 AM
c-rhodes requested review of this revision.Dec 2 2020, 3:58 AM
sdesmalen accepted this revision.Dec 3 2020, 3:12 AM

LGTM, a vector concat cannot be expressed for with shufflevector for scalable vectors.

This revision is now accepted and ready to land.Dec 3 2020, 3:12 AM
This revision was landed with ongoing or failed builds.Dec 7 2020, 3:03 AM
This revision was automatically updated to reflect the committed changes.