1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
(module
(type $none_=>_none (func))
(type $i32_=>_i32 (func (param i32) (result i32)))
(type $i32_i32_=>_f64 (func (param i32 i32) (result f64)))
(memory $0 1)
(func $contrast
(local $x i32)
(local $y i32)
(local $z i32)
(local $a i32)
(local $b i32)
(nop)
(if
(local.tee $x
(i32.const 1)
)
(nop)
)
(if
(local.get $x)
(nop)
)
(nop)
(drop
(if (result i32)
(i32.const 2)
(i32.const 3)
(i32.const 4)
)
)
(nop)
(drop
(block $block (result i32)
(i32.const 5)
)
)
(if
(i32.const 6)
(local.set $a
(i32.const 7)
)
(local.set $a
(i32.const 8)
)
)
(drop
(local.get $a)
)
(block $val
(if
(i32.const 10)
(block $block4
(local.set $b
(i32.const 11)
)
(br $val)
)
)
(local.set $b
(i32.const 12)
)
)
(drop
(local.get $b)
)
)
(func $no-unreachable
(local $x i32)
(unreachable)
)
(func $implicit-trap-and-global-effects
(local $var$0 i32)
(local.set $var$0
(i32.trunc_f64_u
(f64.const -nan:0xfffffffffffc3)
)
)
(f32.store align=1
(i32.const 22)
(f32.const 154)
)
(drop
(local.get $var$0)
)
)
(func $implicit-trap-and-local-effects
(local $var$0 i32)
(local $other i32)
(nop)
(local.set $other
(i32.const 100)
)
(drop
(i32.trunc_f64_u
(f64.const -nan:0xfffffffffffc3)
)
)
(if
(i32.const 1)
(drop
(local.get $other)
)
)
)
(func $multi-pass-get-equivs-right (param $var$0 i32) (param $var$1 i32) (result f64)
(local $var$2 i32)
(nop)
(i32.store
(local.get $var$0)
(i32.const 1)
)
(f64.promote_f32
(f32.load
(local.get $var$0)
)
)
)
(func $if-value-structure-equivalent (param $x i32) (result i32)
(local $y i32)
(if
(i32.const 1)
(local.set $x
(i32.const 2)
)
(block $block
(nop)
(nop)
)
)
(local.get $x)
)
)
|