This is an archive of the discontinued LLVM Phabricator instance.

[X86][SSE] Improvements to byte shift shuffle matching
ClosedPublic

Authored by RKSimon on Nov 25 2014, 11:30 AM.

Details

Summary

Building on http://reviews.llvm.org/D5699

Since (v)pslldq / (v)psrldq instructions resolve to a single input argument it is useful to match it much earlier than we currently do - this prevents more complicated shuffles (notably insertion into a zero vector) matching before it.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon updated this revision to Diff 16629.Nov 25 2014, 11:30 AM
RKSimon retitled this revision from to [X86][SSE] Improvements to byte shift shuffle matching.
RKSimon updated this object.
RKSimon edited the test plan for this revision. (Show Details)
RKSimon set the repository for this revision to rL LLVM.
RKSimon added a subscriber: Unknown Object (MLST).
chandlerc accepted this revision.Nov 25 2014, 12:58 PM
chandlerc edited edge metadata.

Nice!

This revision is now accepted and ready to land.Nov 25 2014, 12:58 PM
RKSimon closed this revision.Nov 25 2014, 2:35 PM
RKSimon updated this revision to Diff 16632.

Closed by commit rL222796 (authored by @RKSimon).