From c35b4a37bacb582e2e942741a653778b19b5024b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 4 Jan 2019 21:41:35 +0000 Subject: [PATCH] [X86] Fix warning; NFC llvm-svn: 350437 --- llvm/lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index f3aa47c43fd0..25a93e94990d 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/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.