Stream: git-wasmtime

Topic: wasmtime / PR #4120 Cranelift: fix filetest now failing a...


view this post on Zulip Wasmtime GitHub notifications bot (May 10 2022 at 17:23):

cfallin opened PR #4120 from fix-x64-select-filetest to main:

This test was added between the last CI run on #4088 and its merge to
main, and the changes in #4088 (use of constants directly in instruction
via load from constant pool, rather than from a register initialized by
a separate instruction) cause it to fail now.

This PR alters the test to be invariant to regalloc and argument
decisions during lowering, as the test is really checking (per the
comment) that we get two cmoves without an intervening move. As such, it
just matches the instruction opcodes, irrespective of the arguments.

<!--

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 (May 10 2022 at 17:23):

cfallin requested alexcrichton for a review on PR #4120.

view this post on Zulip Wasmtime GitHub notifications bot (May 10 2022 at 17:26):

abrown submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (May 10 2022 at 17:56):

cfallin merged PR #4120.


Last updated: Nov 22 2024 at 16:03 UTC