Skip to content

Commit 76c6883

Browse files
authored
fix test breakage from colliding PRs landing too quickly (#1220)
1 parent 0d1836f commit 76c6883

File tree

1 file changed

+15
-24
lines changed

1 file changed

+15
-24
lines changed

test/passes/O3_inlining.txt

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,28 @@
22
(type $0 (func))
33
(type $1 (func (param i32)))
44
(type $2 (func (param f32 i32 i32) (result i32)))
5-
(global $global$0 (mut f64) (f64.const -32768))
65
(global $global$1 (mut i32) (i32.const 100))
76
(memory $0 1 1)
87
(export "func_217" (func $1))
98
(func $1 (type $1) (param $0 i32)
10-
(block $__inlined_func$0
11-
(block
12-
(if
13-
(get_global $global$1)
14-
(unreachable)
15-
)
16-
(set_global $global$1
17-
(i32.const 0)
18-
)
19-
(block $label$2
20-
(set_global $global$0
21-
(block
22-
(br_if $label$2
23-
(if (result i32)
24-
(i32.load16_u
25-
(i32.const 3)
26-
)
27-
(i32.const 1)
28-
(i32.const 0)
29-
)
30-
)
31-
(unreachable)
32-
)
9+
(if
10+
(get_global $global$1)
11+
(unreachable)
12+
)
13+
(set_global $global$1
14+
(i32.const 0)
15+
)
16+
(if
17+
(i32.eqz
18+
(if (result i32)
19+
(i32.load16_u
20+
(i32.const 3)
3321
)
22+
(i32.const 1)
23+
(i32.const 0)
3424
)
3525
)
26+
(unreachable)
3627
)
3728
)
3829
)

0 commit comments

Comments
 (0)