mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-16 09:30:09 +00:00
[AMDGPU] Give enum an explicit 64-bit type to fix MSVC 2013 failures
Recall that MSVC always gives enums the type 'int', nothing else. MSVC 2015 does not appear to have this problem anymore. Clang-cl -Wmicrosoft-enum-value flags this, FWIW, so now I have a true positive for my warning. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d6b718ec1
commit
ca77873b47
@ -21,7 +21,7 @@
|
||||
namespace llvm {
|
||||
|
||||
namespace R600InstrFlags {
|
||||
enum {
|
||||
enum : uint64_t {
|
||||
REGISTER_STORE = UINT64_C(1) << 62,
|
||||
REGISTER_LOAD = UINT64_C(1) << 63
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user