diff options
author | Francois Pichet <pichet2000@gmail.com> | 2011-05-25 15:58:10 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2011-05-25 15:58:10 +0000 |
commit | d9e57c146d3084d7efe2de48dc2cd1f99d4fa656 (patch) | |
tree | f098f41eaf06bc33e22eae16dc8efb286821ea66 | |
parent | 52f6a4de951edf890c3988c92318b13e45fd3b85 (diff) | |
download | external_llvm-d9e57c146d3084d7efe2de48dc2cd1f99d4fa656.zip external_llvm-d9e57c146d3084d7efe2de48dc2cd1f99d4fa656.tar.gz external_llvm-d9e57c146d3084d7efe2de48dc2cd1f99d4fa656.tar.bz2 |
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
-rw-r--r-- | lib/Target/X86/X86InstrInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h index 8da68b5..1ce60f9 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 |