Codegen things like:
authorChris Lattner <sabre@nondot.org>
Sat, 25 Mar 2006 06:12:06 +0000 (06:12 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 25 Mar 2006 06:12:06 +0000 (06:12 +0000)
commit9c61dcf1aaf275a1733b6785c54d34eda5426ae1
treeaef3eac76e4e841cdfd6fe115d607d39ad046e8f
parentb45854fff5a43135229e16f9ff5a9ce1246eb0dc
Codegen things like:
 <int -1, int -1, int -1, int -1>
and
 <int 65537, int 65537, int 65537, int 65537>

Using things like:
  vspltisb v0, -1
and:
  vspltish v0, 1

instead of using constant pool loads.

This implements CodeGen/PowerPC/vec_splat.ll:splat_imm_i{32|16}.

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