mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +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
|
true
|
||||||
}
|
}
|
||||||
|
(BlockExit::Return { value }, BlockExit::Return { value: value_other }) => {
|
||||||
|
is_equiv_operand(value, value_other, map)
|
||||||
|
}
|
||||||
_ => lhs == rhs,
|
_ => lhs == rhs,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user