mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When visiting consumes, also visit `extend_lifetime` instructions. These instructions are not lifetime ending, but together with the consumes, they enclose the users of a value. Add a flag to LinearLiveness to control whether these instructions are added so that the verifier can use verify that all such instructions appear outside the linear lifetime boundary (not including them).