summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/dot_s/memops.s18
-rw-r--r--test/dot_s/memops.wast12
2 files changed, 14 insertions, 16 deletions
diff --git a/test/dot_s/memops.s b/test/dot_s/memops.s
index 64c967a13..aadab0db2 100644
--- a/test/dot_s/memops.s
+++ b/test/dot_s/memops.s
@@ -35,7 +35,7 @@ main: # @main
copy_local $4=, $1
.LBB1_2: # Parent Loop .LBB1_1 Depth=1
# => This Inner Loop Header: Depth=2
- loop .LBB1_3
+ loop
i32.const $10=, 0
i32.add $10=, $12, $10
i32.add $push1=, $10, $4
@@ -46,11 +46,9 @@ main: # @main
i32.const $3=, 1048576
i32.ne $push2=, $4, $3
copy_local $5=, $1
- br_if $pop2, .LBB1_2
-.LBB1_3: # %.preheader
- # Parent Loop .LBB1_1 Depth=1
- # => This Inner Loop Header: Depth=2
- loop .LBB1_4
+ br_if $pop2, 0
+ end_loop
+ loop
i32.const $11=, 0
i32.add $11=, $12, $11
i32.add $push3=, $11, $5
@@ -59,8 +57,8 @@ main: # @main
i32.add $6=, $pop5, $6
i32.add $5=, $5, $2
i32.ne $push6=, $5, $3
- br_if $pop6, .LBB1_3
-.LBB1_4: # in Loop: Header=.LBB1_1 Depth=1
+ br_if $pop6, 0
+ end_loop
i32.const $push7=, 3
i32.mul $push8=, $6, $pop7
i32.const $push9=, 5
@@ -73,8 +71,8 @@ main: # @main
i32.add $0=, $0, $2
i32.const $push15=, 100
i32.ne $push16=, $0, $pop15
- br_if $pop16, .LBB1_1
-.LBB1_5:
+ br_if $pop16, 0
+ end_loop
call _Z6reporti@FUNCTION, $6
i32.const $push17=, 0
i32.const $9=, 1048576
diff --git a/test/dot_s/memops.wast b/test/dot_s/memops.wast
index e8ea14590..5428d765b 100644
--- a/test/dot_s/memops.wast
+++ b/test/dot_s/memops.wast
@@ -69,12 +69,12 @@
(set_local $$6
(get_local $$1)
)
- (loop $.LBB1_5 $.LBB1_1
+ (loop $label$1 $label$0
(block
(set_local $$4
(get_local $$1)
)
- (loop $.LBB1_3 $.LBB1_2
+ (loop $label$3 $label$2
(block
(set_local $$10
(i32.const 0)
@@ -115,11 +115,11 @@
(get_local $$4)
(get_local $$3)
)
- $.LBB1_2
+ $label$2
)
)
)
- (loop $.LBB1_4 $.LBB1_3
+ (loop $label$5 $label$4
(block
(set_local $$11
(i32.const 0)
@@ -155,7 +155,7 @@
(get_local $$5)
(get_local $$3)
)
- $.LBB1_3
+ $label$4
)
)
)
@@ -188,7 +188,7 @@
(get_local $$0)
(i32.const 100)
)
- $.LBB1_1
+ $label$0
)
)
)