[ARM] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after D60692

llvm-svn: 364312
This commit is contained in:
Fangrui Song 2019-06-25 13:28:44 +00:00
parent 1a18bb6f25
commit 807d2f442a
1 changed files with 1 additions and 0 deletions

View File

@ -14476,6 +14476,7 @@ SDValue ARMTargetLowering::LowerFP_ROUND(SDValue Op, SelectionDAG &DAG) const {
EVT DstVT = Op.getValueType();
const unsigned DstSz = Op.getValueType().getSizeInBits();
const unsigned SrcSz = SrcVT.getSizeInBits();
(void)DstSz;
assert(DstSz < SrcSz && SrcSz <= 64 && DstSz >= 16 &&
"Unexpected type for custom-lowering FP_ROUND");