Commit 8fc9dd69 authored by Jayaram Bobba's avatar Jayaram Bobba Committed by Robert Kimball

Move get output elimination pass prior to liveness analysis (#649)

parent 19899f4d
......@@ -289,9 +289,9 @@ void runtime::cpu::CPU_ExternalFunction::compile()
pass_manager.register_pass<runtime::cpu::pass::CPUAssignment>(this);
pass_manager.register_pass<runtime::cpu::pass::CPULayout>(this);
pass_manager.register_pass<ngraph::pass::ResultCopyElimination>();
pass_manager.register_pass<ngraph::pass::GetOutputElementElimination>();
pass_manager.register_pass<ngraph::pass::Liveness>();
pass_manager.register_pass<ngraph::pass::MemoryLayout>(s_memory_pool_alignment);
pass_manager.register_pass<ngraph::pass::GetOutputElementElimination>();
pass_manager.run_passes(m_function);
codegen::CodeWriter writer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment