Skip to content

Commit 58627e4

Browse files
houjenkoigcbot
authored andcommitted
Enable spill compaction by default for staged compilation
Enable spill compaction by default for staged compilation
1 parent 236ff52 commit 58627e4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

IGC/AdaptorCommon/API/igc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,14 @@ typedef enum
178178
FCEXP_LOCAL_SCHEDULING = ( 0x1 << 0x5 ),
179179
FCEXP_PRERA_SCHEDULING = ( 0x1 << 0x6 ),
180180
FCEXP_NO_REMAT = ( 0x1 << 0x7 ),
181-
FCEXP_SPILL_COMPRESSION = ( 0x1 << 0x8 ),
181+
FCEXP_NO_SPILL_COMPRESSION = ( 0x1 << 0x8 ),
182182
FCEXP_LOCAL_DECL_SPLIT_GLOBAL_RA = ( 0x1 << 0x9 ),
183183
FCEXP_QUICKTOKEN_ALLOC = ( 0x1 << 0xa ),
184184
FCEXP_DISABLE_UNROLL = ( 0x1 << 0xb ),
185185
FCEXP_TOBE_DESIGNED = ( 0x1 << 0xc ),
186186

187187
// Current default stage 1 options. *Must* be updated whenever the default changes.
188-
FCEXP_DEFAULT = ( FCEXP_DISABLE_LVN | FCEXP_LINEARSCAN | FCEXP_DISABLE_GOPT | FCEXP_LOCAL_SCHEDULING | FCEXP_PRERA_SCHEDULING | FCEXP_SPILL_COMPRESSION | FCEXP_QUICKTOKEN_ALLOC ),
188+
FCEXP_DEFAULT = ( FCEXP_DISABLE_LVN | FCEXP_LINEARSCAN | FCEXP_DISABLE_GOPT | FCEXP_LOCAL_SCHEDULING | FCEXP_PRERA_SCHEDULING | FCEXP_NO_SPILL_COMPRESSION | FCEXP_QUICKTOKEN_ALLOC ),
189189

190190
// Alias for UMD to indicate staged compilation must be disabled
191191
FCEXP_DISABLED = FCEXP_TOBE_DESIGNED

IGC/Compiler/CISACodeGen/CISABuilder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4992,7 +4992,7 @@ namespace IGC
49924992
{
49934993
SaveOption(vISA_LocalScheduling, false);
49944994
SaveOption(vISA_preRA_Schedule, false);
4995-
SaveOption(vISA_SpillSpaceCompression, false);
4995+
SaveOption(vISA_SpillSpaceCompression, true);
49964996
SaveOption(vISA_LVN, false);
49974997
SaveOption(vISA_QuickTokenAllocation, true);
49984998
if (!context->getModuleMetaData()->compOpt.DisableFastestLinearScan &&
@@ -5015,7 +5015,7 @@ namespace IGC
50155015
if (FastestS1Options(context) & FCEXP_NO_REMAT)
50165016
SaveOption(vISA_NoRemat, true);
50175017

5018-
if (FastestS1Options(context) & FCEXP_SPILL_COMPRESSION)
5018+
if (FastestS1Options(context) & FCEXP_NO_SPILL_COMPRESSION)
50195019
SaveOption(vISA_SpillSpaceCompression, false);
50205020

50215021
if (FastestS1Options(context) & FCEXP_LOCAL_DECL_SPLIT_GLOBAL_RA)

0 commit comments

Comments
 (0)