Skip to content

Commit ae640d5

Browse files
bcheng0127sys_zuul
authored andcommitted
SWSB bug fix
Change-Id: Ifc90ce42a3917d13ad7bc4e69a63e4683bc24eb6
1 parent d10c8b5 commit ae640d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

visa/LocalScheduler/SWSB_G4IR.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6057,6 +6057,11 @@ void vISA::forceDebugSWSB(G4_Kernel* kernel)
60576057
bb->insertBefore(new_it, newInst);
60586058
newInst->setLexicalId(instID);
60596059
instID++;
6060+
if (new_it == bb->end())
6061+
{
6062+
break;
6063+
}
6064+
inst_it++;
60606065
}
60616066
}
60626067
}

0 commit comments

Comments
 (0)