Try a bit harder to remove the signed and unsigned comparison warning.

Hopefully this time it actually works and stays away.

llvm-svn: 272463
This commit is contained in:
Chandler Carruth 2016-06-11 09:13:00 +00:00
parent 3c87e69ef7
commit 1b236505ea

View File

@ -199,7 +199,7 @@ void DecodeVPERMIL2PMask(const Constant *C, unsigned M2Z, unsigned ElSize,
// Bits[2:1] - (Per Lane) PD Shuffle Mask.
// Bits[2:0] - (Per Lane) PS Shuffle Mask.
uint64_t Selector = cast<ConstantInt>(COp)->getZExtValue();
int MatchBit = (Selector >> 3) & 0x1;
unsigned MatchBit = (Selector >> 3) & 0x1;
// M2Z[0:1] MatchBit
// 0Xb X Source selected by Selector index.