From: Andrea Di Biagio Date: Thu, 26 Jun 2014 13:41:10 +0000 (+0000) Subject: Silence a warning due to a comparison between signed and unsigned. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ee38843acd12ab4de7d8481eb03e6aa2ef84fd3;p=platform%2Fupstream%2Fllvm.git Silence a warning due to a comparison between signed and unsigned. No functional change intended. llvm-svn: 211782 --- diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index ebacc42..d7e63e3 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -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);