diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-28 20:50:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-28 20:50:35 +0000 |
commit | 99825b4455b7a7cb3672215c2ce9d2bc88d514c7 (patch) | |
tree | 6459a4267a96b861b239436e72e56444da743026 /lib/Target/X86/Utils | |
parent | a722e781cce4d8f4b6d98e4d3e86b6cde2b4c365 (diff) | |
download | external_llvm-99825b4455b7a7cb3672215c2ce9d2bc88d514c7.zip external_llvm-99825b4455b7a7cb3672215c2ce9d2bc88d514c7.tar.gz external_llvm-99825b4455b7a7cb3672215c2ce9d2bc88d514c7.tar.bz2 |
fix a signed comparison warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Utils')
-rw-r--r-- | lib/Target/X86/Utils/X86ShuffleDecode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/Utils/X86ShuffleDecode.cpp b/lib/Target/X86/Utils/X86ShuffleDecode.cpp index 76f4d3b..eeb83c1 100644 --- a/lib/Target/X86/Utils/X86ShuffleDecode.cpp +++ b/lib/Target/X86/Utils/X86ShuffleDecode.cpp @@ -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 |