forked from OSchip/llvm-project
[ARM] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after D60692
llvm-svn: 364312
This commit is contained in:
parent
1a18bb6f25
commit
807d2f442a
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue