radeon/llvm: Fix unused variable warning
authorTom Stellard <thomas.stellard@amd.com>
Mon, 17 Sep 2012 19:08:00 +0000 (19:08 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 17 Sep 2012 21:09:43 +0000 (21:09 +0000)
src/gallium/drivers/radeon/R600ISelLowering.cpp

index dc75a450bdccc54f288f83942f3869cc5df24f6a..a9b0c70fd951456f71dbe6a447a8626f32b19fcf 100644 (file)
@@ -433,7 +433,6 @@ SDValue R600TargetLowering::LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const
   SDValue True = Op.getOperand(2);
   SDValue False = Op.getOperand(3);
   SDValue CC = Op.getOperand(4);
-  ISD::CondCode CCOpcode = cast<CondCodeSDNode>(CC)->get();
   SDValue Temp;
 
   // LHS and RHS are guaranteed to be the same value type