Skip to content

Commit

Permalink
AMDGPU: Fix buildbots broken by r285704
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285711 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
tstellarAMD committed Nov 1, 2016
1 parent 8687a64 commit 5216ee3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Target/AMDGPU/AMDGPUISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5216ee3

Please sign in to comment.