Skip to content

Commit

Permalink
Use set for stable order
Browse files Browse the repository at this point in the history
Use set for stable order
  • Loading branch information
pratikashar authored and igcbot committed Feb 25, 2025
1 parent 1117416 commit 48a846f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion IGC/DebugInfo/DwarfDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3424,7 +3424,7 @@ void DwarfDebug::writeFDEStackCall(VISAModule *m) {
// set holds any callee save GRF that has been saved already to stack.
// this is required because of some differences between dbginfo structure
// reporting callee save and dwarf's debug_frame section requirements.
std::unordered_set<uint32_t> calleeSaveRegsSaved;
std::set<uint32_t> calleeSaveRegsSaved;
for (auto &item : CFI.calleeSaveEntry) {
for (unsigned int idx = 0; idx != item.data.size(); ++idx) {
auto regNum = (uint32_t)item.data[idx].srcRegOff /
Expand Down
1 change: 1 addition & 0 deletions visa/Option.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ bool Options::parseOptions(int argc, const char *argv[]) {
m_vISAOptions.setBool(vISA_SplitGRFAlignedScalar, false);
m_vISAOptions.setBool(vISA_SkipRedundantFillInRMW, false);
m_vISAOptions.setBool(vISA_EnableDCE, false);
m_vISAOptions.setBool(vISA_storeCE, true);
m_vISAOptions.setBool(vISA_Debug, true);
}
if (m_vISAOptions.isArgSetByUser(vISA_Stepping)) {
Expand Down

0 comments on commit 48a846f

Please sign in to comment.