summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index f3aa47c43fd..25a93e94990 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.
OpenPOWER on IntegriCloud