diff options
Diffstat (limited to 'test/torture-s/20011113-1.c.s')
-rw-r--r-- | test/torture-s/20011113-1.c.s | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/test/torture-s/20011113-1.c.s b/test/torture-s/20011113-1.c.s new file mode 100644 index 000000000..756b6d28c --- /dev/null +++ b/test/torture-s/20011113-1.c.s @@ -0,0 +1,152 @@ + .text + .file "/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20011113-1.c" + .section .text.foo,"ax",@progbits + .hidden foo + .globl foo + .type foo,@function +foo: # @foo + .param i32 + .result i32 +# BB#0: # %entry + block + i32.const $push2=, 8 + i32.add $push3=, $0, $pop2 + i32.load $push4=, 0($pop3) + i32.const $push9=, 21 + i32.ne $push10=, $pop4, $pop9 + br_if $pop10, 0 # 0: down to label0 +# BB#1: # %entry + i32.const $push5=, 12 + i32.add $push6=, $0, $pop5 + i32.load $push0=, 0($pop6) + i32.const $push11=, 22 + i32.ne $push12=, $pop0, $pop11 + br_if $pop12, 0 # 0: down to label0 +# BB#2: # %entry + i32.const $push7=, 16 + i32.add $push8=, $0, $pop7 + i32.load $push1=, 0($pop8) + i32.const $push13=, 23 + i32.ne $push14=, $pop1, $pop13 + br_if $pop14, 0 # 0: down to label0 +# BB#3: # %bar.exit + i32.const $push15=, 0 + return $pop15 +.LBB0_4: # %if.then.i + 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 + .result i32 +# BB#0: # %entry + block + i32.load $push0=, 0($0) + i32.const $push1=, 21 + i32.ne $push2=, $pop0, $pop1 + br_if $pop2, 0 # 0: down to label1 +# BB#1: # %lor.lhs.false + i32.load $push3=, 4($0) + i32.const $push4=, 22 + i32.ne $push5=, $pop3, $pop4 + br_if $pop5, 0 # 0: down to label1 +# BB#2: # %lor.lhs.false4 + i32.load $push6=, 8($0) + i32.const $push7=, 23 + i32.ne $push8=, $pop6, $pop7 + br_if $pop8, 0 # 0: down to label1 +# BB#3: # %if.end + i32.const $push9=, 0 + return $pop9 +.LBB1_4: # %if.then + end_block # label1: + call abort@FUNCTION + unreachable + .endfunc +.Lfunc_end1: + .size bar, .Lfunc_end1-bar + + .section .text.baz,"ax",@progbits + .hidden baz + .globl baz + .type baz,@function +baz: # @baz + .param i32 + .result i32 +# BB#0: # %entry + block + i32.const $push2=, 8 + i32.add $push3=, $0, $pop2 + i32.load $push4=, 0($pop3) + i32.const $push9=, 21 + i32.ne $push10=, $pop4, $pop9 + br_if $pop10, 0 # 0: down to label2 +# BB#1: # %entry + i32.const $push5=, 12 + i32.add $push6=, $0, $pop5 + i32.load $push0=, 0($pop6) + i32.const $push11=, 22 + i32.ne $push12=, $pop0, $pop11 + br_if $pop12, 0 # 0: down to label2 +# BB#2: # %entry + i32.const $push7=, 16 + i32.add $push8=, $0, $pop7 + i32.load $push1=, 0($pop8) + i32.const $push13=, 23 + i32.ne $push14=, $pop1, $pop13 + br_if $pop14, 0 # 0: down to label2 +# BB#3: # %bar.exit + i32.const $push15=, 0 + return $pop15 +.LBB2_4: # %if.then.i + end_block # label2: + call abort@FUNCTION + unreachable + .endfunc +.Lfunc_end2: + .size baz, .Lfunc_end2-baz + + .section .text.main,"ax",@progbits + .hidden main + .globl main + .type main,@function +main: # @main + .result i32 +# BB#0: # %entry + i32.const $push0=, t + i32.call $discard=, baz@FUNCTION, $pop0 + i32.const $push2=, t + i32.call $discard=, foo@FUNCTION, $pop2 + i32.const $push1=, 0 + call exit@FUNCTION, $pop1 + unreachable + .endfunc +.Lfunc_end3: + .size main, .Lfunc_end3-main + + .hidden t # @t + .type t,@object + .section .data.t,"aw",@progbits + .globl t + .p2align 2 +t: + .int8 26 # 0x1a + .int8 0 # 0x0 + .int8 0 # 0x0 + .int8 0 # 0x0 + .int32 0 # 0x0 + .int32 21 # 0x15 + .int32 22 # 0x16 + .int32 23 # 0x17 + .size t, 20 + + + .ident "clang version 3.9.0 " |