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

[opt] dead thin to thick in mand combine #30475

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zoecarver
Copy link
Collaborator

This patch supports basic elimination of dead thick to thin function refs in mandatory combine. With #30463 and store elimination more complex function bodies [1] could also be fully optimized away. This patch is taken from #28536.

[1] this is an example of a function I pulled almost directly from silgen. I have verified that after applying this patch, #30463, and a store elimination patch all loads, stores, and closures are able to be removed. That being said, it may not be worth the extra Onone compile time.

@zoecarver zoecarver requested a review from gottesmm March 18, 2020 18:52
@zoecarver zoecarver changed the title [opt] dead thick to thing in mand combine [opt] dead thin to thick in mand combine Mar 18, 2020
@zoecarver
Copy link
Collaborator Author

@swift-ci please smoke test

@zoecarver
Copy link
Collaborator Author

@gottesmm friendly ping.

@shahmishal
Copy link
Member

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

  • How to change the base branch: (Link)
  • More detail about the branch update: (Link)

@zoecarver zoecarver changed the base branch from master to main October 2, 2020 04:16
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.

None yet

2 participants