mirror of
https://github.com/intel/intel-graphics-compiler.git
synced 2025-10-30 08:18:26 +08:00
[Autobackout][FunctionalRegression]Revert of change: 6cdb2a96a3: Universally run GVN, even when there aren't multiple basic blocks
Universally run GVN, even when there aren't multiple basic blocks
This commit is contained in:
@ -1293,10 +1293,6 @@ void OptimizeIR(CodeGenContext *const pContext) {
|
||||
}
|
||||
mpm.add(new BlockMemOpAddrScalarizationPass());
|
||||
|
||||
if (IGC_IS_FLAG_ENABLED(EnableGVN)) {
|
||||
mpm.add(llvm::createGVNPass());
|
||||
}
|
||||
|
||||
if (pContext->m_instrTypes.hasMultipleBB && !disableGOPT) {
|
||||
if (pContext->m_instrTypes.numOfLoop) {
|
||||
bool allowLICM = IGC_IS_FLAG_ENABLED(allowLICM) && pContext->m_retryManager.AllowLICM();
|
||||
|
||||
Reference in New Issue
Block a user