diff options
Diffstat (limited to 'test/torture-s/pr57281.c.s')
-rw-r--r-- | test/torture-s/pr57281.c.s | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/torture-s/pr57281.c.s b/test/torture-s/pr57281.c.s index eb82cedd7..264725951 100644 --- a/test/torture-s/pr57281.c.s +++ b/test/torture-s/pr57281.c.s @@ -16,6 +16,7 @@ foo: # @foo i64.store $discard=, 0($pop1), $pop0 i32.select $push2=, $0, $1, $2 return $pop2 + .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -29,17 +30,17 @@ main: # @main # BB#0: # %entry i32.const $3=, 0 i32.const $4=, -20 - block .LBB1_3 + block i32.load $push0=, b($3) i32.eq $push1=, $pop0, $4 - br_if $pop1, .LBB1_3 + br_if $pop1, 0 # 0: down to label0 # BB#1: # %for.body.lr.ph i32.load $0=, a($3) i32.load $1=, e($3) i32.load $2=, g($3) .LBB1_2: # %for.body # =>This Inner Loop Header: Depth=1 - loop .LBB1_3 + loop # label1: i64.load $discard=, f($3) i32.store $5=, 0($1), $3 i32.load $6=, b($5) @@ -52,9 +53,12 @@ main: # @main i32.add $push6=, $pop4, $pop5 i32.store $push7=, b($5), $pop6 i32.ne $push8=, $pop7, $4 - br_if $pop8, .LBB1_2 + br_if $pop8, 0 # 0: up to label1 .LBB1_3: # %for.end + end_loop # label2: + end_block # label0: return $3 + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -122,5 +126,5 @@ f: .size f, 8 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |