summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-11-01 17:20:03 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-11-01 17:20:03 +0000
commit9677b602880c0202108686e6d2d4f2d1df36608d (patch)
tree2caa08b725be3eed34a362d3fcbb4f64a7e73d7c /llvm/lib
parenta0b67bbed9311b252ac727c468723ee6ec3a304d (diff)
downloadbcm5719-llvm-9677b602880c0202108686e6d2d4f2d1df36608d.tar.gz
bcm5719-llvm-9677b602880c0202108686e6d2d4f2d1df36608d.zip
AMDGPU: Fix buildbots broken by r285704
llvm-svn: 285711
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
index 153b95e7d81..9ff0b00d683 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
@@ -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;
OpenPOWER on IntegriCloud