From 2ca1dd1381e0bb709a0c043847eb4817280bf529 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Thu, 7 Aug 2014 12:09:34 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0