Skip to content

[5.3] IRGen: Always eliminate frame pointers of leaf functions #31968

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

aschwaighofer
Copy link
Contributor

Explanation: This change makes it such that we don't emit frame pointers
in leaf functions leading to decreased code size and improved
performance.

Scope: Should not visibly affect Swift programs other than making them
faster.

Risk: Medium. There might be unknown dependencies on having the frame
pointer available in leaf functions.

Testing: Unit test added

Reviewer: Andrew Trick

rdar://20933449

Explanation: This change makes it such that we don't emit frame pointers
in leaf functions leading to decreased code size and improved
performance.

Scope: Should not visibly affect Swift programs other than making them
faster.

Risk: Medium. There might be unknown dependencies on having the frame
pointer available in leaf functions.

Testing: Unit test added

Reviewer: Andrew Trick

rdar://20933449
@aschwaighofer aschwaighofer requested a review from a team as a code owner May 22, 2020 16:15
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test

@aschwaighofer aschwaighofer marked this pull request as draft May 22, 2020 17:17
@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 4a74c8f

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 4a74c8f

@aschwaighofer aschwaighofer marked this pull request as ready for review May 26, 2020 13:51
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 4a74c8f

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 4a74c8f

@airspeedswift airspeedswift merged commit d831670 into swiftlang:release/5.3 Jun 4, 2020
@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants