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:
6dbfac9
)
[NFC] Silence gcc warning (-Wsign-compare)
author
Filipe Cabecinhas
<me@filcab.net>
Mon, 6 Jun 2016 10:49:56 +0000
(10:49 +0000)
committer
Filipe Cabecinhas
<me@filcab.net>
Mon, 6 Jun 2016 10:49:56 +0000
(10:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271882
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
4ec4b78
..
899080a
100644
(file)
--- a/
lib/Target/X86/Utils/X86ShuffleDecode.cpp
+++ b/
lib/Target/X86/Utils/X86ShuffleDecode.cpp
@@
-528,7
+528,7
@@
void DecodeVPERMIL2PMask(MVT VT, unsigned M2Z, ArrayRef<uint64_t> RawMask,
// Bits[2:1] - (Per Lane) PD Shuffle Mask.
// Bits[2:0] - (Per Lane) PS Shuffle Mask.
uint64_t Selector = RawMask[i];
-
int
MatchBit = (Selector >> 3) & 0x1;
+
unsigned
MatchBit = (Selector >> 3) & 0x1;
// M2Z[0:1] MatchBit
// 0Xb X Source selected by Selector index.