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:
09ed816
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214019
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/Utils/X86ShuffleDecode.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/Utils/X86ShuffleDecode.cpp
b/lib/Target/X86/Utils/X86ShuffleDecode.cpp
index ff8382d5f013e0cb7978f246e95038036cb2f8e7..83ee12b450ca418a8397e1f1975b43718e9b264d 100644
(file)
--- a/
lib/Target/X86/Utils/X86ShuffleDecode.cpp
+++ b/
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);
}