blob: 51cadfd9e39c644f88768ea778ef5f4f6d9b7802 [file] [log] [blame]
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr25125.c"
.section .text.f,"ax",@progbits
.hidden f
.globl f
.type f,@function
f: # @f
.param i32
.result i32
.local i32
# BB#0: # %entry
i32.const $1=, 0
block
i32.const $push6=, 0
i32.gt_s $push0=, $0, $pop6
br_if 0, $pop0 # 0: down to label0
# BB#1: # %if.end
i32.const $push1=, 65535
i32.and $push2=, $0, $pop1
i32.const $push3=, 32768
i32.add $1=, $pop2, $pop3
.LBB0_2: # %cleanup
end_block # label0:
i32.const $push4=, 65535
i32.and $push5=, $1, $pop4
# fallthrough-return: $pop5
.endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
# BB#0: # %entry
block
i32.const $push0=, -32767
i32.call $push1=, f@FUNCTION, $pop0
i32.const $push2=, 1
i32.ne $push3=, $pop1, $pop2
br_if 0, $pop3 # 0: down to label1
# BB#1: # %if.end
i32.const $push4=, 0
call exit@FUNCTION, $pop4
unreachable
.LBB1_2: # %if.then
end_block # label1:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void
.functype exit, void, i32