diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-07 22:47:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-07 22:47:46 +0000 |
commit | 5962ed0a36bfad0fb591998964a0da7ddecda1f2 (patch) | |
tree | 828bf5a92f16e3e32c019d99611d51265130d6f8 /lib/CodeGen/SelectionDAG/LegalizeTypes.h | |
parent | 9800e849c10fbcf9f6fcff3698165a01930b8ac2 (diff) | |
download | external_llvm-5962ed0a36bfad0fb591998964a0da7ddecda1f2.zip external_llvm-5962ed0a36bfad0fb591998964a0da7ddecda1f2.tar.gz external_llvm-5962ed0a36bfad0fb591998964a0da7ddecda1f2.tar.bz2 |
implement support for spliting and scalarizing vector setcc's. This
finishes off enough support for vector compares to get the icmp/fcmp
version of 2008-07-23-VSetCC.ll passing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.h')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeTypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.h b/lib/CodeGen/SelectionDAG/LegalizeTypes.h index 9ee6cad..8ba348d 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeTypes.h +++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.h @@ -520,6 +520,7 @@ private: SDValue ScalarizeVecRes_UNDEF(SDNode *N); SDValue ScalarizeVecRes_VECTOR_SHUFFLE(SDNode *N); SDValue ScalarizeVecRes_VSETCC(SDNode *N); + SDValue ScalarizeVecRes_SETCC(SDNode *N); // Vector Operand Scalarization: <1 x ty> -> ty. bool ScalarizeVectorOperand(SDNode *N, unsigned OpNo); @@ -560,7 +561,7 @@ private: void SplitVecRes_UNDEF(SDNode *N, SDValue &Lo, SDValue &Hi); void SplitVecRes_VECTOR_SHUFFLE(ShuffleVectorSDNode *N, SDValue &Lo, SDValue &Hi); - void SplitVecRes_VSETCC(SDNode *N, SDValue &Lo, SDValue &Hi); + void SplitVecRes_SETCC(SDNode *N, SDValue &Lo, SDValue &Hi); // Vector Operand Splitting: <128 x ty> -> 2 x <64 x ty>. bool SplitVectorOperand(SDNode *N, unsigned OpNo); |