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

refactor: Pipeline generation of LLVM IR and it's compilation #3622

Conversation

WojciechMazur
Copy link
Contributor

Micro-opimization allowing to start compilation of generated LLVM IR fileds as soon as they're produced. Previously we waited until all the LLVM IR were written to disk and only then started their compilation. Speedup is not significant, less then 1s when building unit tests (17s total) but might be helpfull when having 1 or more slow LLVM IR producers.

Contains a refactor of emebeding build/compiler info in executable using llvm.ident - it was moved to CodeGen and now uses MetadataCodeGen capabilities.

@WojciechMazur WojciechMazur force-pushed the refactor/pipeline-codegen-and-compilation branch from a1171a4 to 54c04ba Compare January 30, 2024 22:49
@WojciechMazur WojciechMazur changed the title Pipeline generation of LLVM IR and it's compilation refactor: Pipeline generation of LLVM IR and it's compilation Jan 31, 2024
@WojciechMazur WojciechMazur merged commit e500dfc into scala-native:main Jan 31, 2024
57 of 62 checks passed
@WojciechMazur WojciechMazur deleted the refactor/pipeline-codegen-and-compilation branch January 31, 2024 17:38
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

1 participant