swift
273874cd - ConstantCapturePropagation: don't propagate keypaths with multiple uses in non-OSSA

Commit
96 days ago
ConstantCapturePropagation: don't propagate keypaths with multiple uses in non-OSSA We cannot do this because we don't know where to insert the compensating release after the propagated `partial_apply`. A required `strong_retain` may have been moved over the `partial_apply`. Then we would release the keypath too early. Fixes a mis-compile rdar://161321614
Author
Committer
Parents
Loading