diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-06-27 10:26:43 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-06-27 10:26:43 +0000 |
commit | 5cbd41e0a8b35f295140b5366e30e602f2221310 (patch) | |
tree | 6b3ef5fc4b204e6b105608a4d492cd1d6a0d6b2e /llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h | |
parent | f619b50fabb5d45e62caf5b88b985cac1ced7b39 (diff) | |
download | bcm5719-llvm-5cbd41e0a8b35f295140b5366e30e602f2221310.tar.gz bcm5719-llvm-5cbd41e0a8b35f295140b5366e30e602f2221310.zip |
SIMachineFunctionInfo.cpp: Appease msc18 to use std::array.
llvm-svn: 273860
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h index a0d95d56519..33d41926440 100644 --- a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h +++ b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h @@ -16,6 +16,7 @@ #include "AMDGPUMachineFunction.h" #include "SIRegisterInfo.h" +#include <array> #include <map> namespace llvm { @@ -65,9 +66,9 @@ class SIMachineFunctionInfo final : public AMDGPUMachineFunction { // Number of reserved VGPRs for debugger usage. unsigned DebuggerReservedVGPRCount; // Stack object indices for work group IDs. - int DebuggerWorkGroupIDStackObjectIndices[3]; + std::array<int, 3> DebuggerWorkGroupIDStackObjectIndices; // Stack object indices for work item IDs. - int DebuggerWorkItemIDStackObjectIndices[3]; + std::array<int, 3> DebuggerWorkItemIDStackObjectIndices; public: // FIXME: Make private |