Ask legalize to promote all vector shuffles to be v16i8 instead of having to
authorChris Lattner <sabre@nondot.org>
Tue, 4 Apr 2006 17:25:31 +0000 (17:25 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 4 Apr 2006 17:25:31 +0000 (17:25 +0000)
commit7ff7e674580adad7a5bccdbd74cf9c9f05e46d0f
tree3ae6c61ce0b9328b0abe8a2a07b562a2c1ee1122
parent4352cc9e217e4482ad53f5a7b92c3543f569eb6e
Ask legalize to promote all vector shuffles to be v16i8 instead of having to
handle all 4 PPC vector types.   This simplifies the matching code and allows
us to eliminate a bunch of patterns.  This also adds cases we were missing,
such as CodeGen/PowerPC/vec_splat.ll:splat_h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27400 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/PowerPC/PPCInstrAltivec.td