summaryrefslogtreecommitdiff
path: root/test/torture-s/960116-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/960116-1.c.s')
-rw-r--r--test/torture-s/960116-1.c.s23
1 files changed, 13 insertions, 10 deletions
diff --git a/test/torture-s/960116-1.c.s b/test/torture-s/960116-1.c.s
index bbff4e0bc..14755d214 100644
--- a/test/torture-s/960116-1.c.s
+++ b/test/torture-s/960116-1.c.s
@@ -9,19 +9,22 @@ f: # @f
.result i32
.local i32
# BB#0: # %entry
- i32.const $1=, 0
+ i32.const $1=, 1
+ block
block
- i32.const $push0=, 1
- i32.and $push1=, $0, $pop0
- br_if 0, $pop1 # 0: down to label0
+ i32.const $push2=, 1
+ i32.and $push0=, $0, $pop2
+ br_if 0, $pop0 # 0: down to label1
# BB#1: # %land.lhs.true
- i32.load $push2=, 0($0)
- i32.const $push3=, 0
- i32.ne $1=, $pop2, $pop3
-.LBB0_2: # %return
+ i32.load $push1=, 0($0)
+ br_if 1, $pop1 # 1: down to label0
+.LBB0_2: # %if.end
+ end_block # label1:
+ i32.const $1=, 0
+.LBB0_3: # %return
end_block # label0:
- copy_local $push4=, $1
- # fallthrough-return: $pop4
+ copy_local $push3=, $1
+ # fallthrough-return: $pop3
.endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f