Skip to content

arm64_32: only use 4-byte stack slot for tail call pointer args #3078

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

TNorthover
Copy link

We're currently allocating 8-byte (overlapping) slots for pointers on arm64_32 which confusess PrologEpilogEmitter later on. This calculates the size correctly.

Only arm64_32 ever uses the Trunc option so there should be no risk of side-effects.

@TNorthover
Copy link
Author

@Swift-C please test

@aschwaighofer
Copy link

@swift-ci test

@TNorthover TNorthover merged commit 6bb0ec8 into swiftlang:apple/stable/20210107 Jul 13, 2021
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.

2 participants