Skip to content
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

[SR-4041] Reinstate the IRGen optimization of reusing the original function as the partial apply thunk #46624

Open
aschwaighofer opened this issue Feb 23, 2017 · 0 comments
Assignees
Labels
compiler The Swift compiler in itself improvement IRGen LLVM IR generation

Comments

@aschwaighofer
Copy link
Member

Previous ID SR-4041
Radar None
Original Reporter @aschwaighofer
Type Improvement
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Improvement, IRGen
Assignee @aschwaighofer
Priority Medium

md5: cbb76a1bbe62ef8c3b806ffde3c554c1

Issue Description:

For the move to the swift calling convention and swiftself I disabled the optimization that forwards to the closure function when there is a "SingleRefernenceCountedContext" instead of building a thunk.

We should reinstate this optimization once we have a @convention(closure) whose box argument should just be swiftself.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself improvement IRGen LLVM IR generation
Projects
None yet
Development

No branches or pull requests

1 participant