forked from WebAssembly/binaryen
/
pr22630.c.s
52 lines (48 loc) · 1.39 KB
/
pr22630.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
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr22630.c"
.section .text.bla,"ax",@progbits
.hidden bla
.globl bla
.type bla,@function
bla: # @bla
.param i32
# BB#0: # %entry
block
i32.const $push0=, j
i32.select $push1=, $0, $pop0, $0
i32.eq $push2=, $pop1, $0
br_if 0, $pop2 # 0: down to label0
# BB#1: # %if.then1
i32.const $push4=, 0
i32.const $push3=, 1
i32.store j($pop4), $pop3
.LBB0_2: # %if.end2
end_block # label0:
# fallthrough-return
.endfunc
.Lfunc_end0:
.size bla, .Lfunc_end0-bla
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %if.end
i32.const $push1=, 0
i32.const $push0=, 1
i32.store j($pop1), $pop0
i32.const $push2=, 0
# fallthrough-return: $pop2
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.hidden j # @j
.type j,@object
.section .bss.j,"aw",@nobits
.globl j
.p2align 2
j:
.int32 0 # 0x0
.size j, 4
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"