forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
20000412-4.c.s
77 lines (74 loc) · 2.26 KB
/
20000412-4.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
71
72
73
74
75
76
77
.text
.file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20000412-4.c"
.section .text.f,"ax",@progbits
.hidden f
.globl f
.type f,@function
f: # @f
.param i32, i32, i32, i32, i32
.local i32
# BB#0: # %entry
block
block
i32.sub $push15=, $0, $2
tee_local $push14=, $5=, $pop15
i32.const $push0=, 0
i32.const $push13=, 0
i32.gt_s $push1=, $5, $pop13
i32.select $push12=, $pop14, $pop0, $pop1
tee_local $push11=, $5=, $pop12
i32.const $push2=, 3
i32.ge_s $push3=, $pop11, $pop2
br_if 0, $pop3 # 0: down to label1
# BB#1: # %for.body.lr.ph
i32.add $push4=, $2, $5
i32.const $push16=, -1
i32.add $push5=, $pop4, $pop16
i32.sub $push6=, $pop5, $0
i32.mul $push7=, $3, $pop6
i32.add $push8=, $2, $pop7
i32.sub $2=, $pop8, $1
.LBB0_2: # %for.body
# =>This Inner Loop Header: Depth=1
loop # label2:
i32.add $push19=, $2, $3
tee_local $push18=, $2=, $pop19
i32.const $push17=, -1
i32.le_s $push9=, $pop18, $pop17
br_if 3, $pop9 # 3: down to label0
# BB#3: # %for.cond
# in Loop: Header=BB0_2 Depth=1
i32.const $push23=, 1
i32.add $push22=, $5, $pop23
tee_local $push21=, $5=, $pop22
i32.const $push20=, 2
i32.le_s $push10=, $pop21, $pop20
br_if 0, $pop10 # 0: up to label2
.LBB0_4: # %for.cond6.preheader
end_loop # label3:
end_block # label1:
return
.LBB0_5: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.param i32, i32
.result i32
# BB#0: # %for.cond.i.2.1
i32.const $push0=, 0
call exit@FUNCTION, $pop0
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.ident "clang version 3.9.0 "
.functype abort, void
.functype exit, void, i32