Commit 77882011 authored by Taddeus Kroes's avatar Taddeus Kroes

Fixed logic error.

parent 3bbf28d8
......@@ -34,7 +34,7 @@ def is_reg_dead_after(reg, block, index, known_jump_targets=[]):
# If dead within the same block, check if the register is in the block's
# live_out set
return reg in RESERVED_DEF or reg not in block.live_out
return reg not in RESERVED_DEF and reg not in block.live_out
def create_use_def(block):
......
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