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

Make some code easier to inline #1102

Closed
wants to merge 11 commits into from
Closed

Make some code easier to inline #1102

wants to merge 11 commits into from

Conversation

dwightguth
Copy link
Collaborator

The llvm backend was not being particularly intelligent about the ability to inline certain function calls. Here we move all the .ll files in the runtime directory into the module used to initialize code generation. This allows these calls to live in one translation unit and be better optimized, while also simplifying llvm-kompile-clang.

Dwight Guth added 10 commits July 5, 2024 09:31
This is needed because previously we handled these with weak symbols,
but the linker can no longer do this for us because everything is now in
the same translation unit. Therefore, we reset these functions so that
they no longer contain their "default" implementations when they get
created by the compiler.
@rv-jenkins rv-jenkins changed the base branch from master to develop July 5, 2024 14:33
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