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),
#include "AMDGPUMachineFunction.h"
#include "SIRegisterInfo.h"
+#include <array>
#include <map>
namespace llvm {
// 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