-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Move JITLink from StringRefs to SymbolStringPtrs #55533
Comments
@llvm/issue-subscribers-orcjit |
@llvm/issue-subscribers-good-first-issue |
@llvm/issue-subscribers-jitlink |
I'm gonna try and fix this. Will report back on progress soon. |
@moazin Thanks for looking into this! If you have questions, feel free to reach out in the #JIT Channel in the LLVM Discord: https://discord.gg/5H8JSRe |
There hadn't been any movement on this for a while. So I have a review up for it now. Sorry if I trod on any toes. |
Hi Jared, thanks for working on this. Can you maybe link your review here? |
@weliveindetail -- The review is at https://reviews.llvm.org/D132988. |
There don't seem to be any updates to the review at all recently, is it possible to take over this review? |
I reached out to @jaredwy and he said that he's almost done with the work and hopes to land it soon. |
Hey @weliveindetail - I'm very interested in what this PR can help out Julia's rubtime for memory footprint. Is there anyway I can help push this along? |
JITLink is using the
lllvm::StringRef
type in many places wherellvm::orc::SymbolStringPtr
would result in better performance and memory footprint, e.g.llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
Lines 648 to 649 in 7748055
In such cases the string should be interned in a
llvm::orc::SymbolStringPool
and referenced viallvm::orc::SymbolStringPtr
.The text was updated successfully, but these errors were encountered: