swift
9cdd9fab - ReleaseDevirtualizer: improve finding the last release of an allocation

Commit
1 year ago
ReleaseDevirtualizer: improve finding the last release of an allocation With OSSA it can happen more easily that the final release is not immediately located before the related dealloc_stack_ref. Therefore do a more precise check (using escape analysis) if any instruction between a release and a dealloc_stack_ref might (implicitly) release the allocated object. This is part of fixing regressions when enabling OSSA modules: rdar://140229560
Author
Parents
Loading