From 47817f30f28118ba278ab11740fa9f0adcfb462d Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 21 Mar 2012 13:48:11 +0000 Subject: Use a signed value for this enum to avoid spuriuos warnings from gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153184 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/Utils/X86ShuffleDecode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target/X86/Utils') diff --git a/lib/Target/X86/Utils/X86ShuffleDecode.h b/lib/Target/X86/Utils/X86ShuffleDecode.h index 2f8ae1b..5b8c6ef 100644 --- a/lib/Target/X86/Utils/X86ShuffleDecode.h +++ b/lib/Target/X86/Utils/X86ShuffleDecode.h @@ -24,7 +24,7 @@ namespace llvm { enum { - SM_SentinelZero = ~0U + SM_SentinelZero = -1 }; void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl &ShuffleMask); -- cgit v1.1