summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2014-05-20 10:23:04 +0000
committerSimon Atanasyan <simon@atanasyan.com>2014-05-20 10:23:04 +0000
commit57a98baa07ae4b4bd9d7702afc81f95b93abb48d (patch)
tree3862fcc19f50dfe4f4a6c5107021fc416fbfe258 /lib
parent51af588366836c17de08c4b217f2695ed2042230 (diff)
downloadllvm-57a98baa07ae4b4bd9d7702afc81f95b93abb48d.tar.gz
llvm-57a98baa07ae4b4bd9d7702afc81f95b93abb48d.tar.bz2
llvm-57a98baa07ae4b4bd9d7702afc81f95b93abb48d.tar.xz
Add parentheses to suppress the gcc warning '-Wparentheses'.
No functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209203 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index cfdaf0f8e3..72743a97ab 100644
--- 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)) {