-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Have a block-based IR for compiling, calculate max stack size #2373
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
Conversation
This would also be great for compiling to cranelift (especially since I modeled the block system off of their ir, a bit 🙃 ), but I'm not sure if there's any way to preserve the block information all the way to the function object that you call |
018e899
to
8bf4921
Compare
Best I can tell, there's little performance improvement and this may be very, very slightly slower (I get stuff like |
It'd be nice for a JIT where we just remove the interpreter loop and directly call the functions imo. |
4ba5988
to
c97d521
Compare
0addc7d
to
559123c
Compare
it looks like arrayvec exists in crates.io but boxvec doesn't. maybe it would be useful as an independent crate |
No description provided.