-
-
Notifications
You must be signed in to change notification settings - Fork 272
runtime/jit-rt: revive and migrates the whole thing to OrcJIT v2 #4774
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
28 commits
Select commit
Hold shift + click to select a range
def892e
runtime/jit-rt: migrate the whole thing to OrcJIT v2 ...
liushuyu df6a2b8
cmake: enable dynamic compile for LLVM 18 ~ 19
liushuyu 2d267ef
dynamic_compile.d: fix several minor warnings wrt `in` storage class
liushuyu af6a9cc
jit-rt: handle stack return arguments
liushuyu c567296
tests/dynamiccompile: add a new test case simd_simple_opt.d
liushuyu ad878c2
dynamic-compile: Don't use *packed* RtCompileModuleList IR struct
kinke d8c6981
tests/dynamiccompile/asm_output.d: Add ARM support
kinke 36ad8f5
dynamic-compile: Fix registerBindPayload() signature on C++ side
kinke 9d64aaf
jit-rt: quick hack around function type ABI rewrites on aarch64
liushuyu bed1723
tests: check LLVM IR for canary values in several tests ...
liushuyu 66213be
dynamic-compile: Fix __chkstk dummy on 32-bit Windows
kinke 0437509
jit-rt: add support for experimental LLVM JITLink linker
liushuyu 9a3122e
jit-rt: add aarch64 eh_personality thunk if LLVM JITLink is not ...
liushuyu d25bd5d
cmake: use LLVM JITLink by default on well-supported platforms
liushuyu ea63e55
cmake: disable LLVM JITLink on Windows by default ...
liushuyu 307f41e
lit.site.cfg.in: set a 60s timeout for each LIT test
liushuyu 37a7ee8
jit-rt: add support for JIT'ing inline assembly constructs
liushuyu 4ca08e3
jit-rt: rewrite by extending prefabricated LLJIT
liushuyu ced80cc
jit-rt: fix Windows ABI issues by undo some of the ABI rewrites
liushuyu e781a7d
tests/lit.site.cfg.in: define platform + architecture combination ...
liushuyu 7f23555
cmake: quote D compiler path properly ...
liushuyu 4bea954
gen/dynamiccompile.cpp: remove unnecessary bitcasts
liushuyu 62e5cc5
cmake: remove dynamic compile LLVM version upper bound
liushuyu 5b61277
Refactoring: Merge compiler and jit-rt optimizer.cpp versions
kinke 8481673
[address my remaining nits]
kinke dc5a2f5
[add changelog entry]
kinke 4f3097c
[add missing const to fake-pure gc_{add,remove}Range() declarations]
kinke 48a48ec
jit-rt: Try to simplify bind wrt. handling implicit arguments
kinke 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how that works when cross-compiling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_PROCESSOR.html#variable:CMAKE_SYSTEM_PROCESSOR, the user should set this variable to the target processor name when cross-compiling.