Skip to content

Commit 484de8a

Browse files
Jay-Jiewu-Lusys_zuul
authored andcommitted
Remove redundant LICM pass
Change-Id: I19bf17914e7c78011f07a1f741149b841655d081
1 parent 0485040 commit 484de8a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,6 @@ void OptimizeIR(CodeGenContext* const pContext)
14861486
int licmTh = IGC_GET_FLAG_VALUE(LICMStatThreshold);
14871487
mpm.add(new InstrStatistic(pContext, LICM_STAT, InstrStatStage::BEGIN, licmTh));
14881488
mpm.add(llvm::createLICMPass());
1489-
mpm.add(llvm::createLICMPass());
14901489
mpm.add(new InstrStatistic(pContext, LICM_STAT, InstrStatStage::END, licmTh));
14911490
}
14921491

0 commit comments

Comments
 (0)