Skip to content

Commit 59b5f50

Browse files
bcheng0127igcbot
authored andcommitted
Enable GRF spill/fill space compression by default for 3D
Remove the heuristic for the 3D
1 parent f9b4916 commit 59b5f50

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

visa/GraphColor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9824,8 +9824,7 @@ GlobalRA::insertSpillCode(bool enableSpillSpaceCompression,
98249824
if (getIterNo() == 0 && enableSpillSpaceCompression &&
98259825
kernel.getInt32KernelAttr(Attributes::ATTR_Target) == VISA_3D &&
98269826
!hasStackCall) {
9827-
enableSpillSpaceCompression = spillSpaceCompression(
9828-
computeSpillSize(coloring.getSpilledLiveRanges()), globalScratchOffset);
9827+
enableSpillSpaceCompression = true;
98299828
}
98309829

98319830
startTimer(TimerID::SPILL);

0 commit comments

Comments
 (0)