From ff947c6d65830b7be6e9fcbfe666fa7dba6341f6 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Mon, 24 Sep 2012 16:04:26 +0200 Subject: radeon/llvm: improve select_cc lowering to generate CND* more often v2: - Simplify isZero() - Remove a unused function prototype - Clean whitespace trails Reviewed-by: Tom Stellard --- src/gallium/drivers/radeon/R600ISelLowering.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/radeon/R600ISelLowering.h') diff --git a/src/gallium/drivers/radeon/R600ISelLowering.h b/src/gallium/drivers/radeon/R600ISelLowering.h index 7b9c27ee12e..7df2dd13787 100644 --- a/src/gallium/drivers/radeon/R600ISelLowering.h +++ b/src/gallium/drivers/radeon/R600ISelLowering.h @@ -60,6 +60,8 @@ private: SDValue LowerSETCC(SDValue Op, SelectionDAG &DAG) const; SDValue LowerInputFace(SDNode *Op, SelectionDAG &DAG) const; SDValue LowerFPTOUINT(SDValue Op, SelectionDAG &DAG) const; + + bool isZero(SDValue Op) const; }; } // End namespace llvm; -- cgit v1.2.3