diff options
Diffstat (limited to 'test/torture-s/pr24141.c.s')
-rw-r--r-- | test/torture-s/pr24141.c.s | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/torture-s/pr24141.c.s b/test/torture-s/pr24141.c.s index 1e375b67b..3c57d8310 100644 --- a/test/torture-s/pr24141.c.s +++ b/test/torture-s/pr24141.c.s @@ -10,6 +10,7 @@ g: # @g i32.const $push1=, 1 i32.store $discard=, i($pop0), $pop1 return + .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -20,18 +21,20 @@ g: # @g f: # @f .param i32, i32 # BB#0: # %entry - block .LBB1_3 + block i32.const $push2=, 0 i32.eq $push3=, $0, $pop2 - br_if $pop3, .LBB1_3 + br_if $pop3, 0 # 0: down to label0 # BB#1: # %entry - br_if $1, .LBB1_3 + br_if $1, 0 # 0: down to label0 # BB#2: # %if.then10 i32.const $push0=, 0 i32.const $push1=, 1 i32.store $discard=, i($pop0), $pop1 .LBB1_3: # %cleanup + end_block # label0: return + .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -47,6 +50,7 @@ main: # @main i32.const $push0=, 1 i32.store $discard=, i($0), $pop0 return $0 + .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main @@ -60,5 +64,5 @@ i: .size i, 4 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |