-
Notifications
You must be signed in to change notification settings - Fork 66
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
Fewer anonymous funcs and despecialize inference #2131
base: main
Are you sure you want to change the base?
Conversation
Benchmark Results
Benchmark PlotsA plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR. |
|
||
define i64 @f({} addrspace(10)* %obj) readnone alwaysinline { | ||
%c = addrspacecast {} addrspace(10)* %obj to {} addrspace(11)* | ||
%r = call {}* @julia.pointer_from_objref({} addrspace(11)* %c) |
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.
Huh? Doesn't this break code?
@@ -1,6 +1,6 @@ | |||
# For julia runtime function emission | |||
|
|||
function emit_allocobj!( | |||
Base.@nospecializeinfer function emit_allocobj!( |
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 we import Base: @nospecializeinfer
?
for lbb in blocks(initfn), linst in collect(instructions(lbb)) | ||
for lbb in blocks(initfn) | ||
liter = LLVM.API.LLVMGetFirstInstruction(lbb) | ||
while liter != C_NULL |
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.
Why not simply for linst in instructions(lbb)
?
No description provided.