summaryrefslogtreecommitdiff
path: root/test/torture-s/20030715-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20030715-1.c.s')
-rw-r--r--test/torture-s/20030715-1.c.s15
1 files changed, 10 insertions, 5 deletions
diff --git a/test/torture-s/20030715-1.c.s b/test/torture-s/20030715-1.c.s
index dfcd8c2c9..78bc8eb4a 100644
--- a/test/torture-s/20030715-1.c.s
+++ b/test/torture-s/20030715-1.c.s
@@ -10,6 +10,7 @@ ap_check_cmd_context: # @ap_check_cmd_context
# BB#0: # %entry
i32.const $push0=, 0
return $pop0
+ .endfunc
.Lfunc_end0:
.size ap_check_cmd_context, .Lfunc_end0-ap_check_cmd_context
@@ -26,22 +27,25 @@ server_type: # @server_type
i32.call $4=, strcmp@FUNCTION, $2, $pop0
i32.const $3=, 0
copy_local $5=, $3
- block .LBB1_3
- block .LBB1_2
+ block
+ block
i32.const $push2=, 0
i32.eq $push3=, $4, $pop2
- br_if $pop3, .LBB1_2
+ br_if $pop3, 0 # 0: down to label1
# BB#1: # %if.else
i32.const $push1=, .L.str.1
i32.call $4=, strcmp@FUNCTION, $2, $pop1
i32.const $2=, .L.str.2
i32.const $5=, 1
- br_if $4, .LBB1_3
+ br_if $4, 1 # 1: down to label0
.LBB1_2: # %if.end9
+ end_block # label1:
i32.store $discard=, ap_standalone($3), $5
copy_local $2=, $3
.LBB1_3: # %cleanup
+ end_block # label0:
return $2
+ .endfunc
.Lfunc_end1:
.size server_type, .Lfunc_end1-server_type
@@ -57,6 +61,7 @@ main: # @main
i32.const $push0=, 1
i32.store $discard=, ap_standalone($0), $pop0
return $0
+ .endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
@@ -87,5 +92,5 @@ ap_standalone:
.size .L.str.2, 50
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits