Björn Pettersson 3e6e54eb79
[X86] Fix miscompile in combineShiftRightArithmetic (#86597)
When folding (ashr (shl, x, c1), c2) we need to treat c1 and c2
as unsigned to find out if the combined shift should be a left
or right shift.
Also do an early out during pre-legalization in case c1 and c2
has differet types, as that otherwise complicated the comparison
of c1 and c2 a bit.
2024-03-26 20:53:34 +01:00
..
2023-06-18 16:02:59 +01:00
2023-12-04 15:20:02 +00:00
2023-09-01 19:45:03 -04:00
2023-11-21 12:58:24 +00:00
2023-10-25 13:25:15 +01:00
2023-09-20 16:58:00 +01:00
2023-10-25 18:10:51 +01:00
2023-07-20 10:24:16 +08:00
2023-07-20 13:35:15 +08:00
2023-05-14 21:51:44 +08:00