[X86] Fix warning; NFC

llvm-svn: 350437
This commit is contained in:
Nikita Popov 2019-01-04 21:41:35 +00:00
parent 0a6f86c54b
commit c35b4a37ba
1 changed files with 1 additions and 1 deletions

View File

@ -18344,7 +18344,7 @@ static bool shouldUseHorizontalOp(bool IsSingleSource, SelectionDAG &DAG,
static SDValue lowerFaddFsub(SDValue Op, SelectionDAG &DAG,
const X86Subtarget &Subtarget) {
MVT VT = Op.getSimpleValueType();
assert(VT == MVT::f32 || VT == MVT::f64 && "Only expecting float/double");
assert((VT == MVT::f32 || VT == MVT::f64) && "Only expecting float/double");
// If both operands have other uses, this is probably not profitable.
// Horizontal FP add/sub were added with SSE3.