From eb30d38ac8cacfe3379d58e33771ebb87919ee2c Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 27 Jul 2015 19:07:15 +0000 Subject: [PATCH] Fixed signed/unsigned comparison warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243306 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/InstCombine/InstCombineCalls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/InstCombine/InstCombineCalls.cpp b/lib/Transforms/InstCombine/InstCombineCalls.cpp index 9b491641e35..cae383f5c0b 100644 --- a/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/lib/Transforms/InstCombine/InstCombineCalls.cpp @@ -207,7 +207,7 @@ static Value *SimplifyX86extend(const IntrinsicInst &II, // Extract a subvector of the first NumDstElts lanes and sign/zero extend. SmallVector ShuffleMask; - for (int i = 0; i != NumDstElts; ++i) + for (int i = 0; i != (int)NumDstElts; ++i) ShuffleMask.push_back(i); Value *SV = Builder.CreateShuffleVector(II.getArgOperand(0), -- 2.34.1