This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Fix emission of the shrink shuffles.
ClosedPublic

Authored by ABataev on Oct 15 2021, 9:50 AM.

Details

Summary

Need to follow the order of the reused scalars from the
ReuseShuffleIndices mask rather than rely on the natural order.

Diff Detail

Event Timeline

ABataev created this revision.Oct 15 2021, 9:50 AM
ABataev requested review of this revision.Oct 15 2021, 9:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 15 2021, 9:50 AM
anton-afanasyev accepted this revision.Oct 17 2021, 2:41 AM

LGTM

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
5672

Typo: %poison -> poison.

This revision is now accepted and ready to land.Oct 17 2021, 2:41 AM
goncharov accepted this revision.Oct 18 2021, 3:30 AM

Thank you @ABataev !

This revision was automatically updated to reflect the committed changes.