diff options
author | Vincent Lejeune <vljn@ovi.com> | 2013-07-09 15:03:11 +0000 |
---|---|---|
committer | Vincent Lejeune <vljn@ovi.com> | 2013-07-09 15:03:11 +0000 |
commit | b55940cc7d1224e46285fd247fc5f9a2eea8d2f6 (patch) | |
tree | 4a2430c5d79006b73f0c2bcd0d2afeaef70d6148 /llvm/lib/Target/R600/R600ISelLowering.h | |
parent | f10d1cd2a335c8cd85f9a65f67d2114dfd77bc81 (diff) | |
download | bcm5719-llvm-b55940cc7d1224e46285fd247fc5f9a2eea8d2f6.tar.gz bcm5719-llvm-b55940cc7d1224e46285fd247fc5f9a2eea8d2f6.zip |
R600: Use DAG lowering pass to handle fcos/fsin
NOTE: This is a candidate for the stable branch.
llvm-svn: 185940
Diffstat (limited to 'llvm/lib/Target/R600/R600ISelLowering.h')
-rw-r--r-- | llvm/lib/Target/R600/R600ISelLowering.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/R600ISelLowering.h b/llvm/lib/Target/R600/R600ISelLowering.h index d4ba4c877bb..a033fcba643 100644 --- a/llvm/lib/Target/R600/R600ISelLowering.h +++ b/llvm/lib/Target/R600/R600ISelLowering.h @@ -40,6 +40,7 @@ public: SmallVectorImpl<SDValue> &InVals) const; virtual EVT getSetCCResultType(LLVMContext &, EVT VT) const; private: + unsigned Gen; /// Each OpenCL kernel has nine implicit parameters that are stored in the /// first nine dwords of a Vertex Buffer. These implicit parameters are /// lowered to load instructions which retreive the values from the Vertex @@ -60,6 +61,7 @@ private: SDValue LowerFPTOUINT(SDValue Op, SelectionDAG &DAG) const; SDValue LowerLOAD(SDValue Op, SelectionDAG &DAG) const; SDValue LowerFrameIndex(SDValue Op, SelectionDAG &DAG) const; + SDValue LowerTrig(SDValue Op, SelectionDAG &DAG) const; SDValue stackPtrToRegIndex(SDValue Ptr, unsigned StackWidth, SelectionDAG &DAG) const; |