misc: Update gem5 to use clang-15 and clang-16

This introduces the changes necessary for clang-15 and clang-16
to run within gem5, and adds them to the compiler tests.

Change-Id: If809eae1bd8c366b4d62476891feff0625bdf210
This commit is contained in:
Melissa Jost
2023-09-27 09:33:53 -07:00
parent 3bdcfd6f7a
commit 34c3676105
3 changed files with 4 additions and 4 deletions

View File

@@ -254,7 +254,7 @@ Commit::setActiveThreads(std::list<ThreadID> *at_ptr)
}
void
Commit::setRenameMap(UnifiedRenameMap rm_ptr[])
Commit::setRenameMap(UnifiedRenameMap rm_ptr[MaxThreads])
{
for (ThreadID tid = 0; tid < numThreads; tid++)
renameMap[tid] = &rm_ptr[tid];

View File

@@ -286,7 +286,7 @@ Rename::setActiveThreads(std::list<ThreadID> *at_ptr)
void
Rename::setRenameMap(UnifiedRenameMap rm_ptr[])
Rename::setRenameMap(UnifiedRenameMap rm_ptr[MaxThreads])
{
for (ThreadID tid = 0; tid < numThreads; tid++)
renameMap[tid] = &rm_ptr[tid];