diff options
Diffstat (limited to 'test/torture-s/pr56837.c.s')
-rw-r--r-- | test/torture-s/pr56837.c.s | 48 |
1 files changed, 22 insertions, 26 deletions
diff --git a/test/torture-s/pr56837.c.s b/test/torture-s/pr56837.c.s index 9990d71d5..6e31d2981 100644 --- a/test/torture-s/pr56837.c.s +++ b/test/torture-s/pr56837.c.s @@ -5,21 +5,17 @@ .globl foo .type foo,@function foo: # @foo - .local i64, i32 + .local i32 # BB#0: # %entry - i64.const $0=, 4294967295 - i32.const $1=, -8192 + i32.const $0=, -8192 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push0=, a - i32.add $push1=, $pop0, $1 - i32.const $push2=, 8192 - i32.add $push3=, $pop1, $pop2 - i64.store $discard=, 0($pop3), $0 - i32.const $push4=, 8 - i32.add $1=, $1, $pop4 - br_if $1, 0 # 0: up to label0 + i64.const $push1=, 4294967295 + i64.store $discard=, a+8192($0), $pop1 + i32.const $push0=, 8 + i32.add $0=, $0, $pop0 + br_if $0, 0 # 0: up to label0 # BB#2: # %for.end end_loop # label1: return @@ -42,29 +38,29 @@ main: # @main # =>This Inner Loop Header: Depth=1 block loop # label3: - i32.load $push1=, 0($0) - i32.const $push4=, -1 - i32.ne $push5=, $pop1, $pop4 - br_if $pop5, 2 # 2: down to label2 + i32.load $push1=, 0($0):p2align=3 + i32.const $push9=, -1 + i32.ne $push3=, $pop1, $pop9 + br_if $pop3, 2 # 2: down to label2 # BB#2: # %for.body # in Loop: Header=BB1_1 Depth=1 - i32.const $push2=, 4 - i32.add $push3=, $0, $pop2 - i32.load $push0=, 0($pop3) + i32.const $push10=, 4 + i32.add $push2=, $0, $pop10 + i32.load $push0=, 0($pop2) br_if $pop0, 2 # 2: down to label2 # BB#3: # %for.cond # in Loop: Header=BB1_1 Depth=1 - i32.const $push6=, 1 - i32.add $1=, $1, $pop6 + i32.const $push8=, 1 + i32.add $1=, $1, $pop8 i32.const $push7=, 8 i32.add $0=, $0, $pop7 - i32.const $push8=, 1023 - i32.le_s $push9=, $1, $pop8 - br_if $pop9, 0 # 0: up to label3 + i32.const $push6=, 1023 + i32.le_s $push4=, $1, $pop6 + br_if $pop4, 0 # 0: up to label3 # BB#4: # %for.end end_loop # label4: - i32.const $push10=, 0 - return $pop10 + i32.const $push5=, 0 + return $pop5 .LBB1_5: # %if.then end_block # label2: call abort@FUNCTION @@ -77,7 +73,7 @@ main: # @main .type a,@object .section .bss.a,"aw",@nobits .globl a - .align 4 + .p2align 4 a: .skip 8192 .size a, 8192 |