Commit 3bb0ab74 authored by Paul's avatar Paul
Browse files

Reenable the live_on_entry check

parent a5c1c7f6
......@@ -233,9 +233,8 @@ void memory_coloring_impl::verify()
if(segment.begin == invalid_offset)
{
// TODO: This check breaks on the tests
// if(!interval.is_live_on_entry)
// MIGRAPHX_THROW("interval is not live on entry");
if(!interval.is_live_on_entry)
MIGRAPHX_THROW("interval is not live on entry");
continue;
}
......
......@@ -594,7 +594,7 @@ TEST_CASE(test38)
auto p83 = p.add_instruction(pass_op{}, p78, p77);
p.add_instruction(pass_op{}, output, p83, p63);
p.compile(memory_coloring_target{});
CHECK(p.get_parameter_shape("scratch").bytes() == 7225344);
CHECK(p.get_parameter_shape("scratch").bytes() == 7225344); // Optimal solution is 6422528
CHECK(no_allocate(p));
}
......
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