This is an archive of the discontinued LLVM Phabricator instance.

[x86] split more 256/512-bit shuffles in lowering
ClosedPublic

Authored by spatel on Feb 6 2019, 4:26 PM.

Details

Summary

This is intentionally a small step because it's hard to know exactly where we might introduce a conflicting transform with the code that tries to form wider shuffles. But I think this is safe - if we have a wide shuffle with 2 operands, then we should do better with an extract + narrow shuffle.

Diff Detail

Repository
rL LLVM

Event Timeline

spatel created this revision.Feb 6 2019, 4:26 PM
RKSimon accepted this revision.Feb 7 2019, 2:48 AM

LGTM - nice!

This revision is now accepted and ready to land.Feb 7 2019, 2:48 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 7 2019, 9:10 AM