Skip to content

Commit cb1446b

Browse files
bcheng0127igcbot
authored andcommitted
[Autobackout][FuncReg]Revert of change: 59b5f50
Enable GRF spill/fill space compression by default for 3D Remove the heuristic for the 3D
1 parent fa44909 commit cb1446b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

visa/GraphColor.cpp

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

98309831
startTimer(TimerID::SPILL);

0 commit comments

Comments
 (0)