We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aefd009 commit 8ca10e3Copy full SHA for 8ca10e3
IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp
@@ -1353,8 +1353,7 @@ void OptimizeIR(CodeGenContext *const pContext) {
1353
}
1354
1355
1356
- // Can be completely repalced by LoopUnrollForCodeSizeOnly in GenTTI, Consider completely remove this pass
1357
- if (!pContext->m_retryManager.IsFirstTry() && pContext->m_retryManager.IsLastTry()) {
+ if (!pContext->m_retryManager.IsFirstTry() && pContext->type == ShaderType::OPENCL_SHADER) {
1358
mpm.add(new DisableLoopUnrollOnRetry());
1359
1360
0 commit comments