alexcrichton opened PR #7917 from alexcrichton:smaller-int-to-float
to bytecodealliance:main
:
This commit adds egraph optimization rules to shrink the size of int-to-float conversions where possible. This helps backends like the x64 backend where the 64-bit-unsigned-integer-to-float conversions does not have a single instruction lowering unlike other types.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested abrown for a review on PR #7917.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #7917.
github-actions[bot] commented on PR #7917:
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 <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
abrown submitted PR review.
abrown submitted PR review.
abrown created PR review comment:
;; the chance to convert from the smallest integral type to the float. This
alexcrichton updated PR #7917.
alexcrichton has enabled auto merge for PR #7917.
alexcrichton merged PR #7917.
Last updated: Nov 22 2024 at 17:03 UTC