diff options
Diffstat (limited to 'test/torture-s/pr42512.c.s')
-rw-r--r-- | test/torture-s/pr42512.c.s | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/test/torture-s/pr42512.c.s b/test/torture-s/pr42512.c.s index c8ba84fe1..2d47c2e59 100644 --- a/test/torture-s/pr42512.c.s +++ b/test/torture-s/pr42512.c.s @@ -13,25 +13,28 @@ main: # @main i32.const $3=, -1 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 - loop .LBB0_2 + loop # label0: i32.const $1=, 65535 i32.and $push0=, $4, $1 i32.or $4=, $pop0, $3 i32.const $2=, 255 i32.add $push1=, $3, $2 i32.and $3=, $pop1, $2 - br_if $3, .LBB0_1 -.LBB0_2: # %for.end + br_if $3, 0 # 0: up to label0 +# BB#2: # %for.end + end_loop # label1: i32.store16 $discard=, g_3($0), $4 - block .LBB0_4 + block i32.and $push2=, $4, $1 i32.ne $push3=, $pop2, $1 - br_if $pop3, .LBB0_4 + br_if $pop3, 0 # 0: down to label2 # BB#3: # %if.end return $0 .LBB0_4: # %if.then + end_block # label2: call abort@FUNCTION unreachable + .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -45,5 +48,5 @@ g_3: .size g_3, 2 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |