Add support for generating vspltw, instead of a vperm instruction with a
authorChris Lattner <sabre@nondot.org>
Mon, 20 Mar 2006 06:51:10 +0000 (06:51 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 20 Mar 2006 06:51:10 +0000 (06:51 +0000)
commitdd4d2d0e4086905d85bc3011c2de78822d873d83
treeabd0a551f4ec238d164ce38d6f0c5ec59efa5715
parent88a99ef7cc69febf4e9feb89a087fd40d74c47a4
Add support for generating vspltw, instead of a vperm instruction with a
constant pool load.  This generates significantly nicer code for splats.

When tblgen gets bugfixed, we can remove the custom selection code.

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