mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
So far we only checked the ownership of incoming values. But even if the incoming instruction has no ownership, the argument may have. This can happen with enums which are constructed with a non-payload case: %1 = enum $Optional<C>, #Optional.none!enumelt br bb3(%1) bb1(%3 : @owned $Optional<C>): Fixes an ownership verification error: rdar://142506300
65 KiB
65 KiB