]>
Commit | Line | Data |
---|---|---|
abe05a73 XL |
1 | .text |
2 | .file "931031-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 i32 | |
9 | .result i32 | |
10 | # BB#0: # %entry | |
11 | i32.const $push2=, 1 | |
12 | i32.load $push7=, 4($0) | |
13 | tee_local $push6=, $0=, $pop7 | |
14 | i32.const $push5=, 1 | |
15 | i32.add $push3=, $pop6, $pop5 | |
16 | i32.const $push0=, 0 | |
17 | i32.lt_s $push1=, $0, $pop0 | |
18 | i32.select $push4=, $pop2, $pop3, $pop1 | |
19 | # fallthrough-return: $pop4 | |
20 | .endfunc | |
21 | .Lfunc_end0: | |
22 | .size f, .Lfunc_end0-f | |
23 | # -- End function | |
24 | .section .text.main,"ax",@progbits | |
25 | .hidden main # -- Begin function main | |
26 | .globl main | |
27 | .type main,@function | |
28 | main: # @main | |
29 | .result i32 | |
30 | # BB#0: # %if.end | |
31 | i32.const $push0=, 0 | |
32 | call exit@FUNCTION, $pop0 | |
33 | unreachable | |
34 | .endfunc | |
35 | .Lfunc_end1: | |
36 | .size main, .Lfunc_end1-main | |
37 | # -- End function | |
38 | ||
39 | .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)" | |
40 | .functype exit, void, i32 |