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

Constant spreading #30

Open
longfangsong opened this issue Dec 17, 2022 · 0 comments
Open

Constant spreading #30

longfangsong opened this issue Dec 17, 2022 · 0 comments
Labels
feature request A request for a certain feature medium This issue is not so easy to fix

Comments

@longfangsong
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently when we have

%0 = add i32 1, 2

We don't have a pass for optimizing it.

Describe the solution you'd like

Write a pass which can:

  • Evaluate constant calculating result
  • Do constant spreading
@longfangsong longfangsong added feature request A request for a certain feature medium This issue is not so easy to fix labels Dec 17, 2022
@longfangsong longfangsong moved this to Todo in 任务公告板 Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request for a certain feature medium This issue is not so easy to fix
Projects
Status: Todo
Development

No branches or pull requests

1 participant