blob: b865e7aa86118217ad8500e0d097ff514dabbe1b [file] [edit]
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20000717-3.c"
.section .text.foo,"ax",@progbits
.hidden foo
.globl foo
.type foo,@function
foo: # @foo
.param i32
.result i32
.local i32
# BB#0: # %entry
i32.const $push3=, 0
i32.load $1=, c($pop3)
i32.load $push0=, 0($0)
i32.const $push1=, -10
i32.add $push2=, $pop0, $pop1
i32.store 0($0), $pop2
copy_local $push4=, $1
# fallthrough-return: $pop4
.endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
block
i32.const $push3=, 0
i32.load $push0=, c($pop3)
i32.const $push1=, -1
i32.ne $push2=, $pop0, $pop1
br_if 0, $pop2 # 0: down to label0
# BB#1: # %if.end
i32.const $push4=, 0
call exit@FUNCTION, $pop4
unreachable
.LBB1_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.hidden c # @c
.type c,@object
.section .data.c,"aw",@progbits
.globl c
.p2align 2
c:
.int32 4294967295 # 0xffffffff
.size c, 4
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void
.functype exit, void, i32