summaryrefslogtreecommitdiff
path: root/test/torture-s/doloop-2.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/doloop-2.c.s')
-rw-r--r--test/torture-s/doloop-2.c.s27
1 files changed, 14 insertions, 13 deletions
diff --git a/test/torture-s/doloop-2.c.s b/test/torture-s/doloop-2.c.s
index 1a31bbf3b..bc8ce7a90 100644
--- a/test/torture-s/doloop-2.c.s
+++ b/test/torture-s/doloop-2.c.s
@@ -12,28 +12,29 @@ main: # @main
.LBB0_1: # %do.body
# =>This Inner Loop Header: Depth=1
loop # label0:
- i32.const $push10=, 0
- i32.const $push9=, 0
- i32.load $push0=, i($pop9)
- i32.const $push8=, 1
- i32.add $push1=, $pop0, $pop8
- i32.store $drop=, i($pop10), $pop1
- i32.const $push7=, -1
- i32.add $0=, $0, $pop7
+ i32.const $push12=, 0
+ i32.const $push11=, 0
+ i32.load $push0=, i($pop11)
+ i32.const $push10=, 1
+ i32.add $push1=, $pop0, $pop10
+ i32.store $drop=, i($pop12), $pop1
+ i32.const $push9=, -1
+ i32.add $push8=, $0, $pop9
+ tee_local $push7=, $0=, $pop8
i32.const $push6=, 65535
- i32.and $push2=, $0, $pop6
+ i32.and $push2=, $pop7, $pop6
br_if 0, $pop2 # 0: up to label0
# BB#2: # %do.end
end_loop # label1:
block
- i32.const $push11=, 0
- i32.load $push3=, i($pop11)
+ i32.const $push13=, 0
+ i32.load $push3=, i($pop13)
i32.const $push4=, 65536
i32.ne $push5=, $pop3, $pop4
br_if 0, $pop5 # 0: down to label2
# BB#3: # %if.end
- i32.const $push12=, 0
- call exit@FUNCTION, $pop12
+ i32.const $push14=, 0
+ call exit@FUNCTION, $pop14
unreachable
.LBB0_4: # %if.then
end_block # label2: