diff options
Diffstat (limited to 'test/torture-s/inst-check.c.s')
-rw-r--r-- | test/torture-s/inst-check.c.s | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/inst-check.c.s b/test/torture-s/inst-check.c.s index ab9cbfc50..07151b74b 100644 --- a/test/torture-s/inst-check.c.s +++ b/test/torture-s/inst-check.c.s @@ -10,10 +10,10 @@ f: # @f .local i32 # BB#0: # %entry i32.const $1=, 0 - block .LBB0_2 + block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, .LBB0_2 + br_if $pop1, 0 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $1=, -1 i32.add $push2=, $0, $1 @@ -28,7 +28,9 @@ f: # @f i32.add $push11=, $pop10, $0 i32.add $1=, $pop11, $1 .LBB0_2: # %for.end + end_block # label0: return $1 + .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -42,9 +44,10 @@ main: # @main i32.const $push0=, 0 call exit@FUNCTION, $pop0 unreachable + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |