summaryrefslogtreecommitdiff
path: root/test/torture-s/vrp-4.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/vrp-4.c.s')
-rw-r--r--test/torture-s/vrp-4.c.s49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/torture-s/vrp-4.c.s b/test/torture-s/vrp-4.c.s
new file mode 100644
index 000000000..d6172b196
--- /dev/null
+++ b/test/torture-s/vrp-4.c.s
@@ -0,0 +1,49 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/vrp-4.c"
+ .globl test
+ .type test,@function
+test: # @test
+ .param i32, i32
+ .local i32
+# BB#0: # %entry
+ i32.const $2=, 1
+ block BB0_6
+ i32.eq $push0=, $0, $2
+ br_if $pop0, BB0_6
+# BB#1: # %if.end
+ block BB0_5
+ i32.eq $push1=, $1, $2
+ br_if $pop1, BB0_5
+# BB#2: # %if.end3
+ block BB0_4
+ i32.div_s $push2=, $0, $1
+ i32.ne $push3=, $pop2, $2
+ br_if $pop3, BB0_4
+# BB#3: # %if.end6
+ return
+BB0_4: # %if.then5
+ call abort
+ unreachable
+BB0_5: # %if.then2
+ call abort
+ unreachable
+BB0_6: # %if.then
+ call abort
+ unreachable
+func_end0:
+ .size test, func_end0-test
+
+ .globl main
+ .type main,@function
+main: # @main
+ .result i32
+# BB#0: # %entry
+ i32.const $push0=, 0
+ call exit, $pop0
+ unreachable
+func_end1:
+ .size main, func_end1-main
+
+
+ .ident "clang version 3.8.0 "
+ .section ".note.GNU-stack","",@progbits