Skip to content

Commit 3745f73

Browse files
committed
Extend AllocBoxToStack to handle apply
AllocBoxToStack analyzes the uses of boxes and promotes them to stack if it is safe to do so. Currently the analysis is limited to only a few known users including partial_apply. With this change, the pass also analyzes apply users, where the callee is a local private function. The analysis is recursive and bound by a threshold. Fixes rdar://59070139
1 parent de9b696 commit 3745f73

File tree

6 files changed

+1054
-104
lines changed

6 files changed

+1054
-104
lines changed

0 commit comments

Comments
 (0)