Skip to content

Commit b92ce53

Browse files
bcheng0127igcbot
authored andcommitted
Changes in code.
1 parent febd1af commit b92ce53

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

visa/GraphColor.cpp

+2-7
Original file line numberDiff line numberDiff line change
@@ -7755,13 +7755,8 @@ bool GraphColor::regAlloc(bool doBankConflictReduction,
77557755
assignColors(FIRST_FIT);
77567756
}
77577757
} else {
7758-
// assign registers for ARFs using a round-robin heuristic
7759-
// For address register, there is no fragment issue
7760-
if (builder.needA0WAR()) {
7761-
assignColors(ROUND_ROBIN, false, false);
7762-
} else {
7763-
assignColors(FIRST_FIT, false, false);
7764-
}
7758+
// assign registers for ARFs using a first-fit heuristic
7759+
assignColors(FIRST_FIT, false, false);
77657760
}
77667761

77677762
return (requireSpillCode() == false);

0 commit comments

Comments
 (0)