mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 06:58:50 +00:00
Hotfix ir equiv
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user