Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 8fc9dd6

Browse files
Jayaram Bobbarkimballn1
authored andcommitted
Move get output elimination pass prior to liveness analysis (#649)
1 parent 19899f4 commit 8fc9dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngraph/runtime/cpu/cpu_external_function.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ void runtime::cpu::CPU_ExternalFunction::compile()
289289
pass_manager.register_pass<runtime::cpu::pass::CPUAssignment>(this);
290290
pass_manager.register_pass<runtime::cpu::pass::CPULayout>(this);
291291
pass_manager.register_pass<ngraph::pass::ResultCopyElimination>();
292+
pass_manager.register_pass<ngraph::pass::GetOutputElementElimination>();
292293
pass_manager.register_pass<ngraph::pass::Liveness>();
293294
pass_manager.register_pass<ngraph::pass::MemoryLayout>(s_memory_pool_alignment);
294-
pass_manager.register_pass<ngraph::pass::GetOutputElementElimination>();
295295
pass_manager.run_passes(m_function);
296296

297297
codegen::CodeWriter writer;

0 commit comments

Comments
 (0)