Commit d87a9eef authored by Paul's avatar Paul
Browse files

Formatting

parent 4e960940
...@@ -42,7 +42,8 @@ void dead_code_elimination::apply(program& p) const ...@@ -42,7 +42,8 @@ void dead_code_elimination::apply(program& p) const
if(i == last) if(i == last)
break; break;
// Skip instruction with empty shape as output unless its a builtin or undefined // Skip instruction with empty shape as output unless its a builtin or undefined
if(i->get_shape().elements() == 0 and not(i->name().front() == '@') and not(i->name() == "undefined")) if(i->get_shape().elements() == 0 and not(i->name().front() == '@') and
not(i->name() == "undefined"))
continue; continue;
assert(bidistance(p, i, last) > 0); assert(bidistance(p, i, last) > 0);
fix([&](auto self, auto leaf) { fix([&](auto self, auto leaf) {
......
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