summaryrefslogtreecommitdiff
path: root/test/passes/O3_low-memory-unused_metrics.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/O3_low-memory-unused_metrics.txt')
-rw-r--r--test/passes/O3_low-memory-unused_metrics.txt162
1 files changed, 89 insertions, 73 deletions
diff --git a/test/passes/O3_low-memory-unused_metrics.txt b/test/passes/O3_low-memory-unused_metrics.txt
index 3bdce2921..547eb1673 100644
--- a/test/passes/O3_low-memory-unused_metrics.txt
+++ b/test/passes/O3_low-memory-unused_metrics.txt
@@ -93,9 +93,11 @@ total
(local.get $0)
)
)
- (br_if $label$3
- (i32.load offset=4
- (local.get $0)
+ (then
+ (br_if $label$3
+ (i32.load offset=4
+ (local.get $0)
+ )
)
)
)
@@ -133,7 +135,9 @@ total
(local.get $0)
)
)
- (br $folding-inner0)
+ (then
+ (br $folding-inner0)
+ )
)
(i32.store
(local.get $2)
@@ -164,7 +168,7 @@ total
(local.get $3)
(i32.const 42)
)
- (block
+ (then
(if
(i32.eq
(i32.load offset=24
@@ -172,7 +176,7 @@ total
)
(i32.const 2)
)
- (block
+ (then
(i32.store offset=48
(local.get $0)
(call $fimport$14
@@ -249,7 +253,7 @@ total
)
)
)
- (block
+ (then
(i32.store offset=20
(local.get $2)
(i32.add
@@ -362,21 +366,23 @@ total
)
(i32.const 9)
)
- (local.set $3
- (select
- (i32.const 4)
- (i32.shl
- (i32.gt_s
- (i32.load offset=136
- (local.get $2)
+ (then
+ (local.set $3
+ (select
+ (i32.const 4)
+ (i32.shl
+ (i32.gt_s
+ (i32.load offset=136
+ (local.get $2)
+ )
+ (i32.const 1)
)
- (i32.const 1)
+ (i32.const 2)
+ )
+ (i32.lt_s
+ (local.get $4)
+ (i32.const 2)
)
- (i32.const 2)
- )
- (i32.lt_s
- (local.get $4)
- (i32.const 2)
)
)
)
@@ -635,21 +641,23 @@ total
)
(i32.const 9)
)
- (local.set $3
- (select
- (i32.const 4)
- (i32.shl
- (i32.gt_s
- (i32.load offset=136
- (local.get $2)
+ (then
+ (local.set $3
+ (select
+ (i32.const 4)
+ (i32.shl
+ (i32.gt_s
+ (i32.load offset=136
+ (local.get $2)
+ )
+ (i32.const 1)
)
- (i32.const 1)
+ (i32.const 2)
+ )
+ (i32.lt_s
+ (local.get $4)
+ (i32.const 2)
)
- (i32.const 2)
- )
- (i32.lt_s
- (local.get $4)
- (i32.const 2)
)
)
)
@@ -711,7 +719,7 @@ total
)
)
)
- (block (result i32)
+ (then
(local.set $3
(i32.load offset=20
(local.get $3)
@@ -771,20 +779,24 @@ total
(local.get $2)
)
)
- (local.get $3)
+ (else
+ (local.get $3)
+ )
)
)
- (i32.store offset=48
- (local.get $0)
- (call $fimport$14
- (i32.load offset=48
- (local.get $0)
- )
- (i32.load offset=8
- (local.get $2)
- )
- (i32.load offset=20
- (local.get $2)
+ (then
+ (i32.store offset=48
+ (local.get $0)
+ (call $fimport$14
+ (i32.load offset=48
+ (local.get $0)
+ )
+ (i32.load offset=8
+ (local.get $2)
+ )
+ (i32.load offset=20
+ (local.get $2)
+ )
)
)
)
@@ -929,7 +941,7 @@ total
(i32.load offset=108
(local.get $2)
)
- (block
+ (then
(local.set $3
(i32.load offset=48
(local.get $0)
@@ -1062,7 +1074,7 @@ total
)
)
)
- (block
+ (then
(local.set $3
(i32.load offset=20
(local.get $2)
@@ -1091,7 +1103,7 @@ total
)
(local.get $3)
)
- (block
+ (then
(block $label$30
(br_if $label$30
(i32.le_u
@@ -1299,13 +1311,13 @@ total
)
(local.get $6)
)
- (block
+ (then
(local.set $3
(local.get $4)
)
(br $label$26)
)
- (block
+ (else
(local.set $3
(i32.load offset=20
(local.get $2)
@@ -1374,7 +1386,7 @@ total
(local.get $5)
)
)
- (block
+ (then
(i32.store offset=4
(local.get $2)
(i32.const 73)
@@ -1429,7 +1441,7 @@ total
)
(local.get $3)
)
- (block
+ (then
(block $label$39
(br_if $label$39
(i32.le_u
@@ -1625,7 +1637,7 @@ total
)
(if
(local.get $5)
- (block
+ (then
(local.set $3
(i32.load offset=20
(local.get $2)
@@ -1633,7 +1645,7 @@ total
)
(br $label$37)
)
- (block
+ (else
(local.set $3
(local.get $4)
)
@@ -1742,7 +1754,7 @@ total
)
(local.get $3)
)
- (block
+ (then
(block $label$47
(br_if $label$47
(i32.le_u
@@ -1938,7 +1950,7 @@ total
)
(if
(local.get $5)
- (block
+ (then
(local.set $3
(i32.load offset=20
(local.get $2)
@@ -1946,7 +1958,7 @@ total
)
(br $label$45)
)
- (block
+ (else
(local.set $3
(local.get $4)
)
@@ -2029,7 +2041,7 @@ total
(local.get $2)
)
)
- (block
+ (then
(block $label$52
(br_if $label$52
(i32.ge_u
@@ -2231,7 +2243,7 @@ total
(i32.load offset=20
(local.get $2)
)
- (block
+ (then
(block $label$55
(br_if $label$55
(i32.eqz
@@ -2375,7 +2387,7 @@ total
)
(i32.const 666)
)
- (block
+ (then
(br_if $label$58
(i32.eqz
(local.get $3)
@@ -2424,7 +2436,7 @@ total
)
(i32.const 3)
)
- (block
+ (then
(br_if $label$61
(i32.ne
(local.get $3)
@@ -2467,9 +2479,11 @@ total
)
(i32.const 3)
)
- (i32.store offset=4
- (local.get $2)
- (i32.const 666)
+ (then
+ (i32.store offset=4
+ (local.get $2)
+ (i32.const 666)
+ )
)
)
(if
@@ -2479,7 +2493,7 @@ total
(i32.const -3)
)
)
- (block
+ (then
(local.set $3
(i32.const 0)
)
@@ -2509,7 +2523,7 @@ total
(local.get $1)
(i32.const 1)
)
- (block
+ (then
(call $fimport$30
(local.get $2)
)
@@ -2710,7 +2724,7 @@ total
(local.get $4)
(i32.const 2)
)
- (block
+ (then
(i32.store offset=20
(local.get $2)
(i32.add
@@ -3115,11 +3129,13 @@ total
)
(i32.const 0)
)
- (i32.store offset=24
- (local.get $2)
- (i32.sub
- (i32.const 0)
- (local.get $0)
+ (then
+ (i32.store offset=24
+ (local.get $2)
+ (i32.sub
+ (i32.const 0)
+ (local.get $0)
+ )
)
)
)