Skip to content

Commit 215e971

Browse files
sys-igcigcbot
authored andcommitted
[Autobackout][FunctionalRegression]Revert of change: 6876fb5: Enable loop unrolling in retry
Enable loop unrolling in retry
1 parent 38f1569 commit 215e971

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,10 @@ void OptimizeIR(CodeGenContext *const pContext) {
13531353
}
13541354

13551355

1356+
// Can be completely repalced by LoopUnrollForCodeSizeOnly in GenTTI, Consider completely remove this pass
1357+
if (!pContext->m_retryManager.IsFirstTry() && pContext->m_retryManager.IsLastTry()) {
1358+
mpm.add(new DisableLoopUnrollOnRetry());
1359+
}
13561360

13571361

13581362
mpm.add(createIGCInstructionCombiningPass());

0 commit comments

Comments
 (0)