summaryrefslogtreecommitdiff
path: root/test/passes/inlining-optimizing_optimize-level=3.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/inlining-optimizing_optimize-level=3.txt')
-rw-r--r--test/passes/inlining-optimizing_optimize-level=3.txt186
1 files changed, 94 insertions, 92 deletions
diff --git a/test/passes/inlining-optimizing_optimize-level=3.txt b/test/passes/inlining-optimizing_optimize-level=3.txt
index 0a2d39db3..35d1219fe 100644
--- a/test/passes/inlining-optimizing_optimize-level=3.txt
+++ b/test/passes/inlining-optimizing_optimize-level=3.txt
@@ -2322,16 +2322,16 @@
(block $label$break$L1
(if
(i32.gt_s
- (get_local $17)
+ (get_local $16)
(i32.const -1)
)
- (set_local $17
+ (set_local $16
(if (result i32)
(i32.gt_s
(get_local $10)
(i32.sub
(i32.const 2147483647)
- (get_local $17)
+ (get_local $16)
)
)
(block (result i32)
@@ -2343,7 +2343,7 @@
)
(i32.add
(get_local $10)
- (get_local $17)
+ (get_local $16)
)
)
)
@@ -2709,7 +2709,7 @@
(set_local $8
(i32.const 1)
)
- (set_local $16
+ (set_local $17
(i32.load
(get_local $6)
)
@@ -2724,7 +2724,7 @@
(if
(get_local $8)
(block
- (set_local $17
+ (set_local $16
(i32.const -1)
)
(br $label$break$L1)
@@ -2741,7 +2741,7 @@
(set_local $10
(get_local $6)
)
- (set_local $16
+ (set_local $17
(i32.const 0)
)
(br $do-once5
@@ -2749,7 +2749,7 @@
)
)
)
- (set_local $16
+ (set_local $17
(i32.load
(tee_local $10
(i32.and
@@ -2780,14 +2780,14 @@
(set_local $12
(if (result i32)
(i32.lt_s
- (get_local $16)
+ (get_local $17)
(i32.const 0)
)
(block (result i32)
- (set_local $16
+ (set_local $17
(i32.sub
(i32.const 0)
- (get_local $16)
+ (get_local $17)
)
)
(i32.or
@@ -2864,7 +2864,7 @@
(i32.const 0)
)
(block
- (set_local $17
+ (set_local $16
(i32.const -1)
)
(br $label$break$L1)
@@ -2873,7 +2873,7 @@
(set_local $12
(get_local $1)
)
- (set_local $16
+ (set_local $17
(get_local $6)
)
(get_local $8)
@@ -2884,7 +2884,7 @@
(set_local $12
(get_local $1)
)
- (set_local $16
+ (set_local $17
(i32.const 0)
)
(get_local $8)
@@ -3056,7 +3056,7 @@
(if
(get_local $1)
(block
- (set_local $17
+ (set_local $16
(i32.const -1)
)
(br $label$break$L1)
@@ -3123,7 +3123,7 @@
(i32.const 57)
)
(block
- (set_local $17
+ (set_local $16
(i32.const -1)
)
(br $label$break$L1)
@@ -3183,7 +3183,7 @@
)
)
(block
- (set_local $17
+ (set_local $16
(i32.const -1)
)
(br $label$break$L1)
@@ -3208,7 +3208,7 @@
(if
(get_local $8)
(block
- (set_local $17
+ (set_local $16
(i32.const -1)
)
(br $label$break$L1)
@@ -3260,7 +3260,7 @@
(get_local $28)
)
(block
- (set_local $17
+ (set_local $16
(i32.const 0)
)
(br $label$break$L1)
@@ -3384,7 +3384,7 @@
(i32.load
(get_local $14)
)
- (get_local $17)
+ (get_local $16)
)
(set_local $5
(get_local $10)
@@ -3398,7 +3398,7 @@
(i32.load
(get_local $14)
)
- (get_local $17)
+ (get_local $16)
)
(set_local $5
(get_local $10)
@@ -3414,14 +3414,14 @@
(get_local $14)
)
)
- (get_local $17)
+ (get_local $16)
)
(i32.store offset=4
(get_local $5)
(i32.shr_s
(i32.shl
(i32.lt_s
- (get_local $17)
+ (get_local $16)
(i32.const 0)
)
(i32.const 31)
@@ -3441,7 +3441,7 @@
(i32.load
(get_local $14)
)
- (get_local $17)
+ (get_local $16)
)
(set_local $5
(get_local $10)
@@ -3455,7 +3455,7 @@
(i32.load
(get_local $14)
)
- (get_local $17)
+ (get_local $16)
)
(set_local $5
(get_local $10)
@@ -3469,7 +3469,7 @@
(i32.load
(get_local $14)
)
- (get_local $17)
+ (get_local $16)
)
(set_local $5
(get_local $10)
@@ -3485,14 +3485,14 @@
(get_local $14)
)
)
- (get_local $17)
+ (get_local $16)
)
(i32.store offset=4
(get_local $5)
(i32.shr_s
(i32.shl
(i32.lt_s
- (get_local $17)
+ (get_local $16)
(i32.const 0)
)
(i32.const 31)
@@ -3832,7 +3832,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $16)
+ (get_local $17)
(i32.const 0)
(get_local $12)
)
@@ -4047,6 +4047,12 @@
)
)
)
+ (set_local $11
+ (i32.or
+ (get_local $27)
+ (i32.const 2)
+ )
+ )
(if
(i32.eq
(tee_local $5
@@ -4093,12 +4099,6 @@
)
)
)
- (set_local $11
- (i32.or
- (get_local $27)
- (i32.const 2)
- )
- )
(i32.store8
(i32.add
(get_local $5)
@@ -4243,7 +4243,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $16)
+ (get_local $17)
(tee_local $7
(i32.add
(tee_local $6
@@ -4302,7 +4302,7 @@
(call $_pad
(get_local $0)
(i32.const 48)
- (get_local $16)
+ (get_local $17)
(get_local $7)
(i32.xor
(get_local $12)
@@ -4370,7 +4370,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $16)
+ (get_local $17)
(get_local $7)
(i32.xor
(get_local $12)
@@ -4379,11 +4379,11 @@
)
(br $do-once49
(select
- (get_local $16)
+ (get_local $17)
(get_local $7)
(i32.lt_s
(get_local $7)
- (get_local $16)
+ (get_local $17)
)
)
)
@@ -5356,7 +5356,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $16)
+ (get_local $17)
(tee_local $13
(i32.add
(i32.add
@@ -5748,7 +5748,7 @@
(call $_pad
(get_local $0)
(i32.const 48)
- (get_local $16)
+ (get_local $17)
(get_local $13)
(i32.xor
(get_local $12)
@@ -6223,7 +6223,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $16)
+ (get_local $17)
(get_local $13)
(i32.xor
(get_local $12)
@@ -6231,11 +6231,11 @@
)
)
(select
- (get_local $16)
+ (get_local $17)
(get_local $13)
(i32.lt_s
(get_local $13)
- (get_local $16)
+ (get_local $17)
)
)
)
@@ -6243,7 +6243,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $16)
+ (get_local $17)
(tee_local $7
(i32.add
(tee_local $9
@@ -6263,32 +6263,6 @@
)
(get_local $8)
)
- (if
- (i32.eqz
- (i32.and
- (tee_local $5
- (i32.load
- (get_local $0)
- )
- )
- (i32.const 32)
- )
- )
- (block
- (drop
- (call $___fwritex
- (get_local $30)
- (get_local $9)
- (get_local $0)
- )
- )
- (set_local $5
- (i32.load
- (get_local $0)
- )
- )
- )
- )
(set_local $6
(select
(select
@@ -6313,10 +6287,38 @@
)
)
(if
- (i32.eqz
- (i32.and
- (get_local $5)
- (i32.const 32)
+ (block (result i32)
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $5
+ (i32.load
+ (get_local $0)
+ )
+ )
+ (i32.const 32)
+ )
+ )
+ (block
+ (drop
+ (call $___fwritex
+ (get_local $30)
+ (get_local $9)
+ (get_local $0)
+ )
+ )
+ (set_local $5
+ (i32.load
+ (get_local $0)
+ )
+ )
+ )
+ )
+ (i32.eqz
+ (i32.and
+ (get_local $5)
+ (i32.const 32)
+ )
)
)
(drop
@@ -6330,7 +6332,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $16)
+ (get_local $17)
(get_local $7)
(i32.xor
(get_local $12)
@@ -6338,11 +6340,11 @@
)
)
(select
- (get_local $16)
+ (get_local $17)
(get_local $7)
(i32.lt_s
(get_local $7)
- (get_local $16)
+ (get_local $17)
)
)
)
@@ -6614,7 +6616,7 @@
(i32.const 0)
)
(block
- (set_local $17
+ (set_local $16
(i32.const -1)
)
(br $label$break$L1)
@@ -6623,7 +6625,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $16)
+ (get_local $17)
(get_local $5)
(get_local $12)
)
@@ -6718,7 +6720,7 @@
(call $_pad
(get_local $0)
(i32.const 32)
- (get_local $16)
+ (get_local $17)
(get_local $7)
(i32.xor
(get_local $12)
@@ -6730,10 +6732,10 @@
)
(set_local $10
(select
- (get_local $16)
+ (get_local $17)
(get_local $7)
(i32.gt_s
- (get_local $16)
+ (get_local $17)
(get_local $7)
)
)
@@ -6821,9 +6823,9 @@
(get_local $8)
)
)
- (get_local $16)
+ (get_local $17)
(i32.lt_s
- (get_local $16)
+ (get_local $17)
(get_local $5)
)
)
@@ -6949,7 +6951,7 @@
(i32.const 10)
)
)
- (set_local $17
+ (set_local $16
(i32.const 1)
)
(br $label$break$L343)
@@ -6973,7 +6975,7 @@
)
)
(block
- (set_local $17
+ (set_local $16
(i32.const -1)
)
(br $label$break$L343)
@@ -6990,16 +6992,16 @@
(i32.const 10)
)
)
- (set_local $17
+ (set_local $16
(i32.const 1)
)
)
- (set_local $17
+ (set_local $16
(i32.const 1)
)
)
)
- (set_local $17
+ (set_local $16
(i32.const 0)
)
)
@@ -7008,7 +7010,7 @@
(set_global $STACKTOP
(get_local $34)
)
- (get_local $17)
+ (get_local $16)
)
(func $_pop_arg_336 (; 45 ;) (type $10) (param $0 i32) (param $1 i32) (param $2 i32)
(local $3 i32)