[PATCH] Support select-cc for VSFRC when VSX is enabled
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 22 Oct 2014 16:58:20 +0000 (16:58 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 22 Oct 2014 16:58:20 +0000 (16:58 +0000)
commit55321cd8a7facacd0c373a8e40704b7aa7c7fa44
treef6ed9d967b096f071654c86ddcc14b22b9ee471b
parente64e141886e7e86adf6a36d8a53bfe9f5ce71e7a
[PATCH] Support select-cc for VSFRC when VSX is enabled

A previous patch enabled SELECT_VSRC and SELECT_CC_VSRC for VSX to
handle <2 x double> cases.  This patch adds SELECT_VSFRC and
SELECT_CC_VSFRC to allow use of all 64 vector-scalar registers for the
f64 type when VSX is enabled.  The changes are analogous to those in
the previous patch.  I've added a new variant to vsx.ll to test the
code generation.

(I also cleaned up a little formatting in PPCInstrVSX.td from the
previous patch.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220395 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCInstrVSX.td
test/CodeGen/PowerPC/vsx.ll