]>
Commit | Line | Data |
---|---|---|
abe05a73 XL |
1 | .text |
2 | .file "950704-1.c" | |
3 | .section .text.f,"ax",@progbits | |
4 | .hidden f # -- Begin function f | |
5 | .globl f | |
6 | .type f,@function | |
7 | f: # @f | |
8 | .param i64, i64 | |
9 | .result i64 | |
10 | .local i64 | |
11 | # BB#0: # %entry | |
12 | i32.const $push0=, 0 | |
13 | i32.const $push11=, 0 | |
14 | i32.store errflag($pop0), $pop11 | |
15 | i64.add $2=, $1, $0 | |
16 | block | |
17 | block | |
18 | block | |
19 | i64.const $push10=, 0 | |
20 | i64.lt_s $push1=, $0, $pop10 | |
21 | br_if 0, $pop1 # 0: down to label2 | |
22 | # BB#1: # %if.then | |
23 | i64.const $push12=, 0 | |
24 | i64.lt_s $push5=, $1, $pop12 | |
25 | br_if 2, $pop5 # 2: down to label0 | |
26 | # BB#2: # %if.then | |
27 | i64.const $push6=, -1 | |
28 | i64.le_s $push7=, $2, $pop6 | |
29 | br_if 1, $pop7 # 1: down to label1 | |
30 | br 2 # 2: down to label0 | |
31 | .LBB0_3: # %if.else | |
32 | end_block # label2: | |
33 | i64.const $push13=, 0 | |
34 | i64.gt_s $push2=, $1, $pop13 | |
35 | br_if 1, $pop2 # 1: down to label0 | |
36 | # BB#4: # %if.else | |
37 | i64.const $push3=, 0 | |
38 | i64.lt_s $push4=, $2, $pop3 | |
39 | br_if 1, $pop4 # 1: down to label0 | |
40 | .LBB0_5: # %if.end9 | |
41 | end_block # label1: | |
42 | i32.const $push9=, 0 | |
43 | i32.const $push8=, 1 | |
44 | i32.store errflag($pop9), $pop8 | |
45 | i64.const $2=, 0 | |
46 | .LBB0_6: # %cleanup | |
47 | end_block # label0: | |
48 | copy_local $push14=, $2 | |
49 | # fallthrough-return: $pop14 | |
50 | .endfunc | |
51 | .Lfunc_end0: | |
52 | .size f, .Lfunc_end0-f | |
53 | # -- End function | |
54 | .section .text.main,"ax",@progbits | |
55 | .hidden main # -- Begin function main | |
56 | .globl main | |
57 | .type main,@function | |
58 | main: # @main | |
59 | .result i32 | |
60 | # BB#0: # %if.end28 | |
61 | i32.const $push0=, 0 | |
62 | i32.const $push2=, 0 | |
63 | i32.store errflag($pop0), $pop2 | |
64 | i32.const $push1=, 0 | |
65 | call exit@FUNCTION, $pop1 | |
66 | unreachable | |
67 | .endfunc | |
68 | .Lfunc_end1: | |
69 | .size main, .Lfunc_end1-main | |
70 | # -- End function | |
71 | .hidden errflag # @errflag | |
72 | .type errflag,@object | |
73 | .section .bss.errflag,"aw",@nobits | |
74 | .globl errflag | |
75 | .p2align 2 | |
76 | errflag: | |
77 | .int32 0 # 0x0 | |
78 | .size errflag, 4 | |
79 | ||
80 | ||
81 | .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)" | |
82 | .functype exit, void, i32 |