Skip to content

Commit 50c8c2b

Browse files
lioujheyuigcbot
authored andcommitted
Add IGCInstructionCombining before SplitIndirectEEtoSel
Add IGCInstructionCombining before SplitIndirectEEtoSel
1 parent 863be9a commit 50c8c2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ void AddLegalizationPasses(CodeGenContext& ctx, IGCPassManager& mpm, PSSignature
655655
// There's no particular reason for this exact place, but it should be after LowerGEPForPrivMem
656656
if (IGC_IS_FLAG_ENABLED(EnableSplitIndirectEEtoSel))
657657
{
658+
mpm.add(createIGCInstructionCombiningPass());
658659
mpm.add(createSplitIndirectEEtoSelPass());
659660
}
660661

0 commit comments

Comments
 (0)