-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
compiler: threaded codegen (and more goodies) #24124
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
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
424e6ac
compiler: minor refactors to ZCU linking
mlugg 3743c3e
compiler: slightly untangle LLVM from the linkers
mlugg 2fb6f5c
link: divorce LLD from the self-hosted linkers
mlugg 66d15d9
link: make checking for failed types the responsibility of Compilation
mlugg 9eb400e
compiler: rework backend pipeline to separate codegen and link
mlugg 5ab307c
compiler: get most backends compiling again
mlugg c0df707
wasm: get self-hosted compiling, and supporting `separate_thread`
mlugg 89ba885
spirv: make the backend compile again
mlugg 808c15d
link.Lld: remove dead caching logic
mlugg b5f73f8
compiler: rework emit paths and cache modes
mlugg d24af29
CMakeLists: update file list
mlugg 580d622
Zcu: fix verbose air
jacobly0 c4ec382
InternPool: store the Nav types are named after
mlugg c95b1bf
x86_64: remove air references from mir
jacobly0 ba53b14
x86_64: remove linker references from codegen
jacobly0 db5d85b
compiler: improve progress output
mlugg ac745ed
compiler: estimate totals for "Code Generation" and "Linking" progres…
mlugg e28b699
libs: fix caching behavior
mlugg 89a6c73
Zcu: fix `deleteExport` crash with LLVM backend
mlugg a3abaae
test-link: correct expected object file name
mlugg 5611969
x86_64: fix `dbg_var_ptr` types in debug info
jacobly0 d312dfc
codegen: make threadlocal logic consistent
jacobly0 7461370
Sema: fix union layout logic to match struct layout logic
jacobly0 afa07f7
x86_64: implement coff relocations
jacobly0 22e9610
link: fix goff and xcoff flush
mlugg 7f2f107
Zcu: SPIR-V also doesn't generate MIR (yet)
mlugg 1b27369
cli: correctly error for missing output directories
mlugg ff89a98
link.Queue: release safety lock before releasing mutex after stopping
mlugg 4d2b216
test-stack-traces: correct expected object file name
jacobly0 d7afd79
Zcu: handle unreferenced `test_functions` correctly
mlugg de69d63
stage1: elaborate on "unimplemented" in wasi.c
mlugg f9a670d
Compilation: prevent zig1 depending on fd_readdir
mlugg 5bb5aaf
compiler: don't queue too much AIR/MIR
mlugg 71baa5e
compiler: improve progress output
mlugg 43d01ff
x86_64.Lower: replace slow stringToEnum call
mlugg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.