Silence a warning due to a comparison between signed and unsigned.

No functional change intended.

llvm-svn: 211782
This commit is contained in:
Andrea Di Biagio 2014-06-26 13:41:10 +00:00
parent 579e402fc2
commit 1ee38843ac
1 changed files with 1 additions and 1 deletions

View File

@ -18046,7 +18046,7 @@ static SDValue PerformShuffleCombine(SDNode *N, SelectionDAG &DAG,
bool CanFold = true;
for (unsigned i = 0, e = NumElts; i != e && CanFold; ++i)
CanFold = Mask[i] == (i & 1) ? i + NumElts : i;
CanFold = Mask[i] == (int)((i & 1) ? i + NumElts : i);
if (CanFold) {
SDValue Op0 = N1->getOperand(0);