mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We use the formal source type do decide whether a checked_cast_br is known to succeed/fail. If we don't update it we loose that optimization That is: ``` checked_cast_br AnyObject in %2 : X to X, bb1, bb2 ``` Will not be simplified even though the operand and the destintation type matches.
5.0 KiB
5.0 KiB