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

If-merge optimizations #1618

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Commits on Jun 19, 2024

  1. dfmc-optimization: Fix missed if-computation optimizations

    These changes fix missed cases where type-constrained values in if
    tests and instance? tests were substituted in the left (consequent)
    side of the if body computations, but not in the left side of the if
    merge.
    
    * sources/dfmc/optimization/assignment.dylan
      (maybe-rename-temporaries-in-conditional): Substitute the
       type-constrained value when the <if> test value appears in the left
       side of the <if-merge>.
    
    * sources/dfmc/optimization/calls.dylan
      (do-optimize-instance?-user): Substitute the type-constrained value
       when the <if> instance? test value appears in the left side of the
       <if-merge>.
    housel committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    338eb33 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. documentation: Note if-expression optimization in release notes

    * documentation/source/release-notes/2024.2.rst: Add entry to Compiler
      section.
    housel committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    a023760 View commit details
    Browse the repository at this point in the history