mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When the utility is used by the ConsumeOperatorCopyableValuesChecker, the checker guarantees that the lifetime can end at the consumes, that there are no uses after those consumes. In that circumstance, the utility maintains liveness to those consumes and as far as possible without introducing a copy everywhere else. The lack of complete lifetimes has forced the utility to extend liveness of values to dead-ends. That extension, however, is in tension with the use that the checker is putting the utility to. If there is a dead-end after a consume, liveness must not be maintained to that dead-end. rdar://147586673
61 KiB
61 KiB