| 1 |
(module |
| 2 |
(type (;0;) (func (param i32) (result i32))) |
| 3 |
(type (;1;) (func (param i64) (result i64))) |
| 4 |
(export "i32.no_fold_shl_shr_s" (func 0)) |
| 5 |
(export "i32.no_fold_shl_shr_u" (func 1)) |
| 6 |
(export "i64.no_fold_shl_shr_s" (func 2)) |
| 7 |
(export "i64.no_fold_shl_shr_u" (func 3)) |
| 8 |
(func (;0;) (type 0) (param $x i32) (result i32) |
| 9 |
local.get $x |
| 10 |
i32.const 1 |
| 11 |
i32.shl |
| 12 |
i32.const 1 |
| 13 |
i32.shr_s |
| 14 |
) |
| 15 |
(func (;1;) (type 0) (param $x i32) (result i32) |
| 16 |
local.get $x |
| 17 |
i32.const 1 |
| 18 |
i32.shl |
| 19 |
i32.const 1 |
| 20 |
i32.shr_u |
| 21 |
) |
| 22 |
(func (;2;) (type 1) (param $x i64) (result i64) |
| 23 |
local.get $x |
| 24 |
i64.const 1 |
| 25 |
i64.shl |
| 26 |
i64.const 1 |
| 27 |
i64.shr_s |
| 28 |
) |
| 29 |
(func (;3;) (type 1) (param $x i64) (result i64) |
| 30 |
local.get $x |
| 31 |
i64.const 1 |
| 32 |
i64.shl |
| 33 |
i64.const 1 |
| 34 |
i64.shr_u |
| 35 |
) |
| 36 |
) |