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

Reassociate: add global reassociation algorithm (#6598) #6641

Open
wants to merge 1 commit into
base: release-1.8.2405
Choose a base branch
from

Commits on May 21, 2024

  1. Reassociate: add global reassociation algorithm (#6598)

    This PR pulls the upstream change, Reassociate: add global reassociation
    algorithm
    (llvm/llvm-project@b8a330c),
    into DXC with miminal changes.
    
    For the code below:
      foo = (a * b) * c
      bar = (a * d) * c
    
    As the upstream change states, it can identify the a*c is a common
    factor and redundant.
    
    This is part 1 of the fix for #6593.
    
    (cherry picked from commit 6f9c107)
    lizhengxing committed May 21, 2024
    Configuration menu
    Copy the full SHA
    26ba5bc View commit details
    Browse the repository at this point in the history