diff options
Diffstat (limited to 'test/torture-s/string-opt-5.c.s')
-rw-r--r-- | test/torture-s/string-opt-5.c.s | 156 |
1 files changed, 28 insertions, 128 deletions
diff --git a/test/torture-s/string-opt-5.c.s b/test/torture-s/string-opt-5.c.s index 1b4b1b804..e6166dfb6 100644 --- a/test/torture-s/string-opt-5.c.s +++ b/test/torture-s/string-opt-5.c.s @@ -15,30 +15,13 @@ main: # @main i32.const $5=, __stack_pointer i32.store $7=, 0($5), $7 block - block - block - block - block - block - block - block - block - block - block - block - block - block - block - block - block - block i32.const $push138=, 0 i32.load $push137=, bar($pop138) tee_local $push136=, $1=, $pop137 i32.call $push5=, strlen@FUNCTION, $pop136 i32.const $push6=, 8 i32.ne $push7=, $pop5, $pop6 - br_if 0, $pop7 # 0: down to label17 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push144=, 0 i32.const $push143=, 0 @@ -54,11 +37,11 @@ main: # @main i32.call $push12=, strlen@FUNCTION, $pop11 i32.const $push13=, 6 i32.ne $push14=, $pop12, $pop13 - br_if 1, $pop14 # 1: down to label16 + br_if 0, $pop14 # 0: down to label0 # BB#2: # %if.end4 i32.const $push15=, 7 i32.ne $push16=, $2, $pop15 - br_if 2, $pop16 # 2: down to label15 + br_if 0, $pop16 # 0: down to label0 # BB#3: # %if.end16 i32.const $push145=, 0 i32.const $push17=, 3 @@ -71,7 +54,7 @@ main: # @main i32.call $push24=, strlen@FUNCTION, $pop23 i32.const $push25=, 10 i32.ne $push26=, $pop24, $pop25 - br_if 3, $pop26 # 3: down to label14 + br_if 0, $pop26 # 0: down to label0 # BB#4: # %if.end26 i32.const $push146=, 0 i32.const $push27=, -3 @@ -81,13 +64,13 @@ main: # @main i32.add $push29=, $3, $pop28 i32.const $push30=, .L.str.2 i32.call $push31=, strcmp@FUNCTION, $pop29, $pop30 - br_if 4, $pop31 # 4: down to label13 + br_if 0, $pop31 # 0: down to label0 # BB#5: # %if.end33 i32.const $push148=, .L.str.1 i32.call $push32=, strcmp@FUNCTION, $pop148, $1 i32.const $push147=, 0 i32.ge_s $push33=, $pop32, $pop147 - br_if 5, $pop33 # 5: down to label12 + br_if 0, $pop33 # 0: down to label0 # BB#6: # %if.end37 i32.const $push151=, 0 i32.const $push34=, -2 @@ -100,7 +83,7 @@ main: # @main i32.call $push38=, strcmp@FUNCTION, $pop150, $pop37 i32.const $push149=, 0 i32.ge_s $push39=, $pop38, $pop149 - br_if 6, $pop39 # 6: down to label11 + br_if 0, $pop39 # 0: down to label0 # BB#7: # %if.end47 i32.const $push41=, 0 i32.const $push40=, -1 @@ -114,7 +97,7 @@ main: # @main i32.call $push47=, strchr@FUNCTION, $pop45, $pop46 i32.const $push48=, .L.str.1+9 i32.ne $push49=, $pop47, $pop48 - br_if 7, $pop49 # 7: down to label10 + br_if 0, $pop49 # 0: down to label0 # BB#8: # %if.end58 i32.const $push50=, 111 i32.call $push153=, strchr@FUNCTION, $1, $pop50 @@ -122,21 +105,21 @@ main: # @main i32.const $push51=, 4 i32.add $push52=, $1, $pop51 i32.ne $push53=, $pop152, $pop52 - br_if 8, $pop53 # 8: down to label9 + br_if 0, $pop53 # 0: down to label0 # BB#9: # %if.end63 i32.call $push54=, strlen@FUNCTION, $1 i32.const $push55=, 8 i32.ne $push56=, $pop54, $pop55 - br_if 9, $pop56 # 9: down to label8 + br_if 0, $pop56 # 0: down to label0 # BB#10: # %if.end68 i32.const $push57=, 120 i32.call $push58=, strrchr@FUNCTION, $1, $pop57 - br_if 10, $pop58 # 10: down to label7 + br_if 0, $pop58 # 0: down to label0 # BB#11: # %if.end72 i32.const $push59=, 111 i32.call $push60=, strrchr@FUNCTION, $1, $pop59 i32.ne $push61=, $pop60, $0 - br_if 11, $pop61 # 11: down to label6 + br_if 0, $pop61 # 0: down to label0 # BB#12: # %if.end77 i32.const $push62=, 0 i32.const $push156=, 0 @@ -155,13 +138,13 @@ main: # @main i32.const $push70=, .L.str.3 i32.add $push71=, $pop69, $pop70 i32.call $push72=, strcmp@FUNCTION, $pop66, $pop71 - br_if 12, $pop72 # 12: down to label5 + br_if 0, $pop72 # 0: down to label0 # BB#13: # %if.end86 - br_if 13, $1 # 13: down to label4 + br_if 0, $1 # 0: down to label0 # BB#14: # %if.end86 i32.const $push157=, 6 i32.ne $push73=, $3, $pop157 - br_if 13, $pop73 # 13: down to label4 + br_if 0, $pop73 # 0: down to label0 # BB#15: # %if.end90 i32.const $push74=, 5 i32.or $push75=, $7, $pop74 @@ -182,7 +165,7 @@ main: # @main i32.store $discard=, 0($pop158):p2align=0, $pop81 i32.const $push82=, .L.str.4 i32.call $push83=, strcmp@FUNCTION, $3, $pop82 - br_if 14, $pop83 # 14: down to label3 + br_if 0, $pop83 # 0: down to label0 # BB#16: # %if.end108 i32.const $push86=, 64 i32.call $discard=, memset@FUNCTION, $7, $2, $pop86 @@ -190,28 +173,25 @@ main: # @main i32.store $discard=, y($1), $pop88 i32.const $push87=, 7 i32.store $2=, x($1), $pop87 - block - block - block i32.const $push90=, .L.str.5+1 i32.const $push89=, 10 i32.call $push91=, strncpy@FUNCTION, $3, $pop90, $pop89 i32.ne $push92=, $pop91, $3 - br_if 0, $pop92 # 0: down to label20 + br_if 0, $pop92 # 0: down to label0 # BB#17: # %if.end108 i32.load $push84=, x($1) i32.ne $push93=, $pop84, $2 - br_if 0, $pop93 # 0: down to label20 + br_if 0, $pop93 # 0: down to label0 # BB#18: # %if.end108 i32.load $push85=, y($1) i32.const $push94=, 2 i32.ne $push95=, $pop85, $pop94 - br_if 0, $pop95 # 0: down to label20 + br_if 0, $pop95 # 0: down to label0 # BB#19: # %lor.lhs.false125 i32.const $push96=, .L.str.6 i32.const $push97=, 12 i32.call $push98=, memcmp@FUNCTION, $7, $pop96, $pop97 - br_if 0, $pop98 # 0: down to label20 + br_if 0, $pop98 # 0: down to label0 # BB#20: # %if.end130 i32.const $push100=, 32 i32.const $push99=, 64 @@ -220,12 +200,12 @@ main: # @main i32.const $push102=, 8 i32.call $push103=, strncpy@FUNCTION, $7, $pop101, $pop102 i32.ne $push104=, $pop103, $7 - br_if 1, $pop104 # 1: down to label19 + br_if 0, $pop104 # 0: down to label0 # BB#21: # %lor.lhs.false136 i32.const $push105=, .L.str.8 i32.const $push106=, 9 i32.call $push107=, memcmp@FUNCTION, $7, $pop105, $pop106 - br_if 1, $pop107 # 1: down to label19 + br_if 0, $pop107 # 0: down to label0 # BB#22: # %if.end141 i32.const $push108=, buf i32.const $push110=, 32 @@ -244,12 +224,12 @@ main: # @main i32.call $discard=, memset@FUNCTION, $3, $pop116, $1 i32.const $push164=, 3 i32.ne $push117=, $1, $pop164 - br_if 2, $pop117 # 2: down to label18 + br_if 0, $pop117 # 0: down to label0 # BB#23: # %lor.lhs.false148 i32.const $push118=, .L.str.9 i32.const $push167=, 3 i32.call $push119=, memcmp@FUNCTION, $3, $pop118, $pop167 - br_if 2, $pop119 # 2: down to label18 + br_if 0, $pop119 # 0: down to label0 # BB#24: # %lor.lhs.false158 i32.const $push170=, 0 i32.const $push120=, 4 @@ -261,7 +241,7 @@ main: # @main i32.const $push123=, .L.str.10 i32.const $push168=, 11 i32.call $push124=, memcmp@FUNCTION, $pop122, $pop123, $pop168 - br_if 18, $pop124 # 18: down to label2 + br_if 0, $pop124 # 0: down to label0 # BB#25: # %lor.lhs.false171 i32.const $push175=, 0 i32.const $push174=, 11 @@ -276,7 +256,7 @@ main: # @main i32.const $push126=, .L.str.11 i32.const $push127=, 7 i32.call $push129=, memcmp@FUNCTION, $pop128, $pop126, $pop127 - br_if 19, $pop129 # 19: down to label1 + br_if 0, $pop129 # 0: down to label0 # BB#26: # %lor.lhs.false180 i32.const $push131=, 0 i32.const $push130=, 15 @@ -290,94 +270,14 @@ main: # @main i32.const $push132=, .L.str.12 i32.const $push133=, 11 i32.call $push135=, memcmp@FUNCTION, $pop134, $pop132, $pop133 - br_if 20, $pop135 # 20: down to label0 + br_if 0, $pop135 # 0: down to label0 # BB#27: # %if.end184 i32.const $6=, 64 i32.add $7=, $7, $6 i32.const $6=, __stack_pointer i32.store $7=, 0($6), $7 return $1 -.LBB0_28: # %if.then129 - end_block # label20: - call abort@FUNCTION - unreachable -.LBB0_29: # %if.then140 - end_block # label19: - call abort@FUNCTION - unreachable -.LBB0_30: # %if.then151 - end_block # label18: - call abort@FUNCTION - unreachable -.LBB0_31: # %if.then - end_block # label17: - call abort@FUNCTION - unreachable -.LBB0_32: # %if.then3 - end_block # label16: - call abort@FUNCTION - unreachable -.LBB0_33: # %if.then6 - end_block # label15: - call abort@FUNCTION - unreachable -.LBB0_34: # %if.then22 - end_block # label14: - call abort@FUNCTION - unreachable -.LBB0_35: # %if.then29 - end_block # label13: - call abort@FUNCTION - unreachable -.LBB0_36: # %if.then36 - end_block # label12: - call abort@FUNCTION - unreachable -.LBB0_37: # %if.then43 - end_block # label11: - call abort@FUNCTION - unreachable -.LBB0_38: # %if.then54 - end_block # label10: - call abort@FUNCTION - unreachable -.LBB0_39: # %if.then62 - end_block # label9: - call abort@FUNCTION - unreachable -.LBB0_40: # %if.then67 - end_block # label8: - call abort@FUNCTION - unreachable -.LBB0_41: # %if.then71 - end_block # label7: - call abort@FUNCTION - unreachable -.LBB0_42: # %if.then76 - end_block # label6: - call abort@FUNCTION - unreachable -.LBB0_43: # %if.then85 - end_block # label5: - call abort@FUNCTION - unreachable -.LBB0_44: # %if.then89 - end_block # label4: - call abort@FUNCTION - unreachable -.LBB0_45: # %if.then107 - end_block # label3: - call abort@FUNCTION - unreachable -.LBB0_46: # %if.then161 - end_block # label2: - call abort@FUNCTION - unreachable -.LBB0_47: # %if.then174 - end_block # label1: - call abort@FUNCTION - unreachable -.LBB0_48: # %if.then183 +.LBB0_28: # %if.then183 end_block # label0: call abort@FUNCTION unreachable |