forked from WebAssembly/binaryen
/
20060930-2.c.s
70 lines (65 loc) · 1.66 KB
/
20060930-2.c.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20060930-2.c"
.section .text.bar,"ax",@progbits
.hidden bar
.globl bar
.type bar,@function
bar: # @bar
.param i32, i32
.result i32
# BB#0: # %entry
i32.const $push0=, s
i32.store 0($1), $pop0
i32.const $push1=, 0
i32.load $push2=, t($pop1)
i32.store 0($0), $pop2
i32.load $push3=, 0($1)
# fallthrough-return: $pop3
.endfunc
.Lfunc_end0:
.size bar, .Lfunc_end0-bar
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
i32.const $push6=, 0
i32.const $push0=, t
i32.store t($pop6), $pop0
block
i32.const $push1=, s
i32.const $push5=, s
i32.call $push2=, bar@FUNCTION, $pop1, $pop5
i32.const $push4=, t
i32.ne $push3=, $pop2, $pop4
br_if 0, $pop3 # 0: down to label0
# BB#1: # %if.end
i32.const $push7=, 0
return $pop7
.LBB1_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.hidden s # @s
.type s,@object
.section .bss.s,"aw",@nobits
.globl s
.p2align 2
s:
.skip 4
.size s, 4
.hidden t # @t
.type t,@object
.section .bss.t,"aw",@nobits
.globl t
.p2align 2
t:
.skip 4
.size t, 4
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void