This is an archive of the discontinued LLVM Phabricator instance.

Cannonicalize applicable vector shift immediates as swaps
ClosedPublic

Authored by nemanjai on Jun 14 2016, 3:50 PM.

Details

Summary

The VSX swap optimization knows what to do with swaps and can often eliminate them if they're redundant. This patch hopefully provides more opportunities to swap optimization by emitting the actual swap operation rather than an equivalent shift operation (VSLDOI, XXSLDWI).

Diff Detail

Repository
rL LLVM

Event Timeline

nemanjai updated this revision to Diff 60776.Jun 14 2016, 3:50 PM
nemanjai retitled this revision from to Cannonicalize applicable vector shit immediates as swaps.
nemanjai updated this object.
nemanjai set the repository for this revision to rL LLVM.
nemanjai added a subscriber: llvm-commits.
nemanjai retitled this revision from Cannonicalize applicable vector shit immediates as swaps to Cannonicalize applicable vector shift immediates as swaps.Jun 14 2016, 5:11 PM
kbarton accepted this revision.Jul 11 2016, 11:11 AM
kbarton edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jul 11 2016, 11:11 AM
nemanjai closed this revision.Jul 12 2016, 5:24 AM

Committed revision 275168.