Stream: git-wasmtime

Topic: wasmtime / PR #4877 Don't reverse icmp nof/of


view this post on Zulip Wasmtime GitHub notifications bot (Sep 06 2022 at 22:08):

elliottt opened PR #4877 from trevor/fix-4875 to main:

The implementation of IntCC::reverse considered the reverse of
NotOverflow to be NotOverflow, but this isn't correct as the comparison does
not commute. The solution here was to change the reverse function of the
CondCode trait to return an Option, and then use the function as a fallible
extractor in the isle rule that floats constants right in comparisons.

Fixes #4875
<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Sep 06 2022 at 22:10):

elliottt has marked PR #4877 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 06 2022 at 22:10):

elliottt edited PR #4877 from trevor/fix-4875 to main:

The implementation of IntCC::reverse considered the reverse of NotOverflow to be NotOverflow, but this isn't correct as the comparison does not commute. The solution here was to change the reverse function of the CondCode trait to return an Option, and then use the function as a fallible extractor in the isle rule that floats constants right in comparisons.

Fixes #4875
<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Sep 06 2022 at 22:18):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 06 2022 at 22:56):

elliottt closed without merge PR #4877.


Last updated: Dec 23 2024 at 12:05 UTC