mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-23 12:11:58 +00:00
SIMachineFunctionInfo.cpp: Appease msc18 to use std::array.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273860 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a3b139888
commit
c4cd97e86f
@ -53,8 +53,8 @@ SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF)
|
||||
ReturnsVoid(true),
|
||||
MaximumWorkGroupSize(0),
|
||||
DebuggerReservedVGPRCount(0),
|
||||
DebuggerWorkGroupIDStackObjectIndices{0, 0, 0},
|
||||
DebuggerWorkItemIDStackObjectIndices{0, 0, 0},
|
||||
DebuggerWorkGroupIDStackObjectIndices({{0, 0, 0}}),
|
||||
DebuggerWorkItemIDStackObjectIndices({{0, 0, 0}}),
|
||||
LDSWaveSpillSize(0),
|
||||
PSInputEna(0),
|
||||
NumUserSGPRs(0),
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user