Hotfix ir equiv

This commit is contained in:
Jeehoon Kang
2020-06-15 07:00:05 +00:00
parent 67920894bb
commit dcc09cb472

View File

@@ -306,6 +306,9 @@ fn is_equiv_block_exit(lhs: &BlockExit, rhs: &BlockExit, map: &HashMap<BlockId,
}
true
}
(BlockExit::Return { value }, BlockExit::Return { value: value_other }) => {
is_equiv_operand(value, value_other, map)
}
_ => lhs == rhs,
}
}