Julian Seward e6144ebd9f Bug 1750046 - Add comprehensive testing of the wasm i32/i64 compare-select idiom. r=lth.
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
2022-01-14 13:18:32 +00:00
..