From 48558862692df8451d7bb883d4d0f93fe982cf77 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 3 Feb 2015 20:54:01 +0000 Subject: [PATCH] Fixed signed/unsigned comparison warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228027 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index dd24061e96b..4f00beacd32 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -7906,7 +7906,7 @@ static SDValue lowerVectorShuffleAsZeroOrAnyExtend( int NumElements = VT.getVectorNumElements(); assert(VT.getScalarSizeInBits() <= 32 && "Exceeds 32-bit integer zero extension limit"); - assert(Mask.size() == NumElements && "Unexpected shuffle mask size"); + assert((int)Mask.size() == NumElements && "Unexpected shuffle mask size"); // Define a helper function to check a particular ext-scale and lower to it if // valid. -- 2.34.1