projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a6f86c
)
[X86] Fix warning; NFC
author
Nikita Popov
<nikita.ppv@gmail.com>
Fri, 4 Jan 2019 21:41:35 +0000
(21:41 +0000)
committer
Nikita Popov
<nikita.ppv@gmail.com>
Fri, 4 Jan 2019 21:41:35 +0000
(21:41 +0000)
llvm-svn: 350437
llvm/lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86ISelLowering.cpp
b/llvm/lib/Target/X86/X86ISelLowering.cpp
index
f3aa47c
..
25a93e9
100644
(file)
--- 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.