fix a signed comparison warning.

llvm-svn: 126682
This commit is contained in:
Chris Lattner 2011-02-28 20:50:35 +00:00
parent 8586cb2f51
commit 355d573721

View File

@ -166,7 +166,7 @@ void DecodeUNPCKLPDMask(unsigned NElts,
void DecodeUNPCKLPMask(EVT VT,
SmallVectorImpl<unsigned> &ShuffleMask) {
int NElts = VT.getVectorNumElements();
unsigned NElts = VT.getVectorNumElements();
for (unsigned i = 0; i != NElts/2; ++i) {
ShuffleMask.push_back(i); // Reads from dest