[X86] Fix unused variable warning in Release builds. NFC.

llvm-svn: 351136
This commit is contained in:
Benjamin Kramer 2019-01-14 23:29:54 +00:00
parent 0055f80b3f
commit 2fc8ede082
1 changed files with 2 additions and 2 deletions

View File

@ -18574,8 +18574,8 @@ static SDValue lowerAddSubToHorizontalOp(SDValue Op, SelectionDAG &DAG,
/// vector operation in place of the typical scalar operation. /// vector operation in place of the typical scalar operation.
static SDValue lowerFaddFsub(SDValue Op, SelectionDAG &DAG, static SDValue lowerFaddFsub(SDValue Op, SelectionDAG &DAG,
const X86Subtarget &Subtarget) { const X86Subtarget &Subtarget) {
MVT VT = Op.getSimpleValueType(); assert((Op.getValueType() == MVT::f32 || Op.getValueType() == MVT::f64) &&
assert((VT == MVT::f32 || VT == MVT::f64) && "Only expecting float/double"); "Only expecting float/double");
return lowerAddSubToHorizontalOp(Op, DAG, Subtarget); return lowerAddSubToHorizontalOp(Op, DAG, Subtarget);
} }