Skip to content

Commit 48a846f

Browse files
pratikasharigcbot
authored andcommitted
Use set for stable order
Use set for stable order
1 parent 1117416 commit 48a846f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

IGC/DebugInfo/DwarfDebug.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3424,7 +3424,7 @@ void DwarfDebug::writeFDEStackCall(VISAModule *m) {
34243424
// set holds any callee save GRF that has been saved already to stack.
34253425
// this is required because of some differences between dbginfo structure
34263426
// reporting callee save and dwarf's debug_frame section requirements.
3427-
std::unordered_set<uint32_t> calleeSaveRegsSaved;
3427+
std::set<uint32_t> calleeSaveRegsSaved;
34283428
for (auto &item : CFI.calleeSaveEntry) {
34293429
for (unsigned int idx = 0; idx != item.data.size(); ++idx) {
34303430
auto regNum = (uint32_t)item.data[idx].srcRegOff /

visa/Option.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ bool Options::parseOptions(int argc, const char *argv[]) {
263263
m_vISAOptions.setBool(vISA_SplitGRFAlignedScalar, false);
264264
m_vISAOptions.setBool(vISA_SkipRedundantFillInRMW, false);
265265
m_vISAOptions.setBool(vISA_EnableDCE, false);
266+
m_vISAOptions.setBool(vISA_storeCE, true);
266267
m_vISAOptions.setBool(vISA_Debug, true);
267268
}
268269
if (m_vISAOptions.isArgSetByUser(vISA_Stepping)) {

0 commit comments

Comments
 (0)