-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Bump LLVM and GPUCompiler versions + related fixes #82
Conversation
Drop abi_call for a plain invoke call Change to use string api for pass manager Drop support for versions before 1.10
@@ -93,12 +93,28 @@ Find all static allocation sites in the provided LLVM IR. | |||
|
|||
This function modifies the LLVM module in-place, effectively trashing it. | |||
""" | |||
function find_allocs!(mod::LLVM.Module, meta; ignore_throw=true) | |||
function find_allocs!(mod::LLVM.Module, meta, entry_name::String; ignore_throw=true, invoke_entry=false) |
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.
Can you document what invoke_entry
does?
Looking pretty good, but I'd like to ideally get nightly working: [91723] signal 11 (1): Segmentation fault
in expression starting at /home/topolarity/repos/AllocCheck/test/runtests.jl:181
_ZNK4llvm11LLVMContext14getOptPassGateEv at /home/topolarity/repos/julia/usr/bin/../lib/libLLVM.so.18.1jl (unknown line)
unknown function (ip: (nil))
Allocations: 24540140 (Pool: 24539670; Big: 470); GC: 18
ERROR: Package AllocCheck errored during testing (received signal: 11) |
This bound has been holding a lot back for me. It's been two weeks, any chance you can merge and deal with nightly later? |
These are a simple rename of the `gc_pool_alloc_*` functions we had before.
I was able to most of nightly working, thankfully 👍 Bug for the skipped test is in #84 |
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.
Thanks @gbaraldi - We'll have to follow-up to add the docs and fix the lingering segfault, but let's get this in for now.
The fixes entail
Drop abi_call for a plain invoke call
Change to use string api for pass manager
Drop support for versions before 1.10
1.11 still segfaults so I'm taking a further look1.11 passes tests