swift
1fee4fe9 - Optimizer: support partial_apply of thunks in the `copy_block` simplification.

Commit
1 year ago
Optimizer: support partial_apply of thunks in the `copy_block` simplification. If the block is passed to another function - either as closure argument or as closure capture - it's "converted" to a swift closure with the help of a thunk. The thunk just calls the block. If this is done with a non-escaping partial_apply, the block does not escape. rdar://149095630
Author
Parents
Loading