mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00

Bug 1748700 shows a regression introduced by bug 1716580, which incorrectly optimised some wasm compare-select cases. The underlying problem was inadequate testing in the latter bug. This bug adds comprehensive testing of compare-select for the following cases: ``` compare in i32 i64 select in i32 i64 compare-op in eq ne lt_s lt_u gt_s gt_u le_s le_u ge_s ge_u ``` It is verified as able to detect the regression introduced by bug 1716580. Differential Revision: https://phabricator.services.mozilla.com/D135919