From: Alexander Kornienko Date: Thu, 7 Aug 2014 12:09:34 +0000 (+0000) Subject: Insert parens to avoid a warning: X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2ca1dd1381e0bb709a0c043847eb4817280bf529;p=oota-llvm.git Insert parens to avoid a warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215101 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index c62c2fd5f35..776870c823d 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -7549,7 +7549,7 @@ static SDValue lowerV8I16SingleInputVectorShuffle( if (M == (InputsFixed[0] ^ 1) + SourceOffset) M = InputsFixed[1] + SourceOffset; else if (M == InputsFixed[1] + SourceOffset) - M = InputsFixed[0] ^ 1 + SourceOffset; + M = (InputsFixed[0] ^ 1) + SourceOffset; InputsFixed[1] = InputsFixed[0] ^ 1; }