Repository navigation
Have a block-based IR for compiling, calculate max stack size - #2373
Merged
Merged
Conversation
coolreader18
marked this pull request as draft
December 18, 2020 16:21
Member
Author
|
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 |
coolreader18
force-pushed
the
coolreader18/blockir
branch
6 times, most recently
from
December 19, 2020 03:18
018e899 to
8bf4921
Compare
coolreader18
marked this pull request as ready for review
December 19, 2020 21:16
Member
Author
|
Best I can tell, there's little performance improvement and this may be very, very slightly slower (I get stuff like |
Contributor
|
It'd be nice for a JIT where we just remove the interpreter loop and directly call the functions imo. |
6 of 8 tasks
coolreader18
force-pushed
the
coolreader18/blockir
branch
from
December 22, 2020 01:03
4ba5988 to
c97d521
Compare
coolreader18
force-pushed
the
coolreader18/blockir
branch
from
December 23, 2020 23:40
0addc7d to
559123c
Compare
youknowone
approved these changes
Jan 8, 2021
Member
|
it looks like arrayvec exists in crates.io but boxvec doesn't. maybe it would be useful as an independent crate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.