Skip to content

Commit bb3ec0e

Browse files
pkwasnie-intelpszymich
authored andcommitted
disable GEPLoopStrengthReductionPass
Disable GEPLoopStrengthReductionPass. (cherry picked from commit 38ea4c79bdc1b2b6cfdfe1928e557191510233f7)
1 parent 01b4490 commit bb3ec0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,8 +1503,8 @@ void OptimizeIR(CodeGenContext* const pContext)
15031503
!useStatelessToStateful(*pContext) &&
15041504
pContext->m_retryManager.IsFirstTry())
15051505
{
1506-
mpm.add(createGEPLoopStrengthReductionPass(IGC_IS_FLAG_ENABLED(allowLICM) &&
1507-
pContext->m_retryManager.AllowLICM()));
1506+
//mpm.add(createGEPLoopStrengthReductionPass(IGC_IS_FLAG_ENABLED(allowLICM) &&
1507+
// pContext->m_retryManager.AllowLICM()));
15081508
}
15091509
}
15101510

0 commit comments

Comments
 (0)