Skip to content

Add egraph optimization for fneg's cancelling out#5910

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:cancel-fneg
Mar 2, 2023
Merged

Add egraph optimization for fneg's cancelling out#5910
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:cancel-fneg

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This implements comments from #5895 to cancel out fneg operations in fma instructions. Additional support for fmul is added as well.

This implements comments from bytecodealliance#5895 to cancel out `fneg` operations in
`fma` instructions. Additional support for `fmul` is added as well.
@github-actions github-actions Bot added the cranelift Issues related to the Cranelift code generator label Mar 2, 2023
Copy link
Copy Markdown
Contributor

@jameysharp jameysharp left a comment

Choose a reason for hiding this comment

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

Looks right to me, thanks!

@alexcrichton alexcrichton added this pull request to the merge queue Mar 2, 2023
Merged via the queue into bytecodealliance:main with commit 3ff3994 Mar 2, 2023
@alexcrichton alexcrichton deleted the cancel-fneg branch March 2, 2023 19:11
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants