diff options
Diffstat (limited to 'test/torture-s/loop-10.c.s')
-rw-r--r-- | test/torture-s/loop-10.c.s | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/torture-s/loop-10.c.s b/test/torture-s/loop-10.c.s new file mode 100644 index 000000000..1ade0b74e --- /dev/null +++ b/test/torture-s/loop-10.c.s @@ -0,0 +1,28 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/loop-10.c" + .globl main + .type main,@function +main: # @main + .result i32 + .local i32, i32 +# BB#0: # %while.end + i32.const $0=, 0 + i32.load $1=, count($0) + block BB0_2 + i32.const $push0=, 2 + i32.add $push1=, $1, $pop0 + i32.store $discard=, count($0), $pop1 + br_if $1, BB0_2 +# BB#1: # %if.end4 + return $0 +BB0_2: # %if.then3 + call abort + unreachable +func_end0: + .size main, func_end0-main + + .type count,@object # @count + .lcomm count,4,2 + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |