[llvm] r285711 - AMDGPU: Fix buildbots broken by r285704

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 10:20:04 PDT 2016


Author: tstellar
Date: Tue Nov  1 12:20:03 2016
New Revision: 285711

URL: http://llvm.org/viewvc/llvm-project?rev=285711&view=rev
Log:
AMDGPU: Fix buildbots broken by r285704

Modified:
    llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp?rev=285711&r1=285710&r2=285711&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cpp Tue Nov  1 12:20:03 2016
@@ -1970,8 +1970,7 @@ SDValue AMDGPUTargetLowering::LowerFP_TO
 
   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;




More information about the llvm-commits mailing list