summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise203
1 files changed, 102 insertions, 101 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index b3ce6e84e..c8df16aa6 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -2043,8 +2043,8 @@
)
)
(loop $while-in3
- (block $while-out2
- (br_if $while-out2
+ (if
+ (i32.eqz
(i32.and
(i32.xor
(i32.and
@@ -2066,24 +2066,27 @@
)
)
)
- (set_local $2
- (i32.add
- (get_local $2)
- (i32.const 4)
+ (block
+ (nop)
+ (set_local $2
+ (i32.add
+ (get_local $2)
+ (i32.const 4)
+ )
)
- )
- (br_if $while-in3
- (i32.gt_u
- (tee_local $0
- (i32.add
- (get_local $0)
- (i32.const -4)
+ (br_if $while-in3
+ (i32.gt_u
+ (tee_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const -4)
+ )
)
+ (i32.const 3)
)
- (i32.const 3)
)
+ (br $jumpthreading$inner$0)
)
- (br $jumpthreading$inner$0)
)
)
(br $jumpthreading$outer$0)
@@ -4820,29 +4823,30 @@
)
)
(loop $while-in68
- (block $while-out67
- (br_if $while-out67
- (i32.le_u
- (get_local $5)
- (get_local $6)
- )
+ (if
+ (i32.gt_u
+ (get_local $5)
+ (get_local $6)
)
- (if
- (i32.eqz
- (i32.load
- (tee_local $10
- (i32.add
- (get_local $5)
- (i32.const -4)
+ (block
+ (nop)
+ (if
+ (i32.eqz
+ (i32.load
+ (tee_local $10
+ (i32.add
+ (get_local $5)
+ (i32.const -4)
+ )
)
)
)
- )
- (block
- (set_local $5
- (get_local $10)
+ (block
+ (set_local $5
+ (get_local $10)
+ )
+ (br $while-in68)
)
- (br $while-in68)
)
)
)
@@ -7220,49 +7224,48 @@
(i32.const 1)
)
(loop $while-in130
- (block $while-out129
- (br_if $while-out129
- (i32.eqz
- (tee_local $1
- (i32.load
- (i32.add
- (get_local $4)
- (i32.shl
- (get_local $0)
- (i32.const 2)
- )
- )
+ (if
+ (tee_local $1
+ (i32.load
+ (i32.add
+ (get_local $4)
+ (i32.shl
+ (get_local $0)
+ (i32.const 2)
)
)
)
)
- (call $_pop_arg_336
- (i32.add
- (get_local $3)
- (i32.shl
- (get_local $0)
- (i32.const 3)
+ (block
+ (nop)
+ (call $_pop_arg_336
+ (i32.add
+ (get_local $3)
+ (i32.shl
+ (get_local $0)
+ (i32.const 3)
+ )
)
+ (get_local $1)
+ (get_local $2)
)
- (get_local $1)
- (get_local $2)
- )
- (br_if $while-in130
- (i32.lt_s
- (tee_local $0
- (i32.add
- (get_local $0)
- (i32.const 1)
+ (br_if $while-in130
+ (i32.lt_s
+ (tee_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
+ )
)
+ (i32.const 10)
)
- (i32.const 10)
)
- )
- (block
- (set_local $16
- (i32.const 1)
+ (block
+ (set_local $16
+ (i32.const 1)
+ )
+ (br $label$break$L343)
)
- (br $label$break$L343)
)
)
)
@@ -15686,48 +15689,46 @@
)
(block
(loop $while-in
- (block $while-out
- (br_if $while-out
- (i32.eqz
- (i32.and
- (get_local $0)
- (i32.const 3)
- )
- )
- )
- (if
- (i32.eqz
- (get_local $2)
- )
- (return
- (get_local $3)
- )
- )
- (i32.store8
+ (if
+ (i32.and
(get_local $0)
- (i32.load8_s
- (get_local $1)
- )
+ (i32.const 3)
)
- (set_local $0
- (i32.add
+ (block
+ (if
+ (i32.eqz
+ (get_local $2)
+ )
+ (return
+ (get_local $3)
+ )
+ )
+ (i32.store8
(get_local $0)
- (i32.const 1)
+ (i32.load8_s
+ (get_local $1)
+ )
)
- )
- (set_local $1
- (i32.add
- (get_local $1)
- (i32.const 1)
+ (set_local $0
+ (i32.add
+ (get_local $0)
+ (i32.const 1)
+ )
)
- )
- (set_local $2
- (i32.sub
- (get_local $2)
- (i32.const 1)
+ (set_local $1
+ (i32.add
+ (get_local $1)
+ (i32.const 1)
+ )
+ )
+ (set_local $2
+ (i32.sub
+ (get_local $2)
+ (i32.const 1)
+ )
)
+ (br $while-in)
)
- (br $while-in)
)
)
(loop $while-in1