OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a722e78
)
fix a signed comparison warning.
author
Chris Lattner
<sabre@nondot.org>
Mon, 28 Feb 2011 20:50:35 +0000
(20:50 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 28 Feb 2011 20:50:35 +0000
(20:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126682
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
76f4d3b
..
eeb83c1
100644
(file)
--- a/
lib/Target/X86/Utils/X86ShuffleDecode.cpp
+++ b/
lib/Target/X86/Utils/X86ShuffleDecode.cpp
@@
-166,7
+166,7
@@
void DecodeUNPCKLPDMask(unsigned NElts,
void DecodeUNPCKLPMask(EVT VT,
SmallVectorImpl<unsigned> &ShuffleMask) {
-
int
NElts = VT.getVectorNumElements();
+
unsigned
NElts = VT.getVectorNumElements();
for (unsigned i = 0; i != NElts/2; ++i) {
ShuffleMask.push_back(i); // Reads from dest