projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f6a4d
)
Fix MSVC warning: "is out of range for enum constant"
author
Francois Pichet
<pichet2000@gmail.com>
Wed, 25 May 2011 15:58:10 +0000
(15:58 +0000)
committer
Francois Pichet
<pichet2000@gmail.com>
Wed, 25 May 2011 15:58:10 +0000
(15:58 +0000)
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
lib/Target/X86/X86InstrInfo.h
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86InstrInfo.h
b/lib/Target/X86/X86InstrInfo.h
index 8da68b5701779e6bf7888d4806e3b59981a7728e..1ce60f96240f349fa913e5284384cb6cafe1ce62 100644
(file)
--- 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 = 0xFFUL
L
<< OpcodeShift,
+ OpcodeMask = 0xFFUL << OpcodeShift,
//===------------------------------------------------------------------===//
/// VEX - The opcode prefix used by AVX instructions