Skip to content

Commit

Permalink
[NFC] Silence gcc warning (-Wsign-compare)
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271882 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
filcab committed Jun 6, 2016
1 parent 6dbfac9 commit 6770890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/X86/Utils/X86ShuffleDecode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6770890

Please sign in to comment.