From: Joerg Sonnenberger Date: Mon, 4 Apr 2011 21:38:17 +0000 (+0000) Subject: Make OpcodeMask an unsigned long long literal to deal with overflow. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c15a91dfc84822037c40ae9d37f63ce1b1a763bb;p=oota-llvm.git Make OpcodeMask an unsigned long long literal to deal with overflow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128847 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h index 39448cabb49..4625b4c986a 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 = 0xFF << OpcodeShift, + OpcodeMask = 0xFFULL << OpcodeShift, //===------------------------------------------------------------------===// /// VEX - The opcode prefix used by AVX instructions