summaryrefslogtreecommitdiff
path: root/lib/Target/CellSPU/SPUISelLowering.h
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2009-01-21 04:58:48 +0000
committerScott Michel <scottm@aero.org>2009-01-21 04:58:48 +0000
commitd1e8d9c0a5dc821b6b52f7872181edeeec5df7ba (patch)
tree9a7cce0982522a10489d3dddc01c871af0d220a3 /lib/Target/CellSPU/SPUISelLowering.h
parentbb326bbe88d0b243d5d9d224308eb0c028d4d4af (diff)
downloadllvm-d1e8d9c0a5dc821b6b52f7872181edeeec5df7ba.tar.gz
llvm-d1e8d9c0a5dc821b6b52f7872181edeeec5df7ba.tar.bz2
llvm-d1e8d9c0a5dc821b6b52f7872181edeeec5df7ba.tar.xz
CellSPU:
- Ensure that (operation) legalization emits proper FDIV libcall when needed. - Fix various bugs encountered during llvm-spu-gcc build, along with various cleanups. - Start supporting double precision comparisons for remaining libgcc2 build. Discovered interesting DAGCombiner feature, which is currently solved via custom lowering (64-bit constants are not legal on CellSPU, but DAGCombiner insists on inserting one anyway.) - Update README. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU/SPUISelLowering.h')
-rw-r--r--lib/Target/CellSPU/SPUISelLowering.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/CellSPU/SPUISelLowering.h b/lib/Target/CellSPU/SPUISelLowering.h
index a98a8f6bbe..079f3ba69e 100644
--- a/lib/Target/CellSPU/SPUISelLowering.h
+++ b/lib/Target/CellSPU/SPUISelLowering.h
@@ -61,7 +61,7 @@ namespace llvm {
};
}
- /// Predicates that are used for node matching:
+ //! Utility functions specific to CellSPU-only:
namespace SPU {
SDValue get_vec_u18imm(SDNode *N, SelectionDAG &DAG,
MVT ValueType);
@@ -78,6 +78,7 @@ namespace llvm {
SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG,
const SPUTargetMachine &TM);
+ SDValue LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG);
SDValue getBorrowGenerateShufMask(SelectionDAG &DAG);
SDValue getCarryGenerateShufMask(SelectionDAG &DAG);