Skip to content

Commit c35b4a3

Browse files
committed
[X86] Fix warning; NFC
llvm-svn: 350437
1 parent 0a6f86c commit c35b4a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18344,7 +18344,7 @@ static bool shouldUseHorizontalOp(bool IsSingleSource, SelectionDAG &DAG,
1834418344
static SDValue lowerFaddFsub(SDValue Op, SelectionDAG &DAG,
1834518345
const X86Subtarget &Subtarget) {
1834618346
MVT VT = Op.getSimpleValueType();
18347-
assert(VT == MVT::f32 || VT == MVT::f64 && "Only expecting float/double");
18347+
assert((VT == MVT::f32 || VT == MVT::f64) && "Only expecting float/double");
1834818348

1834918349
// If both operands have other uses, this is probably not profitable.
1835018350
// Horizontal FP add/sub were added with SSE3.

0 commit comments

Comments
 (0)