Skip to content

Commit 6d3f69e

Browse files
sys-igcigcbot
authored andcommitted
[Autobackout][FunctionalRegression]Revert of change: 6cdb2a9: Universally run GVN, even when there aren't multiple basic blocks
Universally run GVN, even when there aren't multiple basic blocks
1 parent 6cdb2a9 commit 6d3f69e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,10 +1293,6 @@ void OptimizeIR(CodeGenContext *const pContext) {
12931293
}
12941294
mpm.add(new BlockMemOpAddrScalarizationPass());
12951295

1296-
if (IGC_IS_FLAG_ENABLED(EnableGVN)) {
1297-
mpm.add(llvm::createGVNPass());
1298-
}
1299-
13001296
if (pContext->m_instrTypes.hasMultipleBB && !disableGOPT) {
13011297
if (pContext->m_instrTypes.numOfLoop) {
13021298
bool allowLICM = IGC_IS_FLAG_ENABLED(allowLICM) && pContext->m_retryManager.AllowLICM();

0 commit comments

Comments
 (0)