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

Improve/fix handling of WordXVector constants in Useless pass #567

Merged
merged 4 commits into from
May 16, 2024

Commits on May 15, 2024

  1. Configuration menu
    Copy the full SHA
    4a06e6e View commit details
    Browse the repository at this point in the history
  2. Simplify Useless.doit{Exp,Statement}

    Ensure that `Useless.doitExp` is called with a (non-`NONE`) `Value.t`.
    MatthewFluet committed May 15, 2024
    Configuration menu
    Copy the full SHA
    5e84a24 View commit details
    Browse the repository at this point in the history
  3. Improve/fix handling of WordXVector constants in Useless pass

    Allow a `Exp.Const (Const.WordXVector ws)` to "optimize" to a
    `Vector_vector[unit](unitVar, ..., unitVar)` when the elements are useless.
    
    Closes MLton#559
    MatthewFluet committed May 15, 2024
    Configuration menu
    Copy the full SHA
    322205f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    741732b View commit details
    Browse the repository at this point in the history