Skip to content

Reassociate mixture of add and sub to wide trees#8518

Merged
fitzgen merged 1 commit into
bytecodealliance:mainfrom
KGrewal1:assoc-add-sub
May 2, 2024
Merged

Reassociate mixture of add and sub to wide trees#8518
fitzgen merged 1 commit into
bytecodealliance:mainfrom
KGrewal1:assoc-add-sub

Conversation

@KGrewal1
Copy link
Copy Markdown
Contributor

@KGrewal1 KGrewal1 commented May 1, 2024

As in #7466 , converts deep nesting of addition and subtraction into a wide tree eg:

$((a-b)-c)-d)=(a-b)-(c+d)$

again using subsume to prevent blow up due to reassociating large chains

@KGrewal1 KGrewal1 requested a review from a team as a code owner May 1, 2024 15:33
@KGrewal1 KGrewal1 requested review from abrown and removed request for a team May 1, 2024 15:34
@github-actions github-actions Bot added cranelift Issues related to the Cranelift code generator isle Related to the ISLE domain-specific language labels May 1, 2024
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2024

Subscribe to Label Action

cc @cfallin, @fitzgen

Details This issue or pull request has been labeled: "cranelift", "isle"

Thus the following users have been cc'd because of the following labels:

  • cfallin: isle
  • fitzgen: isle

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

Copy link
Copy Markdown
Member

@abrown abrown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me but does anyone with ISLE conventions paged in want to comment: @cfallin, @elliottt, @jameysharp?

Copy link
Copy Markdown
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@fitzgen fitzgen added this pull request to the merge queue May 2, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 2, 2024
@fitzgen fitzgen added this pull request to the merge queue May 2, 2024
@fitzgen
Copy link
Copy Markdown
Member

fitzgen commented May 2, 2024

(Some network issue when installing open-vino in CI; retrying)

Merged via the queue into bytecodealliance:main with commit b7ba20f May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator isle Related to the ISLE domain-specific language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants