You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When debugging some code for #2011, I noticed tons of runtime.alloc(i32 0) calls scattered throughout the IR.
It could be beneficial to rewrite them to a pointer to a single global.
This would eliminate a call, and allow LLVM to preform more optimizations.
The text was updated successfully, but these errors were encountered:
niaow
changed the title
runtime/compiler/transform (gc): generated code many 0-sized heap allocation calls
runtime/compiler/transform (gc): generated code includes many 0-sized heap allocation calls
Oct 13, 2021
When debugging some code for #2011, I noticed tons of
runtime.alloc(i32 0)
calls scattered throughout the IR.It could be beneficial to rewrite them to a pointer to a single global.
This would eliminate a call, and allow LLVM to preform more optimizations.
The text was updated successfully, but these errors were encountered: