From 30e2e414edd47eb76798862facddd6f770b412cc Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 6 Oct 2019 19:54:20 +0000 Subject: [PATCH] Fix signed/unsigned warning. NFCI git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373870 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 7ffe3971b6f..784bf6d58c5 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -6809,7 +6809,7 @@ static bool getTargetShuffleAndZeroables(SDValue N, SmallVectorImpl &Mask, } } - assert(VT.getVectorNumElements() == Size && + assert(VT.getVectorNumElements() == (unsigned)Size && "Different mask size from vector size!"); return true; } -- 2.40.0