Skip to content

Use shared partial return memory#6071

Open
gingerBill wants to merge 2 commits intomasterfrom
bill/shared-partial-return-memory
Open

Use shared partial return memory#6071
gingerBill wants to merge 2 commits intomasterfrom
bill/shared-partial-return-memory

Conversation

@gingerBill
Copy link
Member

To minimize the stack usage for partial return values requiring alloca, try to reuse it where possible.

Note: this will need a lot of proofing to make sure there are no aliasing issues with this. If aliasing issues do exist, they will definitely be subtle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant