mirror of
https://github.com/kmc7468/cs420.git
synced 2026-11-04 00:00:29 +09:00
Hotfix ir equiv
This commit is contained in:
1 parent
67920894bb
commit
dcc09cb472
1 file changed
+3
@@ -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