summaryrefslogtreecommitdiff
path: root/test/torture-s/zero-struct-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/zero-struct-1.c.s')
-rw-r--r--test/torture-s/zero-struct-1.c.s55
1 files changed, 27 insertions, 28 deletions
diff --git a/test/torture-s/zero-struct-1.c.s b/test/torture-s/zero-struct-1.c.s
index 06c6d7978..99bfcad41 100644
--- a/test/torture-s/zero-struct-1.c.s
+++ b/test/torture-s/zero-struct-1.c.s
@@ -5,21 +5,20 @@
.globl h
.type h,@function
h: # @h
- .local i32
# BB#0: # %entry
i32.const $push0=, 0
- i32.load $0=, ff($pop0)
- i32.const $push8=, 0
- i32.const $push7=, 0
- i32.load $push1=, f($pop7)
+ i32.const $push9=, 0
+ i32.load $push1=, f($pop9)
i32.const $push2=, 2
i32.add $push3=, $pop1, $pop2
- i32.store $drop=, f($pop8), $pop3
- i32.const $push6=, 0
- i32.const $push5=, 2
- i32.add $push4=, $0, $pop5
- i32.store $drop=, ff($pop6), $pop4
- return
+ i32.store $drop=, f($pop0), $pop3
+ i32.const $push8=, 0
+ i32.const $push7=, 0
+ i32.load $push4=, ff($pop7)
+ i32.const $push6=, 2
+ i32.add $push5=, $pop4, $pop6
+ i32.store $drop=, ff($pop8), $pop5
+ # fallthrough-return
.endfunc
.Lfunc_end0:
.size h, .Lfunc_end0-h
@@ -33,28 +32,28 @@ main: # @main
.local i32, i32
# BB#0: # %entry
i32.const $push1=, 0
- i32.load $1=, ff($pop1)
- i32.const $push12=, 0
- i32.const $push11=, 0
- i32.load $push2=, f($pop11)
+ i32.const $push13=, 0
+ i32.load $push2=, f($pop13)
i32.const $push3=, 2
i32.add $push4=, $pop2, $pop3
- i32.store $0=, f($pop12), $pop4
- i32.const $push10=, 0
- i32.const $push9=, 2
- i32.add $push0=, $1, $pop9
- i32.store $1=, ff($pop10), $pop0
+ i32.store $0=, f($pop1), $pop4
+ i32.const $push12=, 0
+ i32.const $push11=, 0
+ i32.load $push5=, ff($pop11)
+ i32.const $push10=, 2
+ i32.add $push0=, $pop5, $pop10
+ i32.store $1=, ff($pop12), $pop0
block
- i32.const $push8=, y+2
- i32.ne $push5=, $0, $pop8
- br_if 0, $pop5 # 0: down to label0
-# BB#1: # %if.end
- i32.const $push13=, y+2
- i32.ne $push6=, $1, $pop13
+ i32.const $push9=, y+2
+ i32.ne $push6=, $0, $pop9
br_if 0, $pop6 # 0: down to label0
+# BB#1: # %if.end
+ i32.const $push14=, y+2
+ i32.ne $push7=, $1, $pop14
+ br_if 0, $pop7 # 0: down to label0
# BB#2: # %if.end3
- i32.const $push7=, 0
- return $pop7
+ i32.const $push8=, 0
+ return $pop8
.LBB1_3: # %if.then2
end_block # label0:
call abort@FUNCTION