Skip to content

Commit fc57cd1

Browse files
sys-igcigcbot
authored andcommitted
[Autobackout][FunctionalRegression]Revert of change: ec4f8fc: Disable spill compaction in retry
Disable spill compaction in retry
1 parent 4fa397d commit fc57cd1

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

IGC/Compiler/CodeGenContext.cpp

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,13 @@ namespace IGC
3636
bool allowLargeGRF;
3737
bool allowLoadSinking;
3838
bool forceIndirectCallsInSyncRT;
39-
bool allowRaytracingSpillCompaction;
4039
unsigned nextState;
4140
};
4241

4342
static const RetryState RetryTable[] = {
44-
// adrCl licm codSk AdrSk Slice PrivM VISAP URBWr Coals GRF loadSk, SyncRT, compactspills
45-
{ false, true, true, false, false, true, true, true, true, false, false, false, true, 1 },
46-
{ true, false, true, true, true, false, false, false, false, true, true, true, false, 500 }
43+
// adrCl licm codSk AdrSk Slice PrivM VISAP URBWr Coals GRF loadSk, SyncRT
44+
{ false, true, true, false, false, true, true, true, true, false, false, false, 1 },
45+
{ true, false, true, true, true, false, false, false, false, true, true, true, 500 }
4746
};
4847

4948
static constexpr size_t RetryTableSize = sizeof(RetryTable) / sizeof(RetryState);
@@ -163,13 +162,6 @@ namespace IGC
163162
return RetryTable[id].forceIndirectCallsInSyncRT;
164163
}
165164

166-
bool RetryManager::AllowRaytracingSpillCompaction() const
167-
{
168-
unsigned id = GetRetryId();
169-
IGC_ASSERT(id < RetryTableSize);
170-
return RetryTable[id].allowRaytracingSpillCompaction;
171-
}
172-
173165
bool RetryManager::AllowLoadSinking(Function* F) const
174166
{
175167
unsigned id = GetPerFuncRetryStateId(F);

IGC/Compiler/CodeGenPublic.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,6 @@ namespace IGC
769769
bool AllowConstantCoalescing(llvm::Function* F = nullptr) const;
770770
bool AllowLargeGRF(llvm::Function* F = nullptr) const;
771771
bool ForceIndirectCallsInSyncRT() const;
772-
bool AllowRaytracingSpillCompaction() const;
773772
bool AllowLoadSinking(llvm::Function* F = nullptr) const;
774773
void SetFirstStateId(int id);
775774
bool IsFirstTry() const;

0 commit comments

Comments
 (0)