blob: cb809593151789e1133be5baa06f6a4d9a9be06b [file] [edit]
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20011019-1.c"
.section .text.foo,"ax",@progbits
.hidden foo
.globl foo
.type foo,@function
foo: # @foo
.result i32
# BB#0: # %entry
i32.const $push0=, 0
i32.load $push1=, y($pop0)
i32.const $push2=, x+4
i32.sub $push3=, $pop1, $pop2
i32.const $push4=, 2
i32.shr_s $push5=, $pop3, $pop4
# fallthrough-return: $pop5
.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
i32.const $push1=, 0
i32.const $push0=, x+4
i32.store y($pop1), $pop0
i32.const $push2=, 0
call exit@FUNCTION, $pop2
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.hidden y # @y
.type y,@object
.section .bss.y,"aw",@nobits
.globl y
.p2align 2
y:
.int32 0
.size y, 4
.hidden x # @x
.type x,@object
.section .bss.x,"aw",@nobits
.globl x
.p2align 2
x:
.skip 24
.size x, 24
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype exit, void, i32