]>
Commit | Line | Data |
---|---|---|
abe05a73 XL |
1 | .text |
2 | .file "980612-1.c" | |
3 | .section .text.g,"ax",@progbits | |
4 | .hidden g # -- Begin function g | |
5 | .globl g | |
6 | .type g,@function | |
7 | g: # @g | |
8 | .result i32 | |
9 | # BB#0: # %entry | |
10 | i32.const $push0=, f | |
11 | # fallthrough-return: $pop0 | |
12 | .endfunc | |
13 | .Lfunc_end0: | |
14 | .size g, .Lfunc_end0-g | |
15 | # -- End function | |
16 | .section .text.h,"ax",@progbits | |
17 | .hidden h # -- Begin function h | |
18 | .globl h | |
19 | .type h,@function | |
20 | h: # @h | |
21 | .result i32 | |
22 | # BB#0: # %entry | |
23 | i32.const $push0=, -1 | |
24 | # fallthrough-return: $pop0 | |
25 | .endfunc | |
26 | .Lfunc_end1: | |
27 | .size h, .Lfunc_end1-h | |
28 | # -- End function | |
29 | .section .text.main,"ax",@progbits | |
30 | .hidden main # -- Begin function main | |
31 | .globl main | |
32 | .type main,@function | |
33 | main: # @main | |
34 | .result i32 | |
35 | # BB#0: # %entry | |
36 | i32.const $push7=, 0 | |
37 | i32.const $push0=, 255 | |
38 | i32.store8 f+1($pop7), $pop0 | |
39 | block | |
40 | i32.const $push6=, 0 | |
41 | i32.load8_u $push1=, f($pop6) | |
42 | i32.const $push2=, 111 | |
43 | i32.and $push3=, $pop1, $pop2 | |
44 | i32.const $push4=, 2 | |
45 | i32.gt_u $push5=, $pop3, $pop4 | |
46 | br_if 0, $pop5 # 0: down to label0 | |
47 | # BB#1: # %if.then | |
48 | call abort@FUNCTION | |
49 | unreachable | |
50 | .LBB2_2: # %if.end | |
51 | end_block # label0: | |
52 | i32.const $push8=, 0 | |
53 | call exit@FUNCTION, $pop8 | |
54 | unreachable | |
55 | .endfunc | |
56 | .Lfunc_end2: | |
57 | .size main, .Lfunc_end2-main | |
58 | # -- End function | |
59 | .hidden f # @f | |
60 | .type f,@object | |
61 | .section .data.f,"aw",@progbits | |
62 | .globl f | |
63 | f: | |
64 | .int8 5 # 0x5 | |
65 | .int8 0 # 0x0 | |
66 | .size f, 2 | |
67 | ||
68 | ||
69 | .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)" | |
70 | .functype abort, void | |
71 | .functype exit, void, i32 |