diff options
Diffstat (limited to 'test/unit.fromasm.clamp')
-rw-r--r-- | test/unit.fromasm.clamp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/unit.fromasm.clamp b/test/unit.fromasm.clamp index 1a905fee5..0b57f2077 100644 --- a/test/unit.fromasm.clamp +++ b/test/unit.fromasm.clamp @@ -753,19 +753,17 @@ ) ) (func $loophi (; 46 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) - (local $2 i32) (loop $while-in (block $while-out (call $loophi (local.get $0) (i32.const 0) ) - (if - (local.tee $2 + (br_if $while-out + (select + (local.get $0) + (i32.const 0) (local.get $0) - ) - (br_if $while-out - (local.get $2) ) ) (br_if $while-in @@ -795,9 +793,10 @@ (local.set $2 (local.get $0) ) - (if - (call $return_int) - (br_if $label$break$L7 + (br_if $label$break$L7 + (select + (call $return_int) + (i32.const 0) (local.get $2) ) ) @@ -827,9 +826,10 @@ (local.set $1 (local.get $0) ) - (if - (call $return_int) - (br_if $label$break$L7 + (br_if $label$break$L7 + (select + (call $return_int) + (i32.const 0) (local.get $1) ) ) |