Skip to content

Commit 9677b60

Browse files
committed
AMDGPU: Fix buildbots broken by r285704
llvm-svn: 285711
1 parent a0b67bb commit 9677b60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,8 +1970,7 @@ SDValue AMDGPUTargetLowering::LowerFP_TO_FP16(SDValue Op, SelectionDAG &DAG) con
19701970

19711971
SDLoc DL(Op);
19721972
SDValue N0 = Op.getOperand(0);
1973-
MVT SVT = N0.getSimpleValueType();
1974-
assert(SVT == MVT::f64);
1973+
assert (N0.getSimpleValueType() == MVT::f64);
19751974

19761975
// f64 -> f16 conversion using round-to-nearest-even rounding mode.
19771976
const unsigned ExpMask = 0x7ff;

0 commit comments

Comments
 (0)