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

No functional change intended.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrea Di Biagio 2014-06-26 13:41:10 +00:00
parent 842549dfa6
commit fce47fe80c

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);