From: Nikita Popov Date: Fri, 4 Jan 2019 21:41:35 +0000 (+0000) Subject: [X86] Fix warning; NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e2aef924e02d00a4d3454d63c1921a243d316c6;p=llvm [X86] Fix warning; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350437 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index f3aa47c43fd..25a93e94990 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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.