AMDGPU: Fix buildbots broken by r285704
authorTom Stellard <thomas.stellard@amd.com>
Tue, 1 Nov 2016 17:20:03 +0000 (17:20 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 1 Nov 2016 17:20:03 +0000 (17:20 +0000)
llvm-svn: 285711

llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

index 153b95e..9ff0b00 100644 (file)
@@ -1970,8 +1970,7 @@ SDValue AMDGPUTargetLowering::LowerFP_TO_FP16(SDValue Op, SelectionDAG &DAG) con
 
   SDLoc DL(Op);
   SDValue N0 = Op.getOperand(0);
-  MVT SVT = N0.getSimpleValueType();
-  assert(SVT == MVT::f64);
+  assert (N0.getSimpleValueType() == MVT::f64);
 
   // f64 -> f16 conversion using round-to-nearest-even rounding mode.
   const unsigned ExpMask = 0x7ff;