Additional fixes for bug 15155.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 20 Feb 2013 20:41:42 +0000 (20:41 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 20 Feb 2013 20:41:42 +0000 (20:41 +0000)
commitc6cbecc2c7ff32117a4ea4d30dfb62e95d45978b
tree98ad1b1efaa632e5bc9039c15b1c79e866114f51
parentdffa9773ce7788b76c945960636987508fe1be8e
Additional fixes for bug 15155.

This handles the cases where the 6-bit splat element is odd, converting
to a three-instruction sequence to add or subtract two splats.  With this
fix, the XFAIL in test/CodeGen/PowerPC/vec_constants.ll is removed.

llvm-svn: 175663
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
llvm/test/CodeGen/PowerPC/vaddsplat.ll
llvm/test/CodeGen/PowerPC/vec_constants.ll