mirror of
https://github.com/apple/swift.git
synced 2026-11-01 23:11:50 +01:00
In cloneFixedStorageIndex, bail out when an instruction to be cloned has a lifetime-ending operand. Cloning such an instruction (e.g. destructure_struct/destructure_tuple with an @owned operand, end_borrow of a begin_borrow) may create a second consume, violating OSSA invariants.