mirror of
https://github.com/apple/swift.git
synced 2025-12-29 12:15:29 +01:00
A guaranteed value produced by a begin_borrow can't be both used as an operand of an ownership forwarding-instruction and also reborrowed by being used as a phi argument. Avoid that by stopping rotation when encountering a header block containing an ownership-forwarding instruction whose forwarded ownership kind is guaranteed; such a rotation may result in using both the original guaranteed value and the resulting guaranteed value as phi arguments.
20 KiB
20 KiB