This is an archive of the discontinued LLVM Phabricator instance.

[X86] Remove transformVSELECTtoBlendVECTOR_SHUFFLE
ClosedPublic

Authored by mkuper on May 16 2016, 11:11 AM.

Details

Reviewers
chandlerc
Summary

The new X86 shuffle lowering can do just fine without transforming vselects into vector_shuffles.
It looks like the only thing this code does right now is cause trouble - in particular, it can lead to combine/legalization infinite loops.

This fixes PR27689.

Diff Detail

Event Timeline

mkuper updated this revision to Diff 57376.May 16 2016, 11:11 AM
mkuper retitled this revision from to [X86] Remove transformVSELECTtoBlendVECTOR_SHUFFLE.
mkuper updated this object.
mkuper added a reviewer: chandlerc.
mkuper added a subscriber: llvm-commits.
chandlerc accepted this revision.May 16 2016, 11:17 AM
chandlerc edited edge metadata.

Maybe mention in the review log and/or file a PR about failing to invert blends to remove register copies?

This revision is now accepted and ready to land.May 16 2016, 11:17 AM

Thanks, Chandler.
I'll file a PR separately.

mkuper closed this revision.May 16 2016, 11:37 AM

Comitted as rL269676.