From: Francois Pichet Date: Wed, 25 May 2011 15:58:10 +0000 (+0000) Subject: Fix MSVC warning: "is out of range for enum constant" X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d9e57c146d3084d7efe2de48dc2cd1f99d4fa656;p=oota-llvm.git Fix MSVC warning: "is out of range for enum constant" MSVC doesn't support 64 bit enum. OpcodeMask is not used anywhere in the code base. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132057 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h index 8da68b57017..1ce60f96240 100644 --- a/lib/Target/X86/X86InstrInfo.h +++ b/lib/Target/X86/X86InstrInfo.h @@ -449,7 +449,7 @@ namespace X86II { SSEDomainShift = SegOvrShift + 2, OpcodeShift = SSEDomainShift + 2, - OpcodeMask = 0xFFULL << OpcodeShift, + OpcodeMask = 0xFFUL << OpcodeShift, //===------------------------------------------------------------------===// /// VEX - The opcode prefix used by AVX instructions