File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -846,7 +846,7 @@ void EmitAssemblyHelper::EmitAssembly(BackendAction Action,
846846 PerModulePasses.add (
847847 createAlwaysInlinerLegacyPass (true /* InsertLifetimeIntrinsics*/ ));
848848 PerModulePasses.add (createASFixerPass ());
849- PerModulePasses.add (createDeadStoreEliminationPass ());
849+ PerModulePasses.add (createDeadCodeEliminationPass ());
850850 }
851851 PerModulePasses.add (createSPIRVWriterPass (*OS));
852852
@@ -1094,7 +1094,7 @@ void EmitAssemblyHelper::EmitAssemblyWithNewPassManager(
10941094 CodeGenPasses.add (
10951095 createAlwaysInlinerLegacyPass (true /* InsertLifetimeIntrinsics*/ ));
10961096 CodeGenPasses.add (createASFixerPass ());
1097- CodeGenPasses.add (createDeadStoreEliminationPass ());
1097+ CodeGenPasses.add (createDeadCodeEliminationPass ());
10981098 }
10991099 CodeGenPasses.add (createSPIRVWriterPass (*OS));
11001100 break ;
You can’t perform that action at this time.
0 commit comments