projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a85b88
)
Insert parens to avoid a warning:
author
Alexander Kornienko
<alexfh@google.com>
Thu, 7 Aug 2014 12:09:34 +0000
(12:09 +0000)
committer
Alexander Kornienko
<alexfh@google.com>
Thu, 7 Aug 2014 12:09:34 +0000
(12:09 +0000)
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
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index c62c2fd5f3584a0c0437208f1ba8200b16c8d226..776870c823dfecab0d6e8f423ffc124cf1742500 100644
(file)
--- 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;
}