Skip to content

Commit fd4ff60

Browse files
pratikasharigcbot
authored andcommitted
Sink call to bankConflict() in RA loop
Sink call to bankConflict() in RA loop
1 parent 1f61d8b commit fd4ff60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visa/GraphColor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9875,8 +9875,6 @@ int GlobalRA::coloringRegAlloc() {
98759875

98769876
incRABookKeeping();
98779877

9878-
const auto [doBankConflictReduction, highInternalConflict] = bankConflict();
9879-
98809878
while (iterationNo < maxRAIterations) {
98819879
jitInfo->statsVerbose.RAIterNum++;
98829880
if (builder.getOption(vISA_DynPerfModel)) {
@@ -9904,6 +9902,8 @@ int GlobalRA::coloringRegAlloc() {
99049902

99059903
localSplit(fastCompile, splitPass);
99069904

9905+
const auto [doBankConflictReduction, highInternalConflict] = bankConflict();
9906+
99079907
reserveSpillReg = setupFailSafeIfNeeded(
99089908
fastCompile, hasStackCall, maxRAIterations, failSafeRAIteration);
99099909

0 commit comments

Comments
 (0)