HomePhabricator

[PowerPC] Try to simplify a Swap if it feeds a Splat

Authored by stefanp on Oct 23 2017, 12:33 PM.

Description

[PowerPC] Try to simplify a Swap if it feeds a Splat

If we have the situation where a Swap feeds a Splat we can sometimes change the
index on the Splat and then remove the Swap instruction.

Differential Revision: https://reviews.llvm.org/D39009

llvm-svn: 316366

Details