forked from WebAssembly/binaryen
/
loop-ivopts-1.c.s
59 lines (55 loc) · 1.59 KB
/
loop-ivopts-1.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
.text
.file "/usr/local/google/home/jgravelle/code/wasm/waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/loop-ivopts-1.c"
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
i32.const $push1=, 0
i32.const $push0=, 1126498304
i32.store foo.tmp+8($pop1), $pop0
i32.const $push4=, 0
i64.const $push2=, 4803089003686395904
i64.store foo.tmp($pop4), $pop2
i32.const $push3=, 0
# fallthrough-return: $pop3
.endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
.section .text.foo,"ax",@progbits
.hidden foo
.globl foo
.type foo,@function
foo: # @foo
.param i32
# BB#0: # %for.inc9.3
i32.const $push1=, 0
i32.const $push0=, 1095761920
i32.store foo.tmp($pop1), $pop0
i32.const $push10=, 0
i64.const $push2=, 4838273375797772288
i64.store foo.tmp+4($pop10):p2align=2, $pop2
i32.const $push9=, 1095761920
i32.store 0($0), $pop9
i32.const $push8=, 0
i32.load $push3=, foo.tmp+4($pop8)
i32.store 4($0), $pop3
i32.const $push7=, 0
i32.load $push4=, foo.tmp+8($pop7)
i32.store 8($0), $pop4
i32.const $push6=, 0
i32.load $push5=, foo.tmp+12($pop6)
i32.store 12($0), $pop5
# fallthrough-return
.endfunc
.Lfunc_end1:
.size foo, .Lfunc_end1-foo
.type foo.tmp,@object # @foo.tmp
.section .bss.foo.tmp,"aw",@nobits
.p2align 4
foo.tmp:
.skip 16
.size foo.tmp, 16
.ident "clang version 4.0.0 "