blob: 61b8ed314641e1f0afadae469eec8982bf8b0fae [file] [edit]
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20051021-1.c"
.section .text.foo1,"ax",@progbits
.hidden foo1
.globl foo1
.type foo1,@function
foo1: # @foo1
.result i32
# BB#0: # %entry
i32.const $push0=, 0
i32.const $push5=, 0
i32.load $push1=, count($pop5)
i32.const $push2=, 1
i32.add $push3=, $pop1, $pop2
i32.store count($pop0), $pop3
i32.const $push4=, 0
# fallthrough-return: $pop4
.endfunc
.Lfunc_end0:
.size foo1, .Lfunc_end0-foo1
.section .text.foo2,"ax",@progbits
.hidden foo2
.globl foo2
.type foo2,@function
foo2: # @foo2
.result i32
# BB#0: # %entry
i32.const $push0=, 0
i32.const $push5=, 0
i32.load $push1=, count($pop5)
i32.const $push2=, 1
i32.add $push3=, $pop1, $pop2
i32.store count($pop0), $pop3
i32.const $push4=, 0
# fallthrough-return: $pop4
.endfunc
.Lfunc_end1:
.size foo2, .Lfunc_end1-foo2
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
.local i32
# BB#0: # %entry
i32.const $push5=, 0
i32.const $push4=, 0
i32.load $push3=, count($pop4)
tee_local $push2=, $0=, $pop3
i32.const $push0=, 2
i32.add $push1=, $pop2, $pop0
i32.store count($pop5), $pop1
block
br_if 0, $0 # 0: down to label0
# BB#1: # %if.end7
i32.const $push6=, 0
return $pop6
.LBB2_2: # %if.then6
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.hidden count # @count
.type count,@object
.section .bss.count,"aw",@nobits
.globl count
.p2align 2
count:
.int32 0 # 0x0
.size count, 4
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void