OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51af588
)
Add parentheses to suppress the gcc warning '-Wparentheses'.
author
Simon Atanasyan
<simon@atanasyan.com>
Tue, 20 May 2014 10:23:04 +0000
(10:23 +0000)
committer
Simon Atanasyan
<simon@atanasyan.com>
Tue, 20 May 2014 10:23:04 +0000
(10:23 +0000)
No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209203
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index
cfdaf0f
..
72743a9
100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-20294,8
+20294,8
@@
static SDValue PerformINSERTPSCombine(SDNode *N, SelectionDAG &DAG,
const X86Subtarget *Subtarget) {
SDLoc dl(N);
MVT VT = N->getOperand(1)->getSimpleValueType(0);
- assert(
VT == MVT::v4f32 ||
-
VT == MVT::v4i32 &&
"X86insertps is only defined for v4x32");
+ assert(
(VT == MVT::v4f32 || VT == MVT::v4i32) &&
+ "X86insertps is only defined for v4x32");
SDValue Ld = N->getOperand(1);
if (MayFoldLoad(Ld)) {