projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b2830
)
Fix broken assert.
author
Nick Lewycky
<nicholas@mxc.ca>
Sat, 26 Jul 2014 05:44:15 +0000
(
05:44
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Sat, 26 Jul 2014 05:44:15 +0000
(
05:44
+0000)
llvm-svn: 214019
llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
b/llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
index
ff8382d
..
83ee12b
100644
(file)
--- a/
llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
+++ b/
llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp
@@
-233,7
+233,7
@@
void DecodePSHUFBMask(const ConstantDataSequential *C,
ShuffleMask.push_back(SM_SentinelZero);
else {
int Index = Base + Element;
- assert((Index >= 0 && Index < NumElements)
||
+ assert((Index >= 0 && Index < NumElements)
&&
"Out of bounds shuffle index for pshub instruction!");
ShuffleMask.push_back(Index);
}