blob: 7977e57fa57687b7d025111c3feb6a99b4973f30 [file] [edit]
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/va-arg-20.c"
.section .text.foo,"ax",@progbits
.hidden foo
.globl foo
.type foo,@function
foo: # @foo
.param i32
# BB#0: # %entry
block
i32.const $push0=, 7
i32.add $push1=, $0, $pop0
i32.const $push2=, -8
i32.and $push3=, $pop1, $pop2
i64.load $push4=, 0($pop3)
i64.const $push5=, 16
i64.ne $push6=, $pop4, $pop5
br_if 0, $pop6 # 0: down to label0
# BB#1: # %if.end
return
.LBB0_2: # %if.then
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
.section .text.bar,"ax",@progbits
.hidden bar
.globl bar
.type bar,@function
bar: # @bar
.param i32, i32, i32
.local i32
# BB#0: # %entry
i32.const $push10=, 0
i32.const $push7=, 0
i32.load $push8=, __stack_pointer($pop7)
i32.const $push9=, 16
i32.sub $push15=, $pop8, $pop9
tee_local $push14=, $3=, $pop15
i32.store __stack_pointer($pop10), $pop14
i32.store 12($3), $2
block
i32.const $push0=, 7
i32.add $push1=, $2, $pop0
i32.const $push2=, -8
i32.and $push3=, $pop1, $pop2
i64.load $push4=, 0($pop3)
i64.const $push5=, 16
i64.ne $push6=, $pop4, $pop5
br_if 0, $pop6 # 0: down to label1
# BB#1: # %foo.exit
i32.const $push13=, 0
i32.const $push11=, 16
i32.add $push12=, $3, $pop11
i32.store __stack_pointer($pop13), $pop12
return
.LBB1_2: # %if.then.i
end_block # label1:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size bar, .Lfunc_end1-bar
.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 $push2=, 0
i32.load $push3=, __stack_pointer($pop2)
i32.const $push4=, 16
i32.sub $push9=, $pop3, $pop4
tee_local $push8=, $0=, $pop9
i32.store __stack_pointer($pop5), $pop8
i64.const $push0=, 16
i64.store 0($0), $pop0
i32.const $push1=, 0
i32.const $push7=, 0
call bar@FUNCTION, $pop1, $pop7, $0
i32.const $push6=, 0
call exit@FUNCTION, $pop6
unreachable
.endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype abort, void
.functype exit, void, i32