Skip to content
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

[EVM] Implement stack machine friendly scheduler on ISel #724

Open
PavelKopyl opened this issue Oct 25, 2024 · 1 comment
Open

[EVM] Implement stack machine friendly scheduler on ISel #724

PavelKopyl opened this issue Oct 25, 2024 · 1 comment

Comments

@PavelKopyl
Copy link
Contributor

EVM has the EVMSingleUseExpression pass that performs code scheduling to reduce a number of required stack manipulation instructions. This pass work at the end of compilation pipeline, before the stackification transformation.
It makes sense to try to implement stack machine friendly code scheduling at in the ISel scheduler, as described in the article:
instruction_scheduling_for_stack_machines.pdf

@akiramenai
Copy link
Collaborator

@PavelKopyl could you refine why we should have 2 schedulers instead of tuning the existing one?

@PavelKopyl PavelKopyl changed the title [EVM] Implement stack machine friendly sheduler on ISel [EVM] Implement stack machine friendly scheduler on ISel Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants