Skip to content

Constant spreading #30

Description

@longfangsong

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA request for a certain featuremediumThis issue is not so easy to fix

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions