summaryrefslogtreecommitdiff
path: root/test/torture-s/vla-dealloc-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/vla-dealloc-1.c.s')
-rw-r--r--test/torture-s/vla-dealloc-1.c.s65
1 files changed, 33 insertions, 32 deletions
diff --git a/test/torture-s/vla-dealloc-1.c.s b/test/torture-s/vla-dealloc-1.c.s
index 3ff06935f..afe59675d 100644
--- a/test/torture-s/vla-dealloc-1.c.s
+++ b/test/torture-s/vla-dealloc-1.c.s
@@ -8,43 +8,44 @@ main: # @main
.result i32
.local i32, i32, i32, i32, i32
# BB#0: # %entry
- i32.const $push7=, __stack_pointer
- i32.load $push9=, 0($pop7)
- tee_local $push8=, $2=, $pop9
- copy_local $drop=, $pop8
- i32.const $1=, 0
+ i32.const $push8=, 0
+ i32.load $push10=, __stack_pointer($pop8)
+ tee_local $push9=, $4=, $pop10
+ copy_local $drop=, $pop9
+ i32.const $3=, 0
.LBB0_1: # %if.end
# =>This Inner Loop Header: Depth=1
loop # label0:
- i32.const $push21=, 1000
- i32.rem_s $push0=, $1, $pop21
- i32.const $push20=, 2
- i32.shl $push19=, $pop0, $pop20
- tee_local $push18=, $4=, $pop19
- i32.const $push17=, 19
- i32.add $push2=, $pop18, $pop17
- i32.const $push16=, -16
- i32.and $push3=, $pop2, $pop16
- i32.sub $push15=, $2, $pop3
- tee_local $push14=, $3=, $pop15
- copy_local $drop=, $pop14
- i32.const $push13=, 1
- i32.store $0=, 0($3), $pop13
- i32.add $push4=, $3, $4
- i32.const $push12=, 2
- i32.store $drop=, 0($pop4), $pop12
- i32.const $push11=, 0
- i32.store $drop=, p($pop11), $3
- i32.add $1=, $1, $0
- copy_local $push1=, $2
- copy_local $2=, $pop1
- i32.const $push10=, 1000000
- i32.ne $push5=, $1, $pop10
- br_if 0, $pop5 # 0: up to label0
+ i32.const $push24=, 1000
+ i32.rem_s $push1=, $3, $pop24
+ i32.const $push23=, 2
+ i32.shl $push22=, $pop1, $pop23
+ tee_local $push21=, $1=, $pop22
+ i32.const $push20=, 19
+ i32.add $push2=, $pop21, $pop20
+ i32.const $push19=, -16
+ i32.and $push3=, $pop2, $pop19
+ i32.sub $push18=, $4, $pop3
+ tee_local $push17=, $2=, $pop18
+ copy_local $drop=, $pop17
+ i32.const $push16=, 1
+ i32.store $0=, 0($2), $pop16
+ i32.const $push15=, 0
+ i32.store $push0=, p($pop15), $2
+ i32.add $push5=, $pop0, $1
+ i32.const $push14=, 2
+ i32.store $drop=, 0($pop5), $pop14
+ copy_local $push4=, $4
+ copy_local $4=, $pop4
+ i32.add $push13=, $3, $0
+ tee_local $push12=, $3=, $pop13
+ i32.const $push11=, 1000000
+ i32.ne $push6=, $pop12, $pop11
+ br_if 0, $pop6 # 0: up to label0
# BB#2: # %cleanup5
end_loop # label1:
- i32.const $push6=, 0
- return $pop6
+ i32.const $push7=, 0
+ # fallthrough-return: $pop7
.endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main