This is an archive of the discontinued LLVM Phabricator instance.

Improve InstCombiner handling of shuffles
AbandonedPublic

Authored by jonpa on Apr 10 2017, 11:59 PM.

Details

Reviewers
None
Summary

This patch improves handling of shuffles in InstCombiner.

Note that it is currently "in progress".

Diff Detail

Event Timeline

jonpa created this revision.Apr 10 2017, 11:59 PM
spatel added a subscriber: spatel.Apr 11 2017, 7:22 AM
efriedma added inline comments.
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
1395

We should try to solve this some other way; this is essentially a CSE transform.

1437

This is a variant of case 4 above? A cleaned-up version of this probably makes sense.

1514

This is essentially a version of D31509, which isn't really acceptable for the reasons outlined there.

jonpa abandoned this revision.Apr 13 2017, 1:03 AM

Thanks for review, but it seems the two other upcoming patches are making this less needed.