diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-02-08 15:16:08 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-02-08 15:16:08 -0800 |
commit | d3bbf5a4ddd70940d22eb3f1690c2637d725e43e (patch) | |
tree | 80c4b64d3e2e605f5d062c8b52065b728f4c0c0c | |
parent | 2262204746437423211930d83d8ea336be3efac2 (diff) | |
parent | e9df05441f31bca550cc7f89935f10bf052b1464 (diff) | |
download | binaryen-d3bbf5a4ddd70940d22eb3f1690c2637d725e43e.tar.gz binaryen-d3bbf5a4ddd70940d22eb3f1690c2637d725e43e.tar.bz2 binaryen-d3bbf5a4ddd70940d22eb3f1690c2637d725e43e.zip |
Merge pull request #190 from WebAssembly/br_if-operand-order
Update binaryen and several tests for the new br_if operand order.
725 files changed, 4489 insertions, 4176 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h index 31b28f1e2..649b32196 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -952,12 +952,16 @@ class S2WasmBuilder { bstack.pop_back(); } else if (match("br")) { auto curr = allocator.alloc<Break>(); + bool hasCondition = false; if (*s == '_') { mustMatch("_if"); - curr->condition = getInput(); - skipComma(); + hasCondition = true; } curr->name = getBranchLabel(getInt()); + if (hasCondition) { + skipComma(); + curr->condition = getInput(); + } addToBlock(curr); } else if (match("call")) { makeCall(none); diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 440689ea0..2c884a4f5 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -663,12 +663,12 @@ assert(0); o << int8_t(curr->condition ? BinaryConsts::BrIf : BinaryConsts::Br); int offset = getBreakIndex(curr->name); o << int8_t(offset); - if (curr->condition) recurse(curr->condition); if (curr->value) { recurse(curr->value); } else { visitNop(nullptr); } + if (curr->condition) recurse(curr->condition); } void visitSwitch(Switch *curr) { if (debug) std::cerr << "zz node: Switch" << std::endl; @@ -1356,8 +1356,8 @@ public: if (debug) std::cerr << "zz node: Break" << std::endl; auto offset = getInt8(); curr->name = getBreakName(offset); - if (code == BinaryConsts::BrIf) readExpression(curr->condition); readExpression(curr->value); + if (code == BinaryConsts::BrIf) readExpression(curr->condition); } void visitSwitch(Switch *curr) { if (debug) std::cerr << "zz node: Switch" << std::endl; diff --git a/src/wasm.h b/src/wasm.h index 20a7b34ef..e30a891b9 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -501,13 +501,13 @@ public: class Break : public Expression { public: - Break() : Expression(BreakId), condition(nullptr), value(nullptr) { + Break() : Expression(BreakId), value(nullptr), condition(nullptr) { type = unreachable; } - Expression *condition; Name name; Expression *value; + Expression *condition; std::ostream& doPrint(std::ostream &o, unsigned indent) { if (condition) { diff --git a/test/dot_s/basics.s b/test/dot_s/basics.s index a47765778..69a057f9b 100644 --- a/test/dot_s/basics.s +++ b/test/dot_s/basics.s @@ -20,7 +20,7 @@ main: # @main i32.ne $push10=, $pop8, $pop9 block block - br_if $pop10, 0 + br_if 0, $pop10 .LBB0_1: # %.preheader # =>This Inner Loop Header: Depth=1 loop @@ -32,7 +32,7 @@ main: # @main i32.const $push16=, 3 i32.ne $push17=, $pop15, $pop16 block - br_if $pop17, 0 + br_if 0, $pop17 # BB#2: # in Loop: Header=.LBB0_1 Depth=1 i32.const $push18=, 111 i32.rem_s $push19=, $0, $pop18 @@ -42,7 +42,7 @@ main: # @main i32.rem_s $push21=, $0, $pop20 i32.const $push22=, 0 i32.eq $push23=, $pop21, $pop22 - br_if $pop23, 2 + br_if 2, $pop23 br 0 end_loop end_block diff --git a/test/dot_s/bcp-1.s b/test/dot_s/bcp-1.s index c27542eef..2db6387f5 100644 --- a/test/dot_s/bcp-1.s +++ b/test/dot_s/bcp-1.s @@ -238,89 +238,89 @@ main: # @main block i32.load $push0=, bad_t0($0) i32.call_indirect $push1=, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.cond i32.load $push2=, bad_t0+4($0) i32.call_indirect $push3=, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %for.cond.1 i32.load $push4=, bad_t0+8($0) i32.call_indirect $push5=, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#3: # %for.cond.2 i32.load $push6=, bad_t0+12($0) i32.call_indirect $push7=, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#4: # %for.cond.3 i32.load $push8=, bad_t0+16($0) i32.call_indirect $push9=, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#5: # %for.cond.4 i32.load $push10=, bad_t0+20($0) i32.call_indirect $push11=, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#6: # %for.cond.5 i32.load $1=, bad_t1($0) i32.const $2=, 1 block i32.call_indirect $push12=, $1, $2 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#7: # %for.cond1 i32.load $push13=, bad_t1+4($0) i32.call_indirect $push14=, $pop13, $2 - br_if $pop14, 0 # 0: down to label1 + br_if 0, $pop14 # 0: down to label1 # BB#8: # %for.cond1.1 i32.load $push15=, bad_t1+8($0) i32.call_indirect $push16=, $pop15, $2 - br_if $pop16, 0 # 0: down to label1 + br_if 0, $pop16 # 0: down to label1 # BB#9: # %for.cond1.2 i32.load $1=, bad_t2($0) i32.const $2=, .L.str block i32.call_indirect $push17=, $1, $2 - br_if $pop17, 0 # 0: down to label2 + br_if 0, $pop17 # 0: down to label2 # BB#10: # %for.cond12 i32.load $push18=, bad_t2+4($0) i32.call_indirect $push19=, $pop18, $2 - br_if $pop19, 0 # 0: down to label2 + br_if 0, $pop19 # 0: down to label2 # BB#11: # %for.cond12.1 block i32.load $push20=, good_t0($0) i32.call_indirect $push21=, $pop20 i32.const $push32=, 0 i32.eq $push33=, $pop21, $pop32 - br_if $pop33, 0 # 0: down to label3 + br_if 0, $pop33 # 0: down to label3 # BB#12: # %for.cond23 i32.load $push22=, good_t0+4($0) i32.call_indirect $push23=, $pop22 i32.const $push34=, 0 i32.eq $push35=, $pop23, $pop34 - br_if $pop35, 0 # 0: down to label3 + br_if 0, $pop35 # 0: down to label3 # BB#13: # %for.cond23.1 i32.load $push24=, good_t0+8($0) i32.call_indirect $push25=, $pop24 i32.const $push36=, 0 i32.eq $push37=, $pop25, $pop36 - br_if $pop37, 0 # 0: down to label3 + br_if 0, $pop37 # 0: down to label3 # BB#14: # %for.cond23.2 block i32.load $push26=, opt_t0($0) i32.call_indirect $push27=, $pop26 i32.const $push38=, 0 i32.eq $push39=, $pop27, $pop38 - br_if $pop39, 0 # 0: down to label4 + br_if 0, $pop39 # 0: down to label4 # BB#15: # %for.cond34 i32.load $push28=, opt_t0+4($0) i32.call_indirect $push29=, $pop28 i32.const $push40=, 0 i32.eq $push41=, $pop29, $pop40 - br_if $pop41, 0 # 0: down to label4 + br_if 0, $pop41 # 0: down to label4 # BB#16: # %for.cond34.1 i32.load $push30=, opt_t0+8($0) i32.call_indirect $push31=, $pop30 i32.const $push42=, 0 i32.eq $push43=, $pop31, $pop42 - br_if $pop43, 0 # 0: down to label4 + br_if 0, $pop43 # 0: down to label4 # BB#17: # %for.cond34.2 call exit@FUNCTION, $0 unreachable diff --git a/test/dot_s/memops.s b/test/dot_s/memops.s index aadab0db2..6e4e1ac59 100644 --- a/test/dot_s/memops.s +++ b/test/dot_s/memops.s @@ -46,7 +46,7 @@ main: # @main i32.const $3=, 1048576 i32.ne $push2=, $4, $3 copy_local $5=, $1 - br_if $pop2, 0 + br_if 0, $pop2 end_loop loop i32.const $11=, 0 @@ -57,7 +57,7 @@ main: # @main i32.add $6=, $pop5, $6 i32.add $5=, $5, $2 i32.ne $push6=, $5, $3 - br_if $pop6, 0 + br_if 0, $pop6 end_loop i32.const $push7=, 3 i32.mul $push8=, $6, $pop7 @@ -71,7 +71,7 @@ main: # @main i32.add $0=, $0, $2 i32.const $push15=, 100 i32.ne $push16=, $0, $pop15 - br_if $pop16, 0 + br_if 0, $pop16 end_loop call _Z6reporti@FUNCTION, $6 i32.const $push17=, 0 diff --git a/test/emcc_O2_hello_world.wast.fromBinary b/test/emcc_O2_hello_world.wast.fromBinary index d69d6e577..6ede653f6 100644 --- a/test/emcc_O2_hello_world.wast.fromBinary +++ b/test/emcc_O2_hello_world.wast.fromBinary @@ -4657,12 +4657,11 @@ ) ) ) - (br_if + (br_if $label$165 (i32.ne (get_local $var$62) (i32.const 0) ) - $label$165 ) ) ) @@ -6657,7 +6656,7 @@ (get_local $var$62) (i32.const 7) ) - (br_if + (br_if $label$236 (i32.lt_u (i32.shr_u (i32.add @@ -6671,7 +6670,6 @@ (i32.const 0) ) ) - $label$236 ) ) ) @@ -7355,12 +7353,11 @@ (i32.const 1) ) ) - (br_if + (br_if $label$256 (i32.ne (get_local $var$4) (i32.const 32) ) - $label$256 ) ) ) diff --git a/test/emcc_hello_world.wast.fromBinary b/test/emcc_hello_world.wast.fromBinary index ff26b930f..eaed95225 100644 --- a/test/emcc_hello_world.wast.fromBinary +++ b/test/emcc_hello_world.wast.fromBinary @@ -2448,12 +2448,11 @@ (i32.const 4) ) ) - (br_if + (br_if $label$2 (i32.lt_s (get_local $var$46) (get_local $var$49) ) - $label$2 ) ) ) diff --git a/test/llvm_autogenerated/cfg-stackify.s b/test/llvm_autogenerated/cfg-stackify.s index 9de7ef013..13e69f38c 100644 --- a/test/llvm_autogenerated/cfg-stackify.s +++ b/test/llvm_autogenerated/cfg-stackify.s @@ -11,7 +11,7 @@ test0: i32.const $push1=, 1 i32.add $1=, $1, $pop1 i32.ge_s $push0=, $1, $0 - br_if $pop0, 1 + br_if 1, $pop0 call something@FUNCTION br 0 .LBB0_3: @@ -32,7 +32,7 @@ test1: i32.const $push1=, 1 i32.add $1=, $1, $pop1 i32.ge_s $push0=, $1, $0 - br_if $pop0, 1 + br_if 1, $pop0 call something@FUNCTION br 0 .LBB1_3: @@ -49,7 +49,7 @@ test2: block i32.const $push0=, 1 i32.lt_s $push1=, $1, $pop0 - br_if $pop1, 0 + br_if 0, $pop1 .LBB2_1: loop i32.const $push5=, -1 @@ -60,7 +60,7 @@ test2: f64.store $discard=, 0($0), $pop4 i32.const $push6=, 8 i32.add $0=, $0, $pop6 - br_if $1, 0 + br_if 0, $1 .LBB2_2: end_loop end_block @@ -74,20 +74,20 @@ test2: doublediamond: .param i32, i32, i32 .result i32 - block - block i32.const $push0=, 0 i32.store $discard=, 0($2), $pop0 - br_if $0, 0 + block + block + br_if 0, $0 i32.const $push4=, 1 i32.store $discard=, 0($2), $pop4 br 1 .LBB3_2: end_block - block i32.const $push1=, 2 i32.store $discard=, 0($2), $pop1 - br_if $1, 0 + block + br_if 0, $1 i32.const $push3=, 3 i32.store $discard=, 0($2), $pop3 br 1 @@ -111,10 +111,10 @@ triangle: .param i32, i32 .result i32 .local i32 - block i32.const $push0=, 0 i32.store $2=, 0($0), $pop0 - br_if $1, 0 + block + br_if 0, $1 i32.const $push1=, 1 i32.store $discard=, 0($0), $pop1 .LBB4_2: @@ -131,11 +131,11 @@ triangle: diamond: .param i32, i32 .result i32 - block - block i32.const $push0=, 0 i32.store $discard=, 0($0), $pop0 - br_if $1, 0 + block + block + br_if 0, $1 i32.const $push2=, 1 i32.store $discard=, 0($0), $pop2 br 1 @@ -196,7 +196,7 @@ simple_loop: i32.store $discard=, 0($0), $pop3 i32.const $push4=, 0 i32.eq $push5=, $1, $pop4 - br_if $pop5, 0 + br_if 0, $pop5 end_loop i32.const $push1=, 2 i32.store $discard=, 0($0), $pop1 @@ -212,14 +212,14 @@ doubletriangle: .param i32, i32, i32 .result i32 .local i32 - block i32.const $push0=, 0 i32.store $3=, 0($2), $pop0 - br_if $0, 0 block + br_if 0, $0 i32.const $push1=, 2 i32.store $discard=, 0($2), $pop1 - br_if $1, 0 + block + br_if 0, $1 i32.const $push2=, 3 i32.store $discard=, 0($2), $pop2 .LBB9_3: @@ -240,11 +240,11 @@ doubletriangle: ifelse_earlyexits: .param i32, i32, i32 .result i32 - block - block i32.const $push0=, 0 i32.store $discard=, 0($2), $pop0 - br_if $0, 0 + block + block + br_if 0, $0 i32.const $push3=, 1 i32.store $discard=, 0($2), $pop3 br 1 @@ -252,7 +252,7 @@ ifelse_earlyexits: end_block i32.const $push1=, 2 i32.store $discard=, 0($2), $pop1 - br_if $1, 0 + br_if 0, $1 i32.const $push2=, 3 i32.store $discard=, 0($2), $pop2 .LBB10_4: @@ -272,20 +272,20 @@ doublediamond_in_a_loop: .result i32 .LBB11_1: loop - block - block i32.const $push0=, 0 i32.store $discard=, 0($2), $pop0 - br_if $0, 0 + block + block + br_if 0, $0 i32.const $push1=, 1 i32.store $discard=, 0($2), $pop1 br 1 .LBB11_3: end_block - block i32.const $push2=, 2 i32.store $discard=, 0($2), $pop2 - br_if $1, 0 + block + br_if 0, $1 i32.const $push3=, 3 i32.store $discard=, 0($2), $pop3 br 1 @@ -310,14 +310,14 @@ test3: .param i32 block i32.const $push0=, 0 - br_if $pop0, 0 + br_if 0, $pop0 .LBB12_1: loop - br_if $0, 1 + br_if 1, $0 .LBB12_2: loop i32.ne $push1=, $0, $0 - br_if $pop1, 0 + br_if 0, $pop1 end_loop call bar@FUNCTION br 0 @@ -340,14 +340,14 @@ test4: block i32.const $push0=, 3 i32.gt_s $push1=, $0, $pop0 - br_if $pop1, 0 + br_if 0, $pop1 block i32.const $push8=, 0 i32.eq $push9=, $0, $pop8 - br_if $pop9, 0 + br_if 0, $pop9 i32.const $push6=, 2 i32.ne $push7=, $0, $pop6 - br_if $pop7, 2 + br_if 2, $pop7 .LBB13_3: end_block return @@ -355,10 +355,10 @@ test4: end_block i32.const $push2=, 4 i32.eq $push3=, $0, $pop2 - br_if $pop3, 1 + br_if 1, $pop3 i32.const $push4=, 622 i32.ne $push5=, $0, $pop4 - br_if $pop5, 0 + br_if 0, $pop5 return .LBB13_7: end_block @@ -387,10 +387,10 @@ test5: i32.store $1=, 0($pop7), $pop6 i32.const $push9=, 0 i32.eq $push10=, $0, $pop9 - br_if $pop10, 2 + br_if 2, $pop10 i32.const $push8=, 1 i32.store $discard=, 0($1), $pop8 - br_if $2, 0 + br_if 0, $2 end_loop i32.const $push2=, 0 i32.const $push3=, 3 @@ -422,7 +422,7 @@ test6: i32.store $0=, 0($pop10), $pop9 i32.const $push14=, 0 i32.eq $push15=, $2, $pop14 - br_if $pop15, 3 + br_if 3, $pop15 i32.const $push13=, 1 i32.store $push0=, 0($0), $pop13 tee_local $push12=, $4=, $pop0 @@ -430,9 +430,9 @@ test6: tee_local $push11=, $3=, $pop1 i32.const $push16=, 0 i32.eq $push17=, $pop11, $pop16 - br_if $pop17, 2 + br_if 2, $pop17 i32.store $discard=, 0($0), $4 - br_if $3, 0 + br_if 0, $3 end_loop i32.const $push6=, 0 i32.const $push7=, 2 @@ -465,14 +465,14 @@ test7: i32.and $3=, $0, $pop7 .LBB16_1: loop - block i32.const $push9=, 1 i32.store $0=, 0($2), $pop9 - br_if $3, 0 + block + br_if 0, $3 i32.const $push10=, 2 i32.store $discard=, 0($2), $pop10 i32.and $push1=, $1, $0 - br_if $pop1, 1 + br_if 1, $pop1 i32.const $push2=, 0 i32.const $push3=, 4 i32.store $discard=, 0($pop2), $pop3 @@ -482,7 +482,7 @@ test7: i32.const $push11=, 3 i32.store $discard=, 0($2), $pop11 i32.and $push4=, $1, $0 - br_if $pop4, 0 + br_if 0, $pop4 end_loop i32.const $push5=, 0 i32.const $push6=, 5 @@ -502,16 +502,16 @@ test8: i32.const $push0=, 0 i32.const $push3=, 0 i32.eq $push4=, $pop0, $pop3 - br_if $pop4, 0 + br_if 0, $pop4 i32.const $push2=, 0 i32.const $push5=, 0 i32.eq $push6=, $pop2, $pop5 - br_if $pop6, 1 + br_if 1, $pop6 .LBB17_3: end_block loop i32.const $push1=, 0 - br_if $pop1, 0 + br_if 0, $pop1 br 2 .LBB17_4: end_loop @@ -536,22 +536,22 @@ test9: i32.and $push3=, $pop13, $pop2 i32.const $push18=, 0 i32.eq $push19=, $pop3, $pop18 - br_if $pop19, 1 + br_if 1, $pop19 .LBB18_2: loop - block i32.const $push15=, 2 i32.store $discard=, 0($0), $pop15 + block i32.call $push6=, a@FUNCTION i32.and $push7=, $pop6, $1 i32.const $push20=, 0 i32.eq $push21=, $pop7, $pop20 - br_if $pop21, 0 + br_if 0, $pop21 i32.const $push16=, 3 i32.store $discard=, 0($0), $pop16 i32.call $push10=, a@FUNCTION i32.and $push11=, $pop10, $1 - br_if $pop11, 1 + br_if 1, $pop11 br 3 .LBB18_4: end_block @@ -559,7 +559,7 @@ test9: i32.store $discard=, 0($0), $pop17 i32.call $push8=, a@FUNCTION i32.and $push9=, $pop8, $1 - br_if $pop9, 0 + br_if 0, $pop9 br 2 .LBB18_5: end_loop @@ -584,7 +584,7 @@ test10: i32.const $1=, 0 i32.const $0=, 3 i32.const $2=, 4 - br_if $4, 0 + br_if 0, $4 .LBB19_2: block loop @@ -595,7 +595,7 @@ test10: copy_local $2=, $4 i32.const $push1=, 4 i32.gt_u $push0=, $2, $pop1 - br_if $pop0, 5 + br_if 5, $pop0 copy_local $4=, $3 tableswitch $2, 0, 0, 1, 5, 2, 4 .LBB19_5: @@ -624,16 +624,16 @@ test11: i32.const $push15=, 0 i32.store $push1=, 0($pop0), $pop15 tee_local $push14=, $0=, $pop1 - br_if $pop14, 0 - block + br_if 0, $pop14 i32.const $push7=, 1 i32.store $discard=, 0($0), $pop7 - br_if $0, 0 + block + br_if 0, $0 i32.const $push9=, 0 i32.const $push8=, 2 i32.store $discard=, 0($pop9), $pop8 i32.const $push16=, 0 - br_if $pop16, 2 + br_if 2, $pop16 .LBB20_3: end_block i32.const $push12=, 0 @@ -644,14 +644,14 @@ test11: end_block i32.const $push2=, 4 i32.store $discard=, 0($0), $pop2 - br_if $0, 2 + br_if 2, $0 i32.const $push18=, 0 i32.const $push3=, 5 i32.store $discard=, 0($pop18), $pop3 i32.const $push17=, 0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 1 + br_if 1, $pop21 .LBB20_6: end_block i32.const $push10=, 0 @@ -688,22 +688,22 @@ test12: tee_local $push7=, $1=, $pop0 i32.const $push6=, 103 i32.gt_s $push1=, $pop7, $pop6 - br_if $pop1, 0 + br_if 0, $pop1 i32.const $push8=, 42 i32.eq $push4=, $1, $pop8 - br_if $pop4, 2 + br_if 2, $pop4 i32.const $push9=, 76 i32.eq $push5=, $1, $pop9 - br_if $pop5, 2 + br_if 2, $pop5 br 1 .LBB21_4: end_block i32.const $push10=, 108 i32.eq $push2=, $1, $pop10 - br_if $pop2, 1 + br_if 1, $pop2 i32.const $push11=, 104 i32.eq $push3=, $1, $pop11 - br_if $pop3, 1 + br_if 1, $pop3 .LBB21_6: end_block return @@ -724,24 +724,25 @@ test13: .local i32 block i32.const $push0=, 0 - i32.const $push3=, 0 - i32.eq $push4=, $pop0, $pop3 - br_if $pop4, 0 + i32.const $push4=, 0 + i32.eq $push5=, $pop0, $pop4 + br_if 0, $pop5 return .LBB22_2: end_block i32.const $0=, 0 block - br_if $0, 0 + i32.const $push3=, 0 + br_if 0, $pop3 i32.const $0=, 0 .LBB22_4: end_block block i32.const $push1=, 1 i32.and $push2=, $0, $pop1 - i32.const $push5=, 0 - i32.eq $push6=, $pop2, $pop5 - br_if $pop6, 0 + i32.const $push6=, 0 + i32.eq $push7=, $pop2, $pop6 + br_if 0, $pop7 end_block unreachable .endfunc @@ -754,13 +755,13 @@ test14: .LBB23_1: loop i32.const $push0=, 0 - br_if $pop0, 0 + br_if 0, $pop0 .LBB23_2: end_loop loop i32.const $discard=, 0 i32.const $push1=, 0 - br_if $pop1, 0 + br_if 0, $pop1 end_loop return .endfunc diff --git a/test/llvm_autogenerated/cfg-stackify.wast b/test/llvm_autogenerated/cfg-stackify.wast index d801f87c7..b932fd055 100644 --- a/test/llvm_autogenerated/cfg-stackify.wast +++ b/test/llvm_autogenerated/cfg-stackify.wast @@ -113,12 +113,12 @@ (return) ) (func $doublediamond (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (i32.store align=4 + (get_local $$2) + (i32.const 0) + ) (block $label$0 (block $label$1 - (i32.store align=4 - (get_local $$2) - (i32.const 0) - ) (br_if $label$1 (get_local $$0) ) @@ -128,11 +128,11 @@ ) (br $label$0) ) + (i32.store align=4 + (get_local $$2) + (i32.const 2) + ) (block $label$2 - (i32.store align=4 - (get_local $$2) - (i32.const 2) - ) (br_if $label$2 (get_local $$1) ) @@ -157,13 +157,13 @@ ) (func $triangle (param $$0 i32) (param $$1 i32) (result i32) (local $$2 i32) - (block $label$0 - (set_local $$2 - (i32.store align=4 - (get_local $$0) - (i32.const 0) - ) + (set_local $$2 + (i32.store align=4 + (get_local $$0) + (i32.const 0) ) + ) + (block $label$0 (br_if $label$0 (get_local $$1) ) @@ -181,12 +181,12 @@ ) ) (func $diamond (param $$0 i32) (param $$1 i32) (result i32) + (i32.store align=4 + (get_local $$0) + (i32.const 0) + ) (block $label$0 (block $label$1 - (i32.store align=4 - (get_local $$0) - (i32.const 0) - ) (br_if $label$1 (get_local $$1) ) @@ -257,21 +257,21 @@ ) (func $doubletriangle (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) (local $$3 i32) - (block $label$0 - (set_local $$3 - (i32.store align=4 - (get_local $$2) - (i32.const 0) - ) + (set_local $$3 + (i32.store align=4 + (get_local $$2) + (i32.const 0) ) + ) + (block $label$0 (br_if $label$0 (get_local $$0) ) + (i32.store align=4 + (get_local $$2) + (i32.const 2) + ) (block $label$1 - (i32.store align=4 - (get_local $$2) - (i32.const 2) - ) (br_if $label$1 (get_local $$1) ) @@ -294,12 +294,12 @@ ) ) (func $ifelse_earlyexits (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) + (i32.store align=4 + (get_local $$2) + (i32.const 0) + ) (block $label$0 (block $label$1 - (i32.store align=4 - (get_local $$2) - (i32.const 0) - ) (br_if $label$1 (get_local $$0) ) @@ -331,12 +331,12 @@ ) (func $doublediamond_in_a_loop (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) (loop $label$1 $label$0 + (i32.store align=4 + (get_local $$2) + (i32.const 0) + ) (block $label$2 (block $label$3 - (i32.store align=4 - (get_local $$2) - (i32.const 0) - ) (br_if $label$3 (get_local $$0) ) @@ -346,11 +346,11 @@ ) (br $label$2) ) + (i32.store align=4 + (get_local $$2) + (i32.const 2) + ) (block $label$4 - (i32.store align=4 - (get_local $$2) - (i32.const 2) - ) (br_if $label$4 (get_local $$1) ) @@ -570,13 +570,13 @@ ) ) (loop $label$1 $label$0 - (block $label$2 - (set_local $$0 - (i32.store align=4 - (get_local $$2) - (i32.const 1) - ) + (set_local $$0 + (i32.store align=4 + (get_local $$2) + (i32.const 1) ) + ) + (block $label$2 (br_if $label$2 (get_local $$3) ) @@ -662,11 +662,11 @@ ) ) (loop $label$3 $label$2 + (i32.store align=4 + (get_local $$0) + (i32.const 2) + ) (block $label$4 - (i32.store align=4 - (get_local $$0) - (i32.const 2) - ) (br_if $label$4 (i32.eq (i32.and @@ -784,11 +784,11 @@ ) ) ) + (i32.store align=4 + (get_local $$0) + (i32.const 1) + ) (block $label$4 - (i32.store align=4 - (get_local $$0) - (i32.const 1) - ) (br_if $label$4 (get_local $$0) ) @@ -912,7 +912,7 @@ ) (block $label$1 (br_if $label$1 - (get_local $$0) + (i32.const 0) ) (set_local $$0 (i32.const 0) diff --git a/test/llvm_autogenerated/dead-vreg.s b/test/llvm_autogenerated/dead-vreg.s index 8839c3011..dcc517d05 100644 --- a/test/llvm_autogenerated/dead-vreg.s +++ b/test/llvm_autogenerated/dead-vreg.s @@ -8,7 +8,7 @@ foo: block i32.const $push3=, 1 i32.lt_s $push0=, $2, $pop3 - br_if $pop0, 0 + br_if 0, $pop0 i32.const $push1=, 2 i32.shl $3=, $1, $pop1 i32.const $5=, 0 @@ -20,7 +20,7 @@ foo: copy_local $7=, $0 copy_local $8=, $1 block - br_if $4, 0 + br_if 0, $4 .LBB0_3: loop i32.store $discard=, 0($7), $6 @@ -29,7 +29,7 @@ foo: i32.const $push5=, 4 i32.add $7=, $7, $pop5 i32.add $6=, $6, $5 - br_if $8, 0 + br_if 0, $8 .LBB0_4: end_loop end_block @@ -37,7 +37,7 @@ foo: i32.add $5=, $5, $pop7 i32.add $0=, $0, $3 i32.ne $push2=, $5, $2 - br_if $pop2, 0 + br_if 0, $pop2 .LBB0_5: end_loop end_block diff --git a/test/llvm_autogenerated/func.s b/test/llvm_autogenerated/func.s index fbe92c359..6573e62b2 100644 --- a/test/llvm_autogenerated/func.s +++ b/test/llvm_autogenerated/func.s @@ -48,7 +48,7 @@ f4: i32.and $push0=, $0, $pop2 i32.const $push4=, 0 i32.eq $push5=, $pop0, $pop4 - br_if $pop5, 0 + br_if 0, $pop5 i32.const $push1=, 0 return $pop1 .LBB4_2: diff --git a/test/llvm_autogenerated/legalize.s b/test/llvm_autogenerated/legalize.s index 5ca96894d..584ad6774 100644 --- a/test/llvm_autogenerated/legalize.s +++ b/test/llvm_autogenerated/legalize.s @@ -1,5 +1,5 @@ .text - .file "/s/llvm-upstream/llvm/test/CodeGen/WebAssembly/legalize.ll" + .file "/s/llvm/llvm/test/CodeGen/WebAssembly/legalize.ll" .globl shl_i3 .type shl_i3,@function shl_i3: diff --git a/test/llvm_autogenerated/mem-intrinsics.s b/test/llvm_autogenerated/mem-intrinsics.s index 286d105ad..2f1bc7846 100644 --- a/test/llvm_autogenerated/mem-intrinsics.s +++ b/test/llvm_autogenerated/mem-intrinsics.s @@ -99,12 +99,12 @@ discard_result: block i32.const $push0=, 0 i32.eq $push1=, $3, $pop0 - br_if $pop1, 0 + br_if 0, $pop1 i32.call $0=, def@FUNCTION br 1 .LBB7_2: end_block - br_if $4, 0 + br_if 0, $4 i32.call $discard=, memset@FUNCTION, $0, $1, $2 .LBB7_4: end_block diff --git a/test/llvm_autogenerated/phi.s b/test/llvm_autogenerated/phi.s index 4a3a6d522..81605658c 100644 --- a/test/llvm_autogenerated/phi.s +++ b/test/llvm_autogenerated/phi.s @@ -8,7 +8,7 @@ test0: block i32.const $push0=, -1 i32.gt_s $push1=, $0, $pop0 - br_if $pop1, 0 + br_if 0, $pop1 i32.const $push2=, 3 i32.div_s $0=, $0, $pop2 .LBB0_2: @@ -35,7 +35,7 @@ test1: i32.add $4=, $4, $pop1 copy_local $2=, $1 i32.lt_s $push0=, $4, $0 - br_if $pop0, 0 + br_if 0, $pop0 end_loop return $3 .endfunc diff --git a/test/llvm_autogenerated/reg-stackify.s b/test/llvm_autogenerated/reg-stackify.s index 17ed02ea4..0e5b4f6e4 100644 --- a/test/llvm_autogenerated/reg-stackify.s +++ b/test/llvm_autogenerated/reg-stackify.s @@ -69,7 +69,7 @@ stack_uses: i32.xor $push7=, $pop5, $pop6 i32.const $push10=, 1 i32.ne $push8=, $pop7, $pop10 - br_if $pop8, 0 + br_if 0, $pop8 i32.const $push9=, 0 return $pop9 .LBB4_2: @@ -89,9 +89,9 @@ multiple_uses: i32.load $push0=, 0($2) tee_local $push3=, $3=, $pop0 i32.ge_u $push1=, $pop3, $1 - br_if $pop1, 0 + br_if 0, $pop1 i32.lt_u $push2=, $3, $0 - br_if $pop2, 0 + br_if 0, $pop2 i32.store $discard=, 0($2), $3 .LBB5_3: end_block @@ -180,4 +180,21 @@ commute: .Lfunc_end10: .size commute, .Lfunc_end10-commute + .globl no_stackify_past_use + .type no_stackify_past_use,@function +no_stackify_past_use: + .param i32 + .result i32 + .local i32 + i32.call $1=, callee@FUNCTION, $0 + i32.const $push0=, 1 + i32.add $push1=, $0, $pop0 + i32.call $push2=, callee@FUNCTION, $pop1 + i32.add $push3=, $1, $pop2 + i32.mul $push4=, $1, $pop3 + return $pop4 + .endfunc +.Lfunc_end11: + .size no_stackify_past_use, .Lfunc_end11-no_stackify_past_use + diff --git a/test/llvm_autogenerated/reg-stackify.wast b/test/llvm_autogenerated/reg-stackify.wast index 6acf6d712..1d89a5c73 100644 --- a/test/llvm_autogenerated/reg-stackify.wast +++ b/test/llvm_autogenerated/reg-stackify.wast @@ -4,6 +4,7 @@ (type $FUNCSIG$vi (func (param i32))) (type $FUNCSIG$vii (func (param i32 i32))) (type $FUNCSIG$i (func (result i32))) + (type $FUNCSIG$ii (func (param i32) (result i32))) (import $evoke_side_effects "env" "evoke_side_effects") (import $use_a "env" "use_a" (param i32)) (import $use_b "env" "use_b" (param i32)) @@ -11,6 +12,7 @@ (import $red "env" "red" (result i32)) (import $green "env" "green" (result i32)) (import $blue "env" "blue" (result i32)) + (import $callee "env" "callee" (param i32) (result i32)) (export "no0" $no0) (export "no1" $no1) (export "yes0" $yes0) @@ -22,6 +24,7 @@ (export "simple_multiple_use" $simple_multiple_use) (export "multiple_uses_in_same_insn" $multiple_uses_in_same_insn) (export "commute" $commute) + (export "no_stackify_past_use" $no_stackify_past_use) (func $no0 (param $$0 i32) (param $$1 i32) (result i32) (set_local $$1 (i32.load align=4 @@ -234,5 +237,27 @@ ) ) ) + (func $no_stackify_past_use (param $$0 i32) (result i32) + (local $$1 i32) + (set_local $$1 + (call_import $callee + (get_local $$0) + ) + ) + (return + (i32.mul + (get_local $$1) + (i32.add + (get_local $$1) + (call_import $callee + (i32.add + (get_local $$0) + (i32.const 1) + ) + ) + ) + ) + ) + ) ) ;; METADATA: { "asmConsts": {},"staticBump": 4 } diff --git a/test/llvm_autogenerated/select.s b/test/llvm_autogenerated/select.s index 676dae6df..d85c80649 100644 --- a/test/llvm_autogenerated/select.s +++ b/test/llvm_autogenerated/select.s @@ -1,5 +1,5 @@ .text - .file "/s/llvm-upstream/llvm/test/CodeGen/WebAssembly/select.ll" + .file "/s/llvm/llvm/test/CodeGen/WebAssembly/select.ll" .globl select_i32_bool .type select_i32_bool,@function select_i32_bool: diff --git a/test/llvm_autogenerated/store-results.s b/test/llvm_autogenerated/store-results.s index d590322f4..703f6fb15 100644 --- a/test/llvm_autogenerated/store-results.s +++ b/test/llvm_autogenerated/store-results.s @@ -26,7 +26,7 @@ foo: i32.add $0=, $0, $pop2 i32.const $push1=, 256 i32.ne $push0=, $0, $pop1 - br_if $pop0, 0 + br_if 0, $pop0 end_loop return .endfunc @@ -47,13 +47,36 @@ bar: f32.add $0=, $0, $pop2 f32.const $push1=, 0x1p8 f32.ne $push0=, $0, $pop1 - br_if $pop0, 0 + br_if 0, $pop0 end_loop return .endfunc .Lfunc_end2: .size bar, .Lfunc_end2-bar + .hidden fi_ret + .globl fi_ret + .type fi_ret,@function +fi_ret: + .param i32 + .result i32 + .local i32, i32, i32, i32 + i32.const $1=, __stack_pointer + i32.load $1=, 0($1) + i32.const $2=, 32 + i32.sub $4=, $1, $2 + i32.const $2=, __stack_pointer + i32.store $4=, 0($2), $4 + i32.store $discard=, 0($0), $4 + i32.const $3=, 32 + i32.add $4=, $4, $3 + i32.const $3=, __stack_pointer + i32.store $4=, 0($3), $4 + return $4 + .endfunc +.Lfunc_end3: + .size fi_ret, .Lfunc_end3-fi_ret + .type pos,@object .bss .globl pos diff --git a/test/llvm_autogenerated/store-results.wast b/test/llvm_autogenerated/store-results.wast index 222e66313..401e83723 100644 --- a/test/llvm_autogenerated/store-results.wast +++ b/test/llvm_autogenerated/store-results.wast @@ -3,6 +3,7 @@ (export "single_block" $single_block) (export "foo" $foo) (export "bar" $bar) + (export "fi_ret" $fi_ret) (func $single_block (param $$0 i32) (result i32) (return (i32.store align=4 @@ -61,5 +62,62 @@ ) (return) ) + (func $fi_ret (param $$0 i32) (result i32) + (local $$1 i32) + (local $$2 i32) + (local $$3 i32) + (local $$4 i32) + (set_local $$1 + (i32.const 1) + ) + (set_local $$1 + (i32.load align=4 + (get_local $$1) + ) + ) + (set_local $$2 + (i32.const 32) + ) + (set_local $$4 + (i32.sub + (get_local $$1) + (get_local $$2) + ) + ) + (set_local $$2 + (i32.const 1) + ) + (set_local $$4 + (i32.store align=4 + (get_local $$2) + (get_local $$4) + ) + ) + (i32.store align=4 + (get_local $$0) + (get_local $$4) + ) + (set_local $$3 + (i32.const 32) + ) + (set_local $$4 + (i32.add + (get_local $$4) + (get_local $$3) + ) + ) + (set_local $$3 + (i32.const 1) + ) + (set_local $$4 + (i32.store align=4 + (get_local $$3) + (get_local $$4) + ) + ) + (return + (get_local $$4) + ) + ) ) ;; METADATA: { "asmConsts": {},"staticBump": 19 } diff --git a/test/llvm_autogenerated/switch.s b/test/llvm_autogenerated/switch.s index 24438e83b..16a06486a 100644 --- a/test/llvm_autogenerated/switch.s +++ b/test/llvm_autogenerated/switch.s @@ -7,7 +7,7 @@ bar32: block i32.const $push0=, 23 i32.gt_u $push1=, $0, $pop0 - br_if $pop1, 0 + br_if 0, $pop1 block block block @@ -52,7 +52,7 @@ bar64: block i64.const $push1=, 23 i64.gt_u $push2=, $0, $pop1 - br_if $pop2, 0 + br_if 0, $pop2 block block block diff --git a/test/llvm_autogenerated/userstack.s b/test/llvm_autogenerated/userstack.s index ede7be4f7..f7e1853b5 100644 --- a/test/llvm_autogenerated/userstack.s +++ b/test/llvm_autogenerated/userstack.s @@ -73,21 +73,25 @@ allocarray: .globl non_mem_use .type non_mem_use,@function non_mem_use: - .local i32, i32, i32, i32, i32 - i32.const $0=, __stack_pointer - i32.load $0=, 0($0) - i32.const $1=, 16 - i32.sub $4=, $0, $1 + .param i32 + .local i32, i32, i32, i32, i32, i32 i32.const $1=, __stack_pointer - i32.store $4=, 0($1), $4 - i32.const $3=, 8 - i32.add $3=, $4, $3 - call ext_func@FUNCTION, $3 - call ext_func@FUNCTION, $4 - i32.const $2=, 16 - i32.add $4=, $4, $2 + i32.load $1=, 0($1) + i32.const $2=, 48 + i32.sub $6=, $1, $2 i32.const $2=, __stack_pointer - i32.store $4=, 0($2), $4 + i32.store $6=, 0($2), $6 + i32.const $4=, 8 + i32.add $4=, $6, $4 + call ext_func@FUNCTION, $4 + call ext_func@FUNCTION, $6 + i32.const $5=, 16 + i32.add $5=, $6, $5 + i32.store $discard=, 0($0), $5 + i32.const $3=, 48 + i32.add $6=, $6, $3 + i32.const $3=, __stack_pointer + i32.store $6=, 0($3), $6 return .endfunc .Lfunc_end3: @@ -119,9 +123,56 @@ allocarray_inbounds: .type dynamic_alloca,@function dynamic_alloca: .param i32 + .local i32, i32, i32, i32 + i32.const $1=, __stack_pointer + i32.load $3=, 0($1) + copy_local $4=, $3 + i32.const $push0=, 2 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 15 + i32.add $push3=, $pop1, $pop2 + i32.const $push4=, -16 + i32.and $push5=, $pop3, $pop4 + i32.sub $0=, $3, $pop5 + copy_local $3=, $0 + i32.const $push6=, 0 + i32.store $discard=, 0($0), $pop6 + i32.const $2=, __stack_pointer + i32.store $3=, 0($2), $4 return .endfunc .Lfunc_end5: .size dynamic_alloca, .Lfunc_end5-dynamic_alloca + .globl dynamic_static_alloca + .type dynamic_static_alloca,@function +dynamic_static_alloca: + .param i32 + .local i32, i32, i32, i32, i32 + i32.const $1=, __stack_pointer + i32.load $1=, 0($1) + i32.const $2=, 16 + i32.sub $4=, $1, $2 + copy_local $5=, $4 + i32.const $2=, __stack_pointer + i32.store $4=, 0($2), $4 + i32.const $push0=, 2 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 15 + i32.add $push3=, $pop1, $pop2 + i32.const $push4=, -16 + i32.and $push5=, $pop3, $pop4 + i32.sub $0=, $4, $pop5 + copy_local $4=, $0 + i32.const $push6=, 0 + i32.store $discard=, 0($0), $pop6 + i32.const $3=, 16 + i32.add $4=, $5, $3 + i32.const $3=, __stack_pointer + i32.store $4=, 0($3), $4 + return + .endfunc +.Lfunc_end6: + .size dynamic_static_alloca, .Lfunc_end6-dynamic_static_alloca + diff --git a/test/llvm_autogenerated/userstack.wast b/test/llvm_autogenerated/userstack.wast index 1cbcb4c73..87eb5734f 100644 --- a/test/llvm_autogenerated/userstack.wast +++ b/test/llvm_autogenerated/userstack.wast @@ -8,6 +8,7 @@ (export "non_mem_use" $non_mem_use) (export "allocarray_inbounds" $allocarray_inbounds) (export "dynamic_alloca" $dynamic_alloca) + (export "dynamic_static_alloca" $dynamic_static_alloca) (func $alloca32 (local $$0 i32) (local $$1 i32) @@ -193,69 +194,83 @@ ) (return) ) - (func $non_mem_use - (local $$0 i32) + (func $non_mem_use (param $$0 i32) (local $$1 i32) (local $$2 i32) (local $$3 i32) (local $$4 i32) - (set_local $$0 + (local $$5 i32) + (local $$6 i32) + (set_local $$1 (i32.const 1) ) - (set_local $$0 + (set_local $$1 (i32.load align=4 - (get_local $$0) + (get_local $$1) ) ) - (set_local $$1 - (i32.const 16) + (set_local $$2 + (i32.const 48) ) - (set_local $$4 + (set_local $$6 (i32.sub - (get_local $$0) (get_local $$1) + (get_local $$2) ) ) - (set_local $$1 + (set_local $$2 (i32.const 1) ) - (set_local $$4 + (set_local $$6 (i32.store align=4 - (get_local $$1) - (get_local $$4) + (get_local $$2) + (get_local $$6) ) ) - (set_local $$3 + (set_local $$4 (i32.const 8) ) - (set_local $$3 + (set_local $$4 (i32.add + (get_local $$6) (get_local $$4) - (get_local $$3) ) ) (call_import $ext_func - (get_local $$3) + (get_local $$4) ) (call_import $ext_func - (get_local $$4) + (get_local $$6) ) - (set_local $$2 + (set_local $$5 (i32.const 16) ) - (set_local $$4 + (set_local $$5 (i32.add - (get_local $$4) - (get_local $$2) + (get_local $$6) + (get_local $$5) ) ) - (set_local $$2 + (i32.store align=4 + (get_local $$0) + (get_local $$5) + ) + (set_local $$3 + (i32.const 48) + ) + (set_local $$6 + (i32.add + (get_local $$6) + (get_local $$3) + ) + ) + (set_local $$3 (i32.const 1) ) - (set_local $$4 + (set_local $$6 (i32.store align=4 - (get_local $$2) - (get_local $$4) + (get_local $$3) + (get_local $$6) ) ) (return) @@ -319,6 +334,129 @@ (return) ) (func $dynamic_alloca (param $$0 i32) + (local $$1 i32) + (local $$2 i32) + (local $$3 i32) + (local $$4 i32) + (set_local $$1 + (i32.const 1) + ) + (set_local $$3 + (i32.load align=4 + (get_local $$1) + ) + ) + (set_local $$4 + (get_local $$3) + ) + (set_local $$0 + (i32.sub + (get_local $$3) + (i32.and + (i32.add + (i32.shl + (get_local $$0) + (i32.const 2) + ) + (i32.const 15) + ) + (i32.const -16) + ) + ) + ) + (set_local $$3 + (get_local $$0) + ) + (i32.store align=4 + (get_local $$0) + (i32.const 0) + ) + (set_local $$2 + (i32.const 1) + ) + (set_local $$3 + (i32.store align=4 + (get_local $$2) + (get_local $$4) + ) + ) + (return) + ) + (func $dynamic_static_alloca (param $$0 i32) + (local $$1 i32) + (local $$2 i32) + (local $$3 i32) + (local $$4 i32) + (local $$5 i32) + (set_local $$1 + (i32.const 1) + ) + (set_local $$1 + (i32.load align=4 + (get_local $$1) + ) + ) + (set_local $$2 + (i32.const 16) + ) + (set_local $$4 + (i32.sub + (get_local $$1) + (get_local $$2) + ) + ) + (set_local $$5 + (get_local $$4) + ) + (set_local $$2 + (i32.const 1) + ) + (set_local $$4 + (i32.store align=4 + (get_local $$2) + (get_local $$4) + ) + ) + (set_local $$0 + (i32.sub + (get_local $$4) + (i32.and + (i32.add + (i32.shl + (get_local $$0) + (i32.const 2) + ) + (i32.const 15) + ) + (i32.const -16) + ) + ) + ) + (set_local $$4 + (get_local $$0) + ) + (i32.store align=4 + (get_local $$0) + (i32.const 0) + ) + (set_local $$3 + (i32.const 16) + ) + (set_local $$4 + (i32.add + (get_local $$5) + (get_local $$3) + ) + ) + (set_local $$3 + (i32.const 1) + ) + (set_local $$4 + (i32.store align=4 + (get_local $$3) + (get_local $$4) + ) + ) (return) ) ) diff --git a/test/revision b/test/revision index 8d29e0a87..44ba45cfd 100644 --- a/test/revision +++ b/test/revision @@ -1 +1 @@ -2832 +2907 diff --git a/test/torture-s/20000113-1.c.s b/test/torture-s/20000113-1.c.s index 1ba15c92f..55b5e3f83 100644 --- a/test/torture-s/20000113-1.c.s +++ b/test/torture-s/20000113-1.c.s @@ -14,7 +14,7 @@ foobar: # @foobar tee_local $push12=, $0=, $pop0 i32.const $push14=, 0 i32.eq $push15=, $pop12, $pop14 - br_if $pop15, 0 # 0: down to label0 + br_if 0, $pop15 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $push3=, 3 i32.and $push1=, $1, $pop3 @@ -26,7 +26,7 @@ foobar: # @foobar i32.and $push8=, $pop6, $pop7 i32.const $push9=, 5 i32.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#2: # %if.end i32.const $push11=, 0 call exit@FUNCTION, $pop11 diff --git a/test/torture-s/20000223-1.c.s b/test/torture-s/20000223-1.c.s index 8a08499f2..db30cb07d 100644 --- a/test/torture-s/20000223-1.c.s +++ b/test/torture-s/20000223-1.c.s @@ -12,7 +12,7 @@ check: # @check i32.sub $push1=, $pop0, $1 i32.and $push2=, $1, $pop1 i32.ne $push3=, $pop2, $1 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20000224-1.c.s b/test/torture-s/20000224-1.c.s index 6d54b2556..b3dc4e5eb 100644 --- a/test/torture-s/20000224-1.c.s +++ b/test/torture-s/20000224-1.c.s @@ -14,7 +14,7 @@ test: # @test tee_local $push10=, $3=, $pop0 i32.const $push9=, 1 i32.lt_s $push1=, $pop10, $pop9 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %while.body.lr.ph i32.const $push13=, 0 i32.load $0=, loop_2($pop13) @@ -37,7 +37,7 @@ test: # @test i32.const $push14=, 1 i32.add $1=, $1, $pop14 i32.gt_s $push7=, $3, $2 - br_if $pop7, 0 # 0: up to label1 + br_if 0, $pop7 # 0: up to label1 # BB#3: # %while.cond.while.end_crit_edge end_loop # label2: i32.const $push8=, 0 diff --git a/test/torture-s/20000314-2.c.s b/test/torture-s/20000314-2.c.s index d1bb8973b..20d454e3a 100644 --- a/test/torture-s/20000314-2.c.s +++ b/test/torture-s/20000314-2.c.s @@ -10,7 +10,7 @@ main: # @main block i32.const $push1=, 0 i32.load $push0=, a($pop1) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/20000403-1.c.s b/test/torture-s/20000403-1.c.s index 6a6adb78c..b7c15af3c 100644 --- a/test/torture-s/20000403-1.c.s +++ b/test/torture-s/20000403-1.c.s @@ -17,7 +17,7 @@ main: # @main i32.sub $push4=, $pop3, $pop1 i32.const $push6=, 0 i32.le_s $push5=, $pop4, $pop6 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push9=, 0 call exit@FUNCTION, $pop9 diff --git a/test/torture-s/20000412-1.c.s b/test/torture-s/20000412-1.c.s index 529346708..9c04b24fa 100644 --- a/test/torture-s/20000412-1.c.s +++ b/test/torture-s/20000412-1.c.s @@ -30,7 +30,7 @@ main: # @main i32.load16_u $push0=, i($pop3) i32.const $push1=, 65535 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/20000412-2.c.s b/test/torture-s/20000412-2.c.s index f390c1724..1912455f4 100644 --- a/test/torture-s/20000412-2.c.s +++ b/test/torture-s/20000412-2.c.s @@ -21,7 +21,7 @@ f: # @f tee_local $push3=, $0=, $pop0 i32.const $push4=, 0 i32.eq $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#1: # %if.end i32.const $push1=, -1 i32.add $push2=, $0, $pop1 @@ -57,7 +57,7 @@ main: # @main i32.call $push1=, f@FUNCTION, $pop0, $pop4 i32.const $push2=, 1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#1: # %if.end i32.const $push5=, 0 call exit@FUNCTION, $pop5 diff --git a/test/torture-s/20000412-3.c.s b/test/torture-s/20000412-3.c.s index 35ffe52e2..de2ca1631 100644 --- a/test/torture-s/20000412-3.c.s +++ b/test/torture-s/20000412-3.c.s @@ -41,7 +41,7 @@ f: # @f i32.load8_u $push0=, 0($0) i32.load8_u $push1=, 0($1) i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.load8_s $push4=, 1($1) i32.load8_s $push3=, 1($0) diff --git a/test/torture-s/20000412-4.c.s b/test/torture-s/20000412-4.c.s index 5e194f33c..24cb6384c 100644 --- a/test/torture-s/20000412-4.c.s +++ b/test/torture-s/20000412-4.c.s @@ -17,7 +17,7 @@ f: # @f tee_local $push12=, $5=, $pop11 i32.const $push2=, 3 i32.ge_s $push3=, $pop12, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %for.body.lr.ph i32.add $push4=, $2, $5 i32.const $push14=, -1 @@ -32,14 +32,14 @@ f: # @f i32.add $2=, $2, $3 i32.const $push17=, -1 i32.le_s $push9=, $2, $pop17 - br_if $pop9, 1 # 1: down to label2 + br_if 1, $pop9 # 1: down to label2 # BB#3: # %for.cond # in Loop: Header=BB0_2 Depth=1 i32.const $push16=, 1 i32.add $5=, $5, $pop16 i32.const $push15=, 2 i32.le_s $push10=, $5, $pop15 - br_if $pop10, 0 # 0: up to label1 + br_if 0, $pop10 # 0: up to label1 br 2 # 2: down to label0 .LBB0_4: # %if.then end_loop # label2: diff --git a/test/torture-s/20000412-6.c.s b/test/torture-s/20000412-6.c.s index 31e23118f..401fd938a 100644 --- a/test/torture-s/20000412-6.c.s +++ b/test/torture-s/20000412-6.c.s @@ -22,7 +22,7 @@ main: # @main i32.and $push8=, $pop6, $pop7 i32.const $push9=, 491 i32.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#1: # %if.end i32.const $push14=, 0 call exit@FUNCTION, $pop14 @@ -45,7 +45,7 @@ bug: # @bug # BB#0: # %entry block i32.ge_u $push0=, $1, $2 - br_if $pop0, 0 # 0: down to label1 + br_if 0, $pop0 # 0: down to label1 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: @@ -56,7 +56,7 @@ bug: # @bug i32.const $push4=, 2 i32.add $1=, $1, $pop4 i32.lt_u $push5=, $1, $2 - br_if $pop5, 0 # 0: up to label2 + br_if 0, $pop5 # 0: up to label2 .LBB1_2: # %for.end end_loop # label3: end_block # label1: diff --git a/test/torture-s/20000419-1.c.s b/test/torture-s/20000419-1.c.s index d489f6677..354ea5fe8 100644 --- a/test/torture-s/20000419-1.c.s +++ b/test/torture-s/20000419-1.c.s @@ -8,7 +8,7 @@ brother: # @brother .param i32, i32, i32 # BB#0: # %entry block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -29,7 +29,7 @@ sister: # @sister block i32.load $push0=, 4($0) i32.eq $push1=, $pop0, $1 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %brother.exit return .LBB1_2: # %if.then.i diff --git a/test/torture-s/20000422-1.c.s b/test/torture-s/20000422-1.c.s index 68adfe63f..1630ce08a 100644 --- a/test/torture-s/20000422-1.c.s +++ b/test/torture-s/20000422-1.c.s @@ -14,7 +14,7 @@ main: # @main tee_local $push20=, $5=, $pop0 i32.const $push19=, 1 i32.lt_s $push3=, $pop20, $pop19 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %for.cond1.preheader.preheader i32.const $push4=, 2 i32.shl $push5=, $5, $pop4 @@ -31,7 +31,7 @@ main: # @main copy_local $4=, $0 block i32.le_s $push7=, $0, $2 - br_if $pop7, 0 # 0: down to label3 + br_if 0, $pop7 # 0: down to label3 .LBB0_3: # %for.body3 # Parent Loop BB0_2 Depth=1 # => This Inner Loop Header: Depth=2 @@ -45,7 +45,7 @@ main: # @main i32.load $push2=, 0($pop25) tee_local $push24=, $6=, $pop2 i32.ge_s $push9=, $pop27, $pop24 - br_if $pop9, 0 # 0: down to label6 + br_if 0, $pop9 # 0: down to label6 # BB#4: # %if.then # in Loop: Header=BB0_3 Depth=2 i32.store $discard=, 0($7), $8 @@ -58,7 +58,7 @@ main: # @main i32.const $push28=, -4 i32.add $3=, $3, $pop28 i32.gt_s $push10=, $4, $2 - br_if $pop10, 0 # 0: up to label4 + br_if 0, $pop10 # 0: up to label4 .LBB0_6: # %for.end # in Loop: Header=BB0_2 Depth=1 end_loop # label5: @@ -66,21 +66,21 @@ main: # @main i32.const $push30=, 1 i32.add $2=, $2, $pop30 i32.lt_s $push11=, $2, $5 - br_if $pop11, 0 # 0: up to label1 + br_if 0, $pop11 # 0: up to label1 # BB#7: # %for.cond15.preheader end_loop # label2: i32.const $3=, 0 i32.const $4=, 0 i32.const $push23=, 0 i32.le_s $push12=, $5, $pop23 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 .LBB0_8: # %for.body17 # =>This Inner Loop Header: Depth=1 loop # label7: i32.load $push13=, ops($3) i32.load $push14=, correct($3) i32.ne $push15=, $pop13, $pop14 - br_if $pop15, 1 # 1: down to label8 + br_if 1, $pop15 # 1: down to label8 # BB#9: # %for.cond15 # in Loop: Header=BB0_8 Depth=1 i32.const $push16=, 1 @@ -88,7 +88,7 @@ main: # @main i32.const $push17=, 4 i32.add $3=, $3, $pop17 i32.lt_s $push18=, $4, $5 - br_if $pop18, 0 # 0: up to label7 + br_if 0, $pop18 # 0: up to label7 br 2 # 2: down to label0 .LBB0_10: # %if.then21 end_loop # label8: diff --git a/test/torture-s/20000511-1.c.s b/test/torture-s/20000511-1.c.s index 6639d0938..ffef65ede 100644 --- a/test/torture-s/20000511-1.c.s +++ b/test/torture-s/20000511-1.c.s @@ -9,7 +9,7 @@ f: # @f # BB#0: # %entry block i32.ne $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20000519-1.c.s b/test/torture-s/20000519-1.c.s index 283ce7f62..6b13b198d 100644 --- a/test/torture-s/20000519-1.c.s +++ b/test/torture-s/20000519-1.c.s @@ -32,7 +32,7 @@ bar: # @bar tee_local $push8=, $1=, $pop0 i32.const $push7=, 10 i32.gt_s $push5=, $pop8, $pop7 - br_if $pop5, 0 # 0: up to label0 + br_if 0, $pop5 # 0: up to label0 # BB#2: # %do.end end_loop # label1: i32.add $push6=, $1, $0 @@ -79,7 +79,7 @@ foo: # @foo tee_local $push9=, $1=, $pop0 i32.const $push8=, 10 i32.gt_s $push6=, $pop9, $pop8 - br_if $pop6, 0 # 0: up to label2 + br_if 0, $pop6 # 0: up to label2 # BB#2: # %bar.exit end_loop # label3: i32.add $push7=, $1, $0 @@ -125,7 +125,7 @@ main: # @main block i32.const $push2=, 3 i32.ne $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label4 + br_if 0, $pop3 # 0: down to label4 # BB#1: # %if.end i32.const $push4=, 0 i32.const $7=, 16 diff --git a/test/torture-s/20000519-2.c.s b/test/torture-s/20000519-2.c.s index 2e06327a5..a09634e7a 100644 --- a/test/torture-s/20000519-2.c.s +++ b/test/torture-s/20000519-2.c.s @@ -12,7 +12,7 @@ main: # @main i32.load $push0=, x($pop3) i32.const $push1=, -1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/20000528-1.c.s b/test/torture-s/20000528-1.c.s index d7fc96af5..776b6ba21 100644 --- a/test/torture-s/20000528-1.c.s +++ b/test/torture-s/20000528-1.c.s @@ -14,7 +14,7 @@ main: # @main i32.store16 $push1=, s($pop5), $pop0 i32.const $push2=, 65534 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/20000605-1.c.s b/test/torture-s/20000605-1.c.s index 7a36797c8..c60db64ad 100644 --- a/test/torture-s/20000605-1.c.s +++ b/test/torture-s/20000605-1.c.s @@ -16,13 +16,13 @@ main: # @main i32.add $0=, $0, $pop5 i32.const $push4=, 256 i32.ne $push0=, $0, $pop4 - br_if $pop0, 0 # 0: up to label0 + br_if 0, $pop0 # 0: up to label0 # BB#2: # %render_image_rgb_a.exit end_loop # label1: block i32.const $push1=, 256 i32.ne $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label2 + br_if 0, $pop2 # 0: down to label2 # BB#3: # %if.end i32.const $push3=, 0 call exit@FUNCTION, $pop3 diff --git a/test/torture-s/20000605-2.c.s b/test/torture-s/20000605-2.c.s index ac9a70613..af312ba2c 100644 --- a/test/torture-s/20000605-2.c.s +++ b/test/torture-s/20000605-2.c.s @@ -14,13 +14,13 @@ f1: # @f1 tee_local $push11=, $4=, $pop0 i32.load $push1=, 0($1) i32.ge_s $push2=, $pop11, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: i32.const $push3=, 5 i32.ge_s $push4=, $3, $pop3 - br_if $pop4, 1 # 1: down to label2 + br_if 1, $pop4 # 1: down to label2 # BB#2: # %for.inc # in Loop: Header=BB0_1 Depth=1 i32.add $push6=, $4, $3 @@ -33,7 +33,7 @@ f1: # @f1 i32.add $push9=, $4, $2 i32.load $push8=, 0($1) i32.lt_s $push10=, $pop9, $pop8 - br_if $pop10, 0 # 0: up to label1 + br_if 0, $pop10 # 0: up to label1 br 2 # 2: down to label0 .LBB0_3: # %if.then end_loop # label2: diff --git a/test/torture-s/20000622-1.c.s b/test/torture-s/20000622-1.c.s index bb616a4c1..d730a1e82 100644 --- a/test/torture-s/20000622-1.c.s +++ b/test/torture-s/20000622-1.c.s @@ -11,15 +11,15 @@ foo: # @foo block i32.const $push0=, 12 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 1 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %entry i32.const $push4=, 11 i32.ne $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#3: # %if.end i32.const $push6=, 0 return $pop6 @@ -54,11 +54,11 @@ baz: # @baz block i32.const $push0=, 11 i32.ne $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry i32.const $push2=, 12 i32.ne $push3=, $2, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %foo.exit return .LBB2_3: # %if.then.i diff --git a/test/torture-s/20000706-1.c.s b/test/torture-s/20000706-1.c.s index 30b93aed7..299052c9a 100644 --- a/test/torture-s/20000706-1.c.s +++ b/test/torture-s/20000706-1.c.s @@ -11,47 +11,47 @@ bar: # @bar i32.load $push0=, 0($0) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push3=, 4($0) i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.load $push6=, 8($0) i32.const $push7=, 3 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#3: # %lor.lhs.false4 i32.load $push9=, 12($0) i32.const $push10=, 4 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#4: # %lor.lhs.false6 i32.const $push13=, 10 i32.ne $push14=, $5, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#5: # %lor.lhs.false6 i32.const $push15=, 9 i32.ne $push16=, $4, $pop15 - br_if $pop16, 0 # 0: down to label0 + br_if 0, $pop16 # 0: down to label0 # BB#6: # %lor.lhs.false6 i32.const $push17=, 8 i32.ne $push18=, $3, $pop17 - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#7: # %lor.lhs.false6 i32.const $push19=, 7 i32.ne $push20=, $2, $pop19 - br_if $pop20, 0 # 0: down to label0 + br_if 0, $pop20 # 0: down to label0 # BB#8: # %lor.lhs.false6 i32.const $push21=, 6 i32.ne $push22=, $1, $pop21 - br_if $pop22, 0 # 0: down to label0 + br_if 0, $pop22 # 0: down to label0 # BB#9: # %lor.lhs.false6 i32.load $push12=, 16($0) i32.const $push23=, 5 i32.ne $push24=, $pop12, $pop23 - br_if $pop24, 0 # 0: down to label0 + br_if 0, $pop24 # 0: down to label0 # BB#10: # %if.end return .LBB0_11: # %if.then @@ -73,27 +73,27 @@ foo: # @foo i32.load $push0=, 0($0) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %lor.lhs.false.i i32.load $push3=, 4($0) i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %lor.lhs.false2.i i32.load $push6=, 8($0) i32.const $push7=, 3 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#3: # %lor.lhs.false4.i i32.load $push9=, 12($0) i32.const $push10=, 4 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#4: # %lor.lhs.false6.i i32.load $push12=, 16($0) i32.const $push13=, 5 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label1 + br_if 0, $pop14 # 0: down to label1 # BB#5: # %bar.exit return .LBB1_6: # %if.then.i diff --git a/test/torture-s/20000706-2.c.s b/test/torture-s/20000706-2.c.s index fd000d0b5..fee6b3d1f 100644 --- a/test/torture-s/20000706-2.c.s +++ b/test/torture-s/20000706-2.c.s @@ -11,47 +11,47 @@ bar: # @bar i32.load $push0=, 0($0) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push3=, 4($0) i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.load $push6=, 8($0) i32.const $push7=, 3 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#3: # %lor.lhs.false4 i32.load $push9=, 12($0) i32.const $push10=, 4 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#4: # %lor.lhs.false6 i32.const $push13=, 10 i32.ne $push14=, $5, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#5: # %lor.lhs.false6 i32.const $push15=, 9 i32.ne $push16=, $4, $pop15 - br_if $pop16, 0 # 0: down to label0 + br_if 0, $pop16 # 0: down to label0 # BB#6: # %lor.lhs.false6 i32.const $push17=, 8 i32.ne $push18=, $3, $pop17 - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#7: # %lor.lhs.false6 i32.const $push19=, 7 i32.ne $push20=, $2, $pop19 - br_if $pop20, 0 # 0: down to label0 + br_if 0, $pop20 # 0: down to label0 # BB#8: # %lor.lhs.false6 i32.const $push21=, 6 i32.ne $push22=, $1, $pop21 - br_if $pop22, 0 # 0: down to label0 + br_if 0, $pop22 # 0: down to label0 # BB#9: # %lor.lhs.false6 i32.load $push12=, 16($0) i32.const $push23=, 5 i32.ne $push24=, $pop12, $pop23 - br_if $pop24, 0 # 0: down to label0 + br_if 0, $pop24 # 0: down to label0 # BB#10: # %if.end return .LBB0_11: # %if.then @@ -73,27 +73,27 @@ foo: # @foo i32.load $push0=, 0($1) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %lor.lhs.false.i i32.load $push3=, 4($1) i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %lor.lhs.false2.i i32.load $push6=, 8($1) i32.const $push7=, 3 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#3: # %lor.lhs.false4.i i32.load $push9=, 12($1) i32.const $push10=, 4 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#4: # %lor.lhs.false6.i i32.load $push12=, 16($1) i32.const $push13=, 5 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label1 + br_if 0, $pop14 # 0: down to label1 # BB#5: # %bar.exit return .LBB1_6: # %if.then.i diff --git a/test/torture-s/20000706-3.c.s b/test/torture-s/20000706-3.c.s index 4a1e6d31e..7b4b798e6 100644 --- a/test/torture-s/20000706-3.c.s +++ b/test/torture-s/20000706-3.c.s @@ -25,13 +25,13 @@ bar: # @bar block i32.const $push2=, 2 i32.ne $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %entry i32.const $push1=, 0 i32.load $push0=, c($pop1) i32.const $push4=, 1 i32.ne $push5=, $pop0, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.end return .LBB1_3: # %if.then @@ -54,11 +54,11 @@ foo: # @foo i32.store $push1=, c($pop0), $0 i32.const $push2=, 1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %entry i32.const $push4=, 2 i32.ne $push5=, $1, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %bar.exit return .LBB2_3: # %if.then.i diff --git a/test/torture-s/20000706-4.c.s b/test/torture-s/20000706-4.c.s index ebe924c06..b202d4ffc 100644 --- a/test/torture-s/20000706-4.c.s +++ b/test/torture-s/20000706-4.c.s @@ -10,14 +10,14 @@ bar: # @bar block i32.const $push3=, 2 i32.ne $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %entry i32.const $push1=, 0 i32.load $push2=, c($pop1) i32.load $push0=, 0($pop2) i32.const $push5=, 1 i32.ne $push6=, $pop0, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then @@ -50,11 +50,11 @@ foo: # @foo i32.store $push0=, 12($6), $0 i32.const $push2=, 1 i32.ne $push3=, $pop0, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %entry i32.const $push4=, 2 i32.ne $push5=, $1, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %bar.exit i32.const $4=, 16 i32.add $6=, $6, $4 diff --git a/test/torture-s/20000706-5.c.s b/test/torture-s/20000706-5.c.s index ceea06e13..dbad25ffb 100644 --- a/test/torture-s/20000706-5.c.s +++ b/test/torture-s/20000706-5.c.s @@ -15,21 +15,21 @@ bar: # @bar i32.load $push2=, 0($pop13) i32.const $push3=, 1 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push5=, 4($1) i32.const $push6=, 2 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#2: # %lor.lhs.false3 i32.const $push9=, 4 i32.ne $push10=, $0, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#3: # %lor.lhs.false3 i32.load $push8=, 8($1) i32.const $push11=, 3 i32.ne $push12=, $pop8, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#4: # %if.end return .LBB0_5: # %if.then @@ -54,21 +54,21 @@ foo: # @foo i32.load $push2=, 0($pop13) i32.const $push3=, 1 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#1: # %lor.lhs.false.i i32.load $push5=, 4($0) i32.const $push6=, 2 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %lor.lhs.false3.i i32.const $push9=, 4 i32.ne $push10=, $1, $pop9 - br_if $pop10, 0 # 0: down to label1 + br_if 0, $pop10 # 0: down to label1 # BB#3: # %lor.lhs.false3.i i32.load $push8=, 8($0) i32.const $push11=, 3 i32.ne $push12=, $pop8, $pop11 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#4: # %bar.exit return .LBB1_5: # %if.then.i diff --git a/test/torture-s/20000707-1.c.s b/test/torture-s/20000707-1.c.s index b4a5fc4f9..01e8b9a2a 100644 --- a/test/torture-s/20000707-1.c.s +++ b/test/torture-s/20000707-1.c.s @@ -10,7 +10,7 @@ foo: # @foo block i32.const $push0=, 4 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -32,7 +32,7 @@ bar: # @bar i32.load $push0=, 4($0) i32.const $push1=, 4 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %foo.exit return .LBB1_2: # %if.then.i diff --git a/test/torture-s/20000717-1.c.s b/test/torture-s/20000717-1.c.s index fb8031ed8..5c4437416 100644 --- a/test/torture-s/20000717-1.c.s +++ b/test/torture-s/20000717-1.c.s @@ -14,11 +14,11 @@ bar: # @bar tee_local $push5=, $2=, $pop0 i32.load $push1=, 4($1) i32.eq $push2=, $pop5, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push3=, 8($1) i32.eq $push4=, $2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#2: # %if.end return $1 .LBB0_3: # %if.then @@ -43,11 +43,11 @@ foo: # @foo tee_local $push5=, $2=, $pop0 i32.load $push2=, 4($0) i32.eq $push3=, $pop5, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %entry i32.load $push1=, 8($0) i32.eq $push4=, $2, $pop1 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#2: # %bar.exit return $0 .LBB1_3: # %if.then.i diff --git a/test/torture-s/20000717-3.c.s b/test/torture-s/20000717-3.c.s index 3a87f2328..37627227e 100644 --- a/test/torture-s/20000717-3.c.s +++ b/test/torture-s/20000717-3.c.s @@ -32,7 +32,7 @@ main: # @main i32.load $push0=, c($pop3) i32.const $push1=, -1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/20000717-5.c.s b/test/torture-s/20000717-5.c.s index cd2fd64d4..33b808afc 100644 --- a/test/torture-s/20000717-5.c.s +++ b/test/torture-s/20000717-5.c.s @@ -12,29 +12,29 @@ bar: # @bar i32.load $push0=, 0($3) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push3=, 4($3) i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.const $push7=, 6 i32.ne $push8=, $2, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#3: # %lor.lhs.false2 i32.const $push9=, 5 i32.ne $push10=, $1, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#4: # %lor.lhs.false2 i32.const $push11=, 4 i32.ne $push12=, $0, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#5: # %lor.lhs.false2 i32.load $push6=, 8($3) i32.const $push13=, 3 i32.ne $push14=, $pop6, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#6: # %if.end return $3 .LBB0_7: # %if.then @@ -57,29 +57,29 @@ foo: # @foo i32.load $push1=, 0($0) i32.const $push2=, 1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %entry i32.load $push0=, 4($0) i32.const $push4=, 2 i32.ne $push5=, $pop0, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %lor.lhs.false2.i i32.const $push7=, 6 i32.ne $push8=, $3, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#3: # %lor.lhs.false2.i i32.const $push9=, 5 i32.ne $push10=, $2, $pop9 - br_if $pop10, 0 # 0: down to label1 + br_if 0, $pop10 # 0: down to label1 # BB#4: # %lor.lhs.false2.i i32.const $push11=, 4 i32.ne $push12=, $1, $pop11 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#5: # %lor.lhs.false2.i i32.load $push6=, 8($0) i32.const $push13=, 3 i32.ne $push14=, $pop6, $pop13 - br_if $pop14, 0 # 0: down to label1 + br_if 0, $pop14 # 0: down to label1 # BB#6: # %bar.exit return $0 .LBB1_7: # %if.then.i diff --git a/test/torture-s/20000722-1.c.s b/test/torture-s/20000722-1.c.s index e3c9289d0..f86c064ab 100644 --- a/test/torture-s/20000722-1.c.s +++ b/test/torture-s/20000722-1.c.s @@ -36,7 +36,7 @@ foo: # @foo i32.load $push0=, 4($0) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 4 i32.add $push4=, $0, $pop3 diff --git a/test/torture-s/20000801-1.c.s b/test/torture-s/20000801-1.c.s index f5c6e875e..479db7d3a 100644 --- a/test/torture-s/20000801-1.c.s +++ b/test/torture-s/20000801-1.c.s @@ -12,7 +12,7 @@ foo: # @foo block i32.const $push9=, 1 i32.lt_s $push0=, $1, $pop9 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 .LBB0_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -36,7 +36,7 @@ foo: # @foo i32.const $push7=, 4 i32.add $0=, $0, $pop7 i32.lt_u $push8=, $0, $2 - br_if $pop8, 0 # 0: up to label1 + br_if 0, $pop8 # 0: up to label1 .LBB0_2: # %while.end end_loop # label2: end_block # label0: @@ -71,7 +71,7 @@ main: # @main i32.const $push4=, 1 i32.store16 $push5=, 12($4):p2align=2, $pop4 i32.ne $push7=, $pop6, $pop5 - br_if $pop7, 0 # 0: down to label3 + br_if 0, $pop7 # 0: down to label3 # BB#1: # %if.end call exit@FUNCTION, $0 unreachable diff --git a/test/torture-s/20000801-3.c.s b/test/torture-s/20000801-3.c.s index 5ad4d020e..f24bbfac2 100644 --- a/test/torture-s/20000801-3.c.s +++ b/test/torture-s/20000801-3.c.s @@ -12,7 +12,7 @@ main: # @main i32.load $push0=, s+4($pop3) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/20000808-1.c.s b/test/torture-s/20000808-1.c.s index eb3cc8ab2..5f082c6dc 100644 --- a/test/torture-s/20000808-1.c.s +++ b/test/torture-s/20000808-1.c.s @@ -20,56 +20,56 @@ f: # @f # BB#0: # %entry block i32.load $push0=, 0($0) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push1=, 4($0) i32.const $push2=, 1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.load $push4=, 0($1) i32.const $push5=, -1 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#3: # %lor.lhs.false5 i32.load $push7=, 4($1) - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#4: # %lor.lhs.false8 i32.load $push8=, 0($2) i32.const $push9=, 1 i32.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#5: # %lor.lhs.false11 i32.load $push11=, 4($2) i32.const $push26=, -1 i32.ne $push12=, $pop11, $pop26 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#6: # %lor.lhs.false14 i32.load $push13=, 0($3) i32.const $push27=, -1 i32.ne $push14=, $pop13, $pop27 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#7: # %lor.lhs.false17 i32.load $push15=, 4($3) i32.const $push16=, 1 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label0 + br_if 0, $pop17 # 0: down to label0 # BB#8: # %lor.lhs.false20 i32.load $push18=, 0($4) - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#9: # %lor.lhs.false23 i32.load $push19=, 4($4) i32.const $push20=, -1 i32.ne $push21=, $pop19, $pop20 - br_if $pop21, 0 # 0: down to label0 + br_if 0, $pop21 # 0: down to label0 # BB#10: # %lor.lhs.false26 i32.load $push22=, 0($5) i32.const $push23=, 1 i32.ne $push24=, $pop22, $pop23 - br_if $pop24, 0 # 0: down to label0 + br_if 0, $pop24 # 0: down to label0 # BB#11: # %lor.lhs.false29 i32.load $push25=, 4($5) - br_if $pop25, 0 # 0: down to label0 + br_if 0, $pop25 # 0: down to label0 # BB#12: # %if.end return .LBB1_13: # %if.then diff --git a/test/torture-s/20000819-1.c.s b/test/torture-s/20000819-1.c.s index 717818762..702926e90 100644 --- a/test/torture-s/20000819-1.c.s +++ b/test/torture-s/20000819-1.c.s @@ -13,7 +13,7 @@ foo: # @foo tee_local $push10=, $1=, $pop0 i32.const $push9=, 0 i32.gt_s $push2=, $pop10, $pop9 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push3=, 2 i32.shl $push4=, $1, $pop3 @@ -24,13 +24,13 @@ foo: # @foo i32.load $push5=, 0($1) i32.const $push12=, 1 i32.le_s $push6=, $pop5, $pop12 - br_if $pop6, 1 # 1: down to label2 + br_if 1, $pop6 # 1: down to label2 # BB#3: # %for.cond # in Loop: Header=BB0_2 Depth=1 i32.const $push11=, 4 i32.add $1=, $1, $pop11 i32.le_u $push7=, $1, $0 - br_if $pop7, 0 # 0: up to label1 + br_if 0, $pop7 # 0: up to label1 br 2 # 2: down to label0 .LBB0_4: # %if.then end_loop # label2: diff --git a/test/torture-s/20000910-1.c.s b/test/torture-s/20000910-1.c.s index f0050fed3..1dca70458 100644 --- a/test/torture-s/20000910-1.c.s +++ b/test/torture-s/20000910-1.c.s @@ -47,7 +47,7 @@ baz: # @baz # BB#0: # %entry block i32.ne $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end return .LBB3_2: # %if.then diff --git a/test/torture-s/20000910-2.c.s b/test/torture-s/20000910-2.c.s index 8b967725e..a08248fb6 100644 --- a/test/torture-s/20000910-2.c.s +++ b/test/torture-s/20000910-2.c.s @@ -14,7 +14,7 @@ main: # @main i32.call $push1=, strchr@FUNCTION, $pop0, $pop6 i32.const $push10=, 0 i32.eq $push11=, $pop1, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %if.then.i block i32.const $push9=, 0 @@ -23,7 +23,7 @@ main: # @main i32.call $push3=, strchr@FUNCTION, $pop2, $pop8 i32.const $push12=, 0 i32.eq $push13=, $pop3, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %foo.exit i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20000914-1.c.s b/test/torture-s/20000914-1.c.s index 55eeeb664..b8c3eff34 100644 --- a/test/torture-s/20000914-1.c.s +++ b/test/torture-s/20000914-1.c.s @@ -25,7 +25,7 @@ convert_like_real: # @convert_like_real i32.load8_u $push0=, 8($0):p2align=2 i32.const $push1=, 222 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %sw.bb return $0 .LBB1_2: # %sw.epilog diff --git a/test/torture-s/20001009-2.c.s b/test/torture-s/20001009-2.c.s index 3f0354f81..145975098 100644 --- a/test/torture-s/20001009-2.c.s +++ b/test/torture-s/20001009-2.c.s @@ -13,7 +13,7 @@ foo: # @foo i32.load $push0=, b($pop6) i32.const $push9=, 0 i32.eq $push10=, $pop0, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -26,7 +26,7 @@ foo: # @foo i32.const $push2=, -1 i32.add $push3=, $pop1, $pop2 i32.store $push4=, b($pop8), $pop3 - br_if $pop4, 0 # 0: up to label1 + br_if 0, $pop4 # 0: up to label1 .LBB0_2: # %if.end end_loop # label2: end_block # label0: @@ -49,7 +49,7 @@ main: # @main i32.load $push0=, b($pop5) i32.const $push9=, 0 i32.eq $push10=, $pop0, $pop9 - br_if $pop10, 0 # 0: down to label3 + br_if 0, $pop10 # 0: down to label3 .LBB1_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label4: @@ -62,7 +62,7 @@ main: # @main i32.const $push2=, -1 i32.add $push3=, $pop1, $pop2 i32.store $push4=, b($pop7), $pop3 - br_if $pop4, 0 # 0: up to label4 + br_if 0, $pop4 # 0: up to label4 .LBB1_2: # %foo.exit end_loop # label5: end_block # label3: diff --git a/test/torture-s/20001013-1.c.s b/test/torture-s/20001013-1.c.s index 9420888fb..9b048f154 100644 --- a/test/torture-s/20001013-1.c.s +++ b/test/torture-s/20001013-1.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.const $push0=, 255 i32.and $push1=, $1, $pop0 i32.ne $push2=, $pop1, $1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push7=, 0($0) i32.const $push5=, 0 @@ -43,7 +43,7 @@ main: # @main i32.load $push0=, z+4($pop4) i32.sub $push1=, $pop5, $pop0 i32.le_s $push3=, $pop2, $pop1 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %if.end i32.const $push7=, 0 call exit@FUNCTION, $pop7 diff --git a/test/torture-s/20001017-1.c.s b/test/torture-s/20001017-1.c.s index 3af0473c9..b77ebfd0f 100644 --- a/test/torture-s/20001017-1.c.s +++ b/test/torture-s/20001017-1.c.s @@ -9,7 +9,7 @@ bug: # @bug # BB#0: # %entry block i32.ne $push0=, $11, $0 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20001017-2.c.s b/test/torture-s/20001017-2.c.s index b2c5fb67e..2bebe0cbf 100644 --- a/test/torture-s/20001017-2.c.s +++ b/test/torture-s/20001017-2.c.s @@ -11,17 +11,17 @@ fn_4parms: # @fn_4parms i32.load $push0=, 0($1) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push3=, 0($2) i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.load $push6=, 0($3) i32.const $push7=, 3 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#3: # %if.end return .LBB0_4: # %if.then diff --git a/test/torture-s/20001024-1.c.s b/test/torture-s/20001024-1.c.s index d234b5745..15e1f6bdc 100644 --- a/test/torture-s/20001024-1.c.s +++ b/test/torture-s/20001024-1.c.s @@ -10,22 +10,22 @@ bar: # @bar # BB#0: # %entry block i32.load $push0=, 0($1) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push1=, 4($1) i32.const $push2=, 250000 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.load $push4=, 8($1) - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#3: # %lor.lhs.false5 i32.const $push5=, 12 i32.add $push6=, $1, $pop5 i32.load $push7=, 0($pop6) i32.const $push8=, 250000 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#4: # %if.end return $1 .LBB0_5: # %if.then diff --git a/test/torture-s/20001027-1.c.s b/test/torture-s/20001027-1.c.s index 8595ad6ba..e072c811d 100644 --- a/test/torture-s/20001027-1.c.s +++ b/test/torture-s/20001027-1.c.s @@ -19,7 +19,7 @@ main: # @main i32.const $push1=, 2 i32.store $push2=, 0($0), $pop1 i32.ne $push4=, $pop3, $pop2 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 0 call exit@FUNCTION, $pop8 diff --git a/test/torture-s/20001031-1.c.s b/test/torture-s/20001031-1.c.s index ff817c497..edb31af34 100644 --- a/test/torture-s/20001031-1.c.s +++ b/test/torture-s/20001031-1.c.s @@ -10,7 +10,7 @@ t1: # @t1 block i32.const $push0=, 4100 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -44,7 +44,7 @@ t3: # @t3 block i64.const $push0=, 2147487743 i64.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %if.end return .LBB2_2: # %if.then diff --git a/test/torture-s/20001101.c.s b/test/torture-s/20001101.c.s index 141cb57ad..bff96e004 100644 --- a/test/torture-s/20001101.c.s +++ b/test/torture-s/20001101.c.s @@ -31,7 +31,7 @@ bogus: # @bogus block i32.const $push3=, 7 i32.ne $push4=, $1, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end8 return .LBB1_2: # %if.then7 diff --git a/test/torture-s/20001111-1.c.s b/test/torture-s/20001111-1.c.s index eedb2c426..114580c28 100644 --- a/test/torture-s/20001111-1.c.s +++ b/test/torture-s/20001111-1.c.s @@ -42,7 +42,7 @@ main: # @main i32.load8_u $push0=, next_buffer($pop2):p2align=2 i32.const $push5=, 0 i32.eq $push6=, $pop0, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/20001203-2.c.s b/test/torture-s/20001203-2.c.s index 095ba13e8..a3c43f8ba 100644 --- a/test/torture-s/20001203-2.c.s +++ b/test/torture-s/20001203-2.c.s @@ -12,7 +12,7 @@ create_array_type: # @create_array_type block i32.const $push46=, 0 i32.eq $push47=, $0, $pop46 - br_if $pop47, 0 # 0: down to label0 + br_if 0, $pop47 # 0: down to label0 # BB#1: # %if.end i32.load $push4=, 0($1) i32.const $push5=, 3 @@ -25,7 +25,7 @@ create_array_type: # @create_array_type block i32.const $push48=, 0 i32.eq $push49=, $1, $pop48 - br_if $pop49, 0 # 0: down to label1 + br_if 0, $pop49 # 0: down to label1 # BB#2: # %cond.true block i32.const $push8=, 20 @@ -40,7 +40,7 @@ create_array_type: # @create_array_type i32.sub $push11=, $pop40, $pop37 i32.const $push12=, 15 i32.le_s $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label2 + br_if 0, $pop13 # 0: down to label2 # BB#3: # %if.end9 i32.const $push15=, 12 i32.add $push16=, $1, $pop15 @@ -51,7 +51,7 @@ create_array_type: # @create_array_type i32.store $push14=, 0($2), $pop2 tee_local $push41=, $5=, $pop14 i32.ne $push17=, $3, $pop41 - br_if $pop17, 0 # 0: down to label3 + br_if 0, $pop17 # 0: down to label3 # BB#4: # %if.then16 i32.const $push18=, 28 i32.add $push19=, $1, $pop18 @@ -79,7 +79,7 @@ create_array_type: # @create_array_type i32.sub $push31=, $pop43, $2 i32.sub $push32=, $4, $2 i32.le_s $push33=, $pop31, $pop32 - br_if $pop33, 0 # 0: down to label4 + br_if 0, $pop33 # 0: down to label4 # BB#6: # %if.then36 i32.store $discard=, 0($7), $4 copy_local $5=, $4 diff --git a/test/torture-s/20001228-1.c.s b/test/torture-s/20001228-1.c.s index deffbc902..f09fee55d 100644 --- a/test/torture-s/20001228-1.c.s +++ b/test/torture-s/20001228-1.c.s @@ -58,7 +58,7 @@ main: # @main i32.store $push1=, 12($2), $pop0 i32.load8_u $push2=, 12($2):p2align=2 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/20010106-1.c.s b/test/torture-s/20010106-1.c.s index dfb8b1b6b..323842461 100644 --- a/test/torture-s/20010106-1.c.s +++ b/test/torture-s/20010106-1.c.s @@ -14,7 +14,7 @@ f: # @f tee_local $push5=, $0=, $pop0 i32.const $push1=, 7 i32.ge_u $push2=, $pop5, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %switch.lookup i32.const $push7=, 2 i32.shl $push3=, $0, $pop7 diff --git a/test/torture-s/20010116-1.c.s b/test/torture-s/20010116-1.c.s index d2908994c..4ce605204 100644 --- a/test/torture-s/20010116-1.c.s +++ b/test/torture-s/20010116-1.c.s @@ -18,7 +18,7 @@ find: # @find tee_local $push8=, $0=, $pop0 i32.const $push6=, 1 i32.lt_s $push7=, $pop8, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %for.body call ok@FUNCTION, $0 unreachable @@ -40,7 +40,7 @@ ok: # @ok block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %if.end i32.const $push2=, 0 call exit@FUNCTION, $pop2 diff --git a/test/torture-s/20010118-1.c.s b/test/torture-s/20010118-1.c.s index 689271df8..8a6501528 100644 --- a/test/torture-s/20010118-1.c.s +++ b/test/torture-s/20010118-1.c.s @@ -24,13 +24,13 @@ bar: # @bar block i32.load $push0=, 0($0) i32.ne $push1=, $pop0, $1 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %lor.lhs.false i32.const $push2=, 4 i32.add $push3=, $0, $pop2 i32.load $push4=, 0($pop3) i32.eq $push5=, $pop4, $2 - br_if $pop5, 1 # 1: down to label0 + br_if 1, $pop5 # 1: down to label0 .LBB1_2: # %if.then end_block # label1: i32.load $push6=, 16($0) diff --git a/test/torture-s/20010129-1.c.s b/test/torture-s/20010129-1.c.s index 17a164111..0b672ae89 100644 --- a/test/torture-s/20010129-1.c.s +++ b/test/torture-s/20010129-1.c.s @@ -46,7 +46,7 @@ baz3: # @baz3 block i32.const $push1=, 0 i32.eq $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push0=, 1 return $pop0 @@ -76,7 +76,7 @@ foo: # @foo i32.store $discard=, baz1.l($pop29), $pop4 block i32.ge_s $push5=, $9, $1 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#1: # %if.then.lr.ph i32.const $push6=, 16 i32.and $3=, $2, $pop6 @@ -116,17 +116,17 @@ foo: # @foo i32.or $push17=, $2, $3 i32.const $push45=, 0 i32.eq $push46=, $pop17, $pop45 - br_if $pop46, 0 # 0: down to label4 + br_if 0, $pop46 # 0: down to label4 # BB#3: # %if.end17 # in Loop: Header=BB3_2 Depth=1 i32.const $push42=, 1 i32.select $8=, $2, $pop42, $2 block block - br_if $3, 0 # 0: down to label6 + br_if 0, $3 # 0: down to label6 # BB#4: # %land.lhs.true25 # in Loop: Header=BB3_2 Depth=1 - br_if $4, 2 # 2: down to label4 + br_if 2, $4 # 2: down to label4 br 1 # 1: down to label5 .LBB3_5: # %land.lhs.true20 # in Loop: Header=BB3_2 Depth=1 @@ -137,7 +137,7 @@ foo: # @foo i32.and $push20=, $6, $pop19 i32.or $push21=, $5, $pop20 i32.or $push22=, $10, $pop21 - br_if $pop22, 1 # 1: down to label4 + br_if 1, $pop22 # 1: down to label4 .LBB3_6: # %for.body end_block # label5: call abort@FUNCTION @@ -153,7 +153,7 @@ foo: # @foo i32.add $9=, $9, $pop39 copy_local $2=, $8 i32.lt_s $push24=, $9, $1 - br_if $pop24, 0 # 0: up to label2 + br_if 0, $pop24 # 0: up to label2 .LBB3_8: # %while.end end_loop # label3: end_block # label1: diff --git a/test/torture-s/20010221-1.c.s b/test/torture-s/20010221-1.c.s index 2103d0b51..4303765fc 100644 --- a/test/torture-s/20010221-1.c.s +++ b/test/torture-s/20010221-1.c.s @@ -16,7 +16,7 @@ main: # @main tee_local $push7=, $2=, $pop0 i32.const $push6=, 1 i32.lt_s $push1=, $pop7, $pop6 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -24,12 +24,12 @@ main: # @main i32.const $push9=, 1 i32.add $1=, $1, $pop9 i32.lt_s $push2=, $1, $2 - br_if $pop2, 0 # 0: up to label1 + br_if 0, $pop2 # 0: up to label1 # BB#2: # %for.end end_loop # label2: i32.const $push3=, 1 i32.ne $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#3: # %if.end5 i32.const $push5=, 0 call exit@FUNCTION, $pop5 diff --git a/test/torture-s/20010222-1.c.s b/test/torture-s/20010222-1.c.s index 208796857..6fa1f59b7 100644 --- a/test/torture-s/20010222-1.c.s +++ b/test/torture-s/20010222-1.c.s @@ -19,7 +19,7 @@ main: # @main i32.add $push6=, $pop4, $pop5 i32.const $push7=, 12 i32.lt_u $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/20010224-1.c.s b/test/torture-s/20010224-1.c.s index 3adcdb8ae..a114ad79e 100644 --- a/test/torture-s/20010224-1.c.s +++ b/test/torture-s/20010224-1.c.s @@ -23,7 +23,7 @@ ba_compute_psd: # @ba_compute_psd tee_local $push12=, $1=, $pop1 i32.const $push11=, 3 i32.gt_s $push6=, $pop12, $pop11 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push5=, bndpsd i32.add $3=, $3, $pop5 @@ -44,7 +44,7 @@ ba_compute_psd: # @ba_compute_psd i32.add $1=, $1, $pop21 i32.const $push20=, -1 i32.add $0=, $0, $pop20 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 # BB#3: # %for.cond.for.end_crit_edge end_loop # label2: i32.store16 $discard=, 0($3), $2 @@ -103,7 +103,7 @@ main: # @main i32.load16_u $push10=, bndpsd+2($pop13) i32.const $push11=, 140 i32.ne $push12=, $pop10, $pop11 - br_if $pop12, 0 # 0: down to label3 + br_if 0, $pop12 # 0: down to label3 # BB#1: # %if.end i32.const $push19=, 0 return $pop19 diff --git a/test/torture-s/20010403-1.c.s b/test/torture-s/20010403-1.c.s index 542eda618..3dba4cadd 100644 --- a/test/torture-s/20010403-1.c.s +++ b/test/torture-s/20010403-1.c.s @@ -37,7 +37,7 @@ c: # @c # BB#0: # %entry block i32.eq $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end return .LBB2_2: # %if.then diff --git a/test/torture-s/20010409-1.c.s b/test/torture-s/20010409-1.c.s index 4510d0344..5b405a9f9 100644 --- a/test/torture-s/20010409-1.c.s +++ b/test/torture-s/20010409-1.c.s @@ -27,7 +27,7 @@ bar: # @bar .result i32 # BB#0: # %entry block - br_if $1, 0 # 0: down to label0 + br_if 0, $1 # 0: down to label0 # BB#1: # %if.end i32.const $push0=, 0 call exit@FUNCTION, $pop0 @@ -54,7 +54,7 @@ test: # @test i32.const $push0=, 5000 i32.store $discard=, c($pop1), $pop0 block - br_if $2, 0 # 0: down to label1 + br_if 0, $2 # 0: down to label1 # BB#1: # %if.then.i call abort@FUNCTION unreachable @@ -85,7 +85,7 @@ main: # @main i32.const $push3=, 5000 i32.store $discard=, c($1), $pop3 block - br_if $0, 0 # 0: down to label2 + br_if 0, $0 # 0: down to label2 # BB#1: # %if.then.i.i call abort@FUNCTION unreachable diff --git a/test/torture-s/20010518-2.c.s b/test/torture-s/20010518-2.c.s index 4d60345cc..3bec96ad0 100644 --- a/test/torture-s/20010518-2.c.s +++ b/test/torture-s/20010518-2.c.s @@ -45,26 +45,26 @@ main: # @main block i32.load16_u $push15=, 46($4) i32.ne $push16=, $0, $pop15 - br_if $pop16, 0 # 0: down to label0 + br_if 0, $pop16 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push17=, 40($4) i32.ne $push18=, $pop17, $1 - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#2: # %lor.lhs.false9 i32.load16_u $push19=, 38($4) i32.const $push20=, 3 i32.ne $push21=, $pop19, $pop20 - br_if $pop21, 0 # 0: down to label0 + br_if 0, $pop21 # 0: down to label0 # BB#3: # %lor.lhs.false14 i32.load16_u $push22=, 36($4) i32.const $push23=, 4 i32.ne $push24=, $pop22, $pop23 - br_if $pop24, 0 # 0: down to label0 + br_if 0, $pop24 # 0: down to label0 # BB#4: # %lor.lhs.false19 i32.load8_u $push25=, 31($4) i32.const $push26=, 99 i32.ne $push27=, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label0 + br_if 0, $pop27 # 0: down to label0 # BB#5: # %if.end i32.const $push28=, 0 call exit@FUNCTION, $pop28 diff --git a/test/torture-s/20010604-1.c.s b/test/torture-s/20010604-1.c.s index dae3f45aa..a9d6883cd 100644 --- a/test/torture-s/20010604-1.c.s +++ b/test/torture-s/20010604-1.c.s @@ -13,19 +13,19 @@ f: # @f i32.and $push4=, $6, $pop3 i32.const $push8=, 1 i32.ne $push5=, $pop4, $pop8 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %entry i32.const $push9=, 1 i32.xor $push0=, $3, $pop9 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#2: # %entry i32.const $push10=, 1 i32.xor $push1=, $4, $pop10 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#3: # %entry i32.const $push11=, 1 i32.xor $push2=, $5, $pop11 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#4: # %if.end i32.add $push6=, $1, $0 i32.add $push7=, $pop6, $2 diff --git a/test/torture-s/20010605-2.c.s b/test/torture-s/20010605-2.c.s index b5049ae3a..2e414b70a 100644 --- a/test/torture-s/20010605-2.c.s +++ b/test/torture-s/20010605-2.c.s @@ -25,12 +25,12 @@ foo: # @foo f64.load $push0=, 0($0) f64.const $push1=, 0x1p0 f64.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false f64.load $push3=, 8($0) f64.const $push4=, 0x1p1 f64.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.end return .LBB1_3: # %if.then @@ -52,12 +52,12 @@ bar: # @bar f32.load $push0=, 0($0) f32.const $push1=, 0x1.8p1 f32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %lor.lhs.false f32.load $push3=, 4($0) f32.const $push4=, 0x1p2 f32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end return .LBB2_3: # %if.then @@ -83,7 +83,7 @@ baz: # @baz i64.const $push12=, 0 i64.const $push4=, 4612037862148276224 i32.call $push5=, __netf2@FUNCTION, $pop3, $pop2, $pop12, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#1: # %lor.lhs.false i64.load $push9=, 16($0):p2align=4 i32.const $push6=, 24 @@ -92,7 +92,7 @@ baz: # @baz i64.const $push13=, 0 i64.const $push10=, 4612108230892453888 i32.call $push11=, __eqtf2@FUNCTION, $pop9, $pop8, $pop13, $pop10 - br_if $pop11, 0 # 0: down to label2 + br_if 0, $pop11 # 0: down to label2 # BB#2: # %if.end return .LBB3_3: # %if.then diff --git a/test/torture-s/20010915-1.c.s b/test/torture-s/20010915-1.c.s index 6539c86ab..f4d53a09b 100644 --- a/test/torture-s/20010915-1.c.s +++ b/test/torture-s/20010915-1.c.s @@ -35,13 +35,13 @@ main: # @main i32.load $push8=, check($pop13) i32.const $push9=, 2 i32.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#1: # %entry i32.const $push19=, 0 i32.load $push0=, o($pop19) i32.const $push18=, 5 i32.ne $push11=, $pop0, $pop18 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#2: # %if.end i32.const $push12=, 0 call exit@FUNCTION, $pop12 @@ -66,13 +66,13 @@ x: # @x block i32.const $push10=, 3 i32.lt_s $push11=, $0, $pop10 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#1: # %entry i32.const $push9=, 0 i32.load $push0=, o($pop9) tee_local $push41=, $2=, $pop0 i32.ge_s $push12=, $pop41, $0 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#2: # %land.lhs.true2 i32.const $push13=, 2 i32.shl $push14=, $2, $pop13 @@ -82,12 +82,12 @@ x: # @x tee_local $push42=, $5=, $pop2 i32.const $push68=, 0 i32.eq $push69=, $pop42, $pop68 - br_if $pop69, 0 # 0: down to label1 + br_if 0, $pop69 # 0: down to label1 # BB#3: # %if.then block i32.const $push15=, .L.str i32.call $push16=, strcmp@FUNCTION, $5, $pop15 - br_if $pop16, 0 # 0: down to label2 + br_if 0, $pop16 # 0: down to label2 # BB#4: # %lor.lhs.false.i i32.const $push17=, 0 i32.const $push45=, 0 @@ -98,12 +98,12 @@ x: # @x i32.store $discard=, check($pop17), $pop19 i32.const $push20=, 2 i32.ge_s $push21=, $3, $pop20 - br_if $pop21, 0 # 0: down to label2 + br_if 0, $pop21 # 0: down to label2 # BB#5: # %s.exit block i32.const $push22=, .L.str i32.call $push23=, strcmp@FUNCTION, $5, $pop22 - br_if $pop23, 0 # 0: down to label3 + br_if 0, $pop23 # 0: down to label3 # BB#6: # %lor.lhs.false.i45 i32.const $push47=, 0 i32.const $push24=, 2 @@ -111,7 +111,7 @@ x: # @x i32.store $discard=, check($pop47), $pop25 i32.const $push46=, 1 i32.ge_s $push26=, $3, $pop46 - br_if $pop26, 0 # 0: down to label3 + br_if 0, $pop26 # 0: down to label3 # BB#7: # %s.exit48 i32.const $push50=, 0 i32.const $push49=, 0 @@ -121,7 +121,7 @@ x: # @x i32.const $push48=, 1 i32.add $push27=, $5, $pop48 i32.eq $push29=, $pop28, $pop27 - br_if $pop29, 0 # 0: down to label4 + br_if 0, $pop29 # 0: down to label4 # BB#8: # %while.cond.preheader block i32.const $push53=, 0 @@ -130,7 +130,7 @@ x: # @x i32.store $push40=, o($pop53), $pop4 tee_local $push51=, $5=, $pop40 i32.ge_s $push30=, $pop51, $0 - br_if $pop30, 0 # 0: down to label5 + br_if 0, $pop30 # 0: down to label5 # BB#9: # %while.body.preheader i32.const $push54=, 0 i32.load8_u $3=, r.c.0($pop54) @@ -146,11 +146,11 @@ x: # @x i32.const $push55=, 255 i32.and $push34=, $3, $pop55 i32.ne $push35=, $pop33, $pop34 - br_if $pop35, 1 # 1: down to label7 + br_if 1, $pop35 # 1: down to label7 # BB#11: # %lor.lhs.false.i50 # in Loop: Header=BB1_10 Depth=1 i32.load8_u $push36=, 1($1) - br_if $pop36, 1 # 1: down to label7 + br_if 1, $pop36 # 1: down to label7 # BB#12: # %lor.lhs.false.i50 # in Loop: Header=BB1_10 Depth=1 i32.const $push59=, 0 @@ -158,7 +158,7 @@ x: # @x tee_local $push58=, $1=, $pop6 i32.const $push57=, 4 i32.ge_s $push37=, $pop58, $pop57 - br_if $pop37, 1 # 1: down to label7 + br_if 1, $pop37 # 1: down to label7 # BB#13: # %r.exit # in Loop: Header=BB1_10 Depth=1 i32.const $push66=, 0 @@ -176,7 +176,7 @@ x: # @x i32.const $push60=, 4 i32.add $2=, $2, $pop60 i32.lt_s $push39=, $5, $0 - br_if $pop39, 0 # 0: up to label6 + br_if 0, $pop39 # 0: up to label6 br 2 # 2: down to label5 .LBB1_14: # %if.then.i51 end_loop # label7: @@ -218,7 +218,7 @@ s: # @s block i32.const $push0=, .L.str i32.call $push1=, strcmp@FUNCTION, $0, $pop0 - br_if $pop1, 0 # 0: down to label8 + br_if 0, $pop1 # 0: down to label8 # BB#1: # %lor.lhs.false i32.const $push10=, 0 i32.const $push9=, 0 @@ -229,7 +229,7 @@ s: # @s i32.store $discard=, check($pop10), $pop3 i32.const $push4=, 2 i32.ge_s $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label8 + br_if 0, $pop5 # 0: down to label8 # BB#2: # %if.end i32.const $push12=, 1 i32.add $push6=, $0, $pop12 @@ -273,17 +273,17 @@ r: # @r i32.const $push11=, 0 i32.load8_u $push2=, r.c.0($pop11) i32.ne $push3=, $pop12, $pop2 - br_if $pop3, 0 # 0: down to label9 + br_if 0, $pop3 # 0: down to label9 # BB#1: # %lor.lhs.false i32.load8_u $push4=, 1($0) - br_if $pop4, 0 # 0: down to label9 + br_if 0, $pop4 # 0: down to label9 # BB#2: # %lor.lhs.false i32.const $push14=, 0 i32.load $push1=, r.cnt($pop14) tee_local $push13=, $0=, $pop1 i32.const $push5=, 4 i32.ge_s $push6=, $pop13, $pop5 - br_if $pop6, 0 # 0: down to label9 + br_if 0, $pop6 # 0: down to label9 # BB#3: # %if.end i32.const $push9=, 0 i32.const $push7=, 1 diff --git a/test/torture-s/20010924-1.c.s b/test/torture-s/20010924-1.c.s index 43b48d78a..0a2bcd95d 100644 --- a/test/torture-s/20010924-1.c.s +++ b/test/torture-s/20010924-1.c.s @@ -13,7 +13,7 @@ main: # @main i32.load8_u $push1=, a1($pop38):p2align=2 i32.const $push2=, 52 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end block i32.const $push40=, 0 @@ -22,80 +22,80 @@ main: # @main i32.load8_u $push4=, 0($pop39) i32.const $push5=, 54 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#2: # %if.end6 block i32.load8_u $push7=, 1($0) i32.const $push8=, 50 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label2 + br_if 0, $pop9 # 0: down to label2 # BB#3: # %if.end12 block i32.load8_u $push10=, 2($0) - br_if $pop10, 0 # 0: down to label3 + br_if 0, $pop10 # 0: down to label3 # BB#4: # %if.end18 block i32.const $push41=, 0 i32.load8_u $push11=, a2($pop41) i32.const $push12=, 118 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label4 + br_if 0, $pop13 # 0: down to label4 # BB#5: # %if.end23 block i32.const $push42=, 0 i32.load8_u $push14=, a2+1($pop42) i32.const $push15=, 99 i32.ne $push16=, $pop14, $pop15 - br_if $pop16, 0 # 0: down to label5 + br_if 0, $pop16 # 0: down to label5 # BB#6: # %if.end28 block i32.const $push43=, 0 i32.load8_u $push17=, a2+2($pop43) i32.const $push18=, 113 i32.ne $push19=, $pop17, $pop18 - br_if $pop19, 0 # 0: down to label6 + br_if 0, $pop19 # 0: down to label6 # BB#7: # %if.end33 block i32.const $push44=, 0 i32.load8_u $push20=, a3($pop44) i32.const $push21=, 111 i32.ne $push22=, $pop20, $pop21 - br_if $pop22, 0 # 0: down to label7 + br_if 0, $pop22 # 0: down to label7 # BB#8: # %if.end38 block i32.const $push45=, 0 i32.load8_u $push23=, a3+1($pop45) i32.const $push24=, 119 i32.ne $push25=, $pop23, $pop24 - br_if $pop25, 0 # 0: down to label8 + br_if 0, $pop25 # 0: down to label8 # BB#9: # %if.end43 block i32.const $push46=, 0 i32.load8_u $push26=, a3+2($pop46) i32.const $push27=, 120 i32.ne $push28=, $pop26, $pop27 - br_if $pop28, 0 # 0: down to label9 + br_if 0, $pop28 # 0: down to label9 # BB#10: # %if.end48 block i32.const $push47=, 0 i32.load8_u $push29=, a4($pop47) i32.const $push30=, 57 i32.ne $push31=, $pop29, $pop30 - br_if $pop31, 0 # 0: down to label10 + br_if 0, $pop31 # 0: down to label10 # BB#11: # %if.end53 block i32.const $push48=, 0 i32.load8_u $push32=, a4+1($pop48) i32.const $push33=, 101 i32.ne $push34=, $pop32, $pop33 - br_if $pop34, 0 # 0: down to label11 + br_if 0, $pop34 # 0: down to label11 # BB#12: # %if.end58 block i32.const $push49=, 0 i32.load8_u $push35=, a4+2($pop49) i32.const $push36=, 98 i32.ne $push37=, $pop35, $pop36 - br_if $pop37, 0 # 0: down to label12 + br_if 0, $pop37 # 0: down to label12 # BB#13: # %if.end63 i32.const $push50=, 0 return $pop50 diff --git a/test/torture-s/20010925-1.c.s b/test/torture-s/20010925-1.c.s index 98f65c16c..af5ba25dd 100644 --- a/test/torture-s/20010925-1.c.s +++ b/test/torture-s/20010925-1.c.s @@ -36,7 +36,7 @@ foo: # @foo block i32.const $push0=, 0 i32.eq $push1=, $2, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.call $discard=, memcpy@FUNCTION, $0, $1, $2 i32.const $3=, 0 diff --git a/test/torture-s/20011008-3.c.s b/test/torture-s/20011008-3.c.s index 949d45b60..68424113b 100644 --- a/test/torture-s/20011008-3.c.s +++ b/test/torture-s/20011008-3.c.s @@ -35,7 +35,7 @@ __db_txnlist_lsnadd: # @__db_txnlist_lsnadd block i32.const $push9=, 0 i32.eq $push10=, $4, $pop9 - br_if $pop10, 0 # 0: down to label2 + br_if 0, $pop10 # 0: down to label2 # BB#2: # %cond.false # in Loop: Header=BB1_1 Depth=1 i32.load $6=, 0($5) @@ -43,7 +43,7 @@ __db_txnlist_lsnadd: # @__db_txnlist_lsnadd # in Loop: Header=BB1_1 Depth=1 end_block # label2: i32.ge_s $push2=, $3, $6 - br_if $pop2, 1 # 1: down to label1 + br_if 1, $pop2 # 1: down to label1 # BB#4: # %for.body # in Loop: Header=BB1_1 Depth=1 i32.const $push8=, 1 diff --git a/test/torture-s/20011024-1.c.s b/test/torture-s/20011024-1.c.s index 37722b6f2..373e3fc23 100644 --- a/test/torture-s/20011024-1.c.s +++ b/test/torture-s/20011024-1.c.s @@ -14,7 +14,7 @@ main: # @main i32.const $push1=, buf i32.const $push2=, .L.str i32.call $push3=, strcmp@FUNCTION, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %foo.exit i32.const $push11=, 0 i32.const $push10=, 0 diff --git a/test/torture-s/20011109-1.c.s b/test/torture-s/20011109-1.c.s index f40269b29..6be07684b 100644 --- a/test/torture-s/20011109-1.c.s +++ b/test/torture-s/20011109-1.c.s @@ -61,7 +61,7 @@ foo: # @foo tee_local $push4=, $0=, $pop0 i32.const $push2=, 11 i32.gt_u $push3=, $pop4, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %entry block block diff --git a/test/torture-s/20011113-1.c.s b/test/torture-s/20011113-1.c.s index 756b6d28c..838b24a4e 100644 --- a/test/torture-s/20011113-1.c.s +++ b/test/torture-s/20011113-1.c.s @@ -14,21 +14,21 @@ foo: # @foo i32.load $push4=, 0($pop3) i32.const $push9=, 21 i32.ne $push10=, $pop4, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#1: # %entry i32.const $push5=, 12 i32.add $push6=, $0, $pop5 i32.load $push0=, 0($pop6) i32.const $push11=, 22 i32.ne $push12=, $pop0, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#2: # %entry i32.const $push7=, 16 i32.add $push8=, $0, $pop7 i32.load $push1=, 0($pop8) i32.const $push13=, 23 i32.ne $push14=, $pop1, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#3: # %bar.exit i32.const $push15=, 0 return $pop15 @@ -52,17 +52,17 @@ bar: # @bar i32.load $push0=, 0($0) i32.const $push1=, 21 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %lor.lhs.false i32.load $push3=, 4($0) i32.const $push4=, 22 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %lor.lhs.false4 i32.load $push6=, 8($0) i32.const $push7=, 23 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#3: # %if.end i32.const $push9=, 0 return $pop9 @@ -88,21 +88,21 @@ baz: # @baz i32.load $push4=, 0($pop3) i32.const $push9=, 21 i32.ne $push10=, $pop4, $pop9 - br_if $pop10, 0 # 0: down to label2 + br_if 0, $pop10 # 0: down to label2 # BB#1: # %entry i32.const $push5=, 12 i32.add $push6=, $0, $pop5 i32.load $push0=, 0($pop6) i32.const $push11=, 22 i32.ne $push12=, $pop0, $pop11 - br_if $pop12, 0 # 0: down to label2 + br_if 0, $pop12 # 0: down to label2 # BB#2: # %entry i32.const $push7=, 16 i32.add $push8=, $0, $pop7 i32.load $push1=, 0($pop8) i32.const $push13=, 23 i32.ne $push14=, $pop1, $pop13 - br_if $pop14, 0 # 0: down to label2 + br_if 0, $pop14 # 0: down to label2 # BB#3: # %bar.exit i32.const $push15=, 0 return $pop15 diff --git a/test/torture-s/20011126-1.c.s b/test/torture-s/20011126-1.c.s index 6f339c0af..eff83f829 100644 --- a/test/torture-s/20011126-1.c.s +++ b/test/torture-s/20011126-1.c.s @@ -12,7 +12,7 @@ main: # @main i32.load $push0=, a($pop3) i32.const $push1=, -1 i32.le_s $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end5 i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20011219-1.c.s b/test/torture-s/20011219-1.c.s index 928750a2f..3ec48b321 100644 --- a/test/torture-s/20011219-1.c.s +++ b/test/torture-s/20011219-1.c.s @@ -28,7 +28,7 @@ foo: # @foo tee_local $push4=, $0=, $pop0 i32.const $push2=, 4 i32.gt_u $push3=, $pop4, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %entry block block diff --git a/test/torture-s/20020107-1.c.s b/test/torture-s/20020107-1.c.s index bcbf0a693..39a1d3701 100644 --- a/test/torture-s/20020107-1.c.s +++ b/test/torture-s/20020107-1.c.s @@ -35,7 +35,7 @@ main: # @main i32.sub $push3=, $pop2, $pop0 i32.const $push6=, 1 i32.ne $push4=, $pop3, $pop6 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %bar.exit i32.const $push5=, 0 call exit@FUNCTION, $pop5 diff --git a/test/torture-s/20020129-1.c.s b/test/torture-s/20020129-1.c.s index a8119f0b0..a9bf17209 100644 --- a/test/torture-s/20020129-1.c.s +++ b/test/torture-s/20020129-1.c.s @@ -14,11 +14,11 @@ foo: # @foo i32.load $push0=, 28($0) i32.const $push17=, 0 i32.eq $push18=, $pop0, $pop17 - br_if $pop18, 0 # 0: down to label1 + br_if 0, $pop18 # 0: down to label1 # BB#1: # %if.end i32.const $push19=, 0 i32.eq $push20=, $3, $pop19 - br_if $pop20, 1 # 1: down to label0 + br_if 1, $pop20 # 1: down to label0 # BB#2: # %if.then6 call abort@FUNCTION unreachable @@ -33,13 +33,13 @@ foo: # @foo i32.store $discard=, 0($pop3), $pop4 i32.const $push21=, 0 i32.eq $push22=, $3, $pop21 - br_if $pop22, 0 # 0: down to label0 + br_if 0, $pop22 # 0: down to label0 .LBB0_4: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: i32.store $discard=, 4($3), $0 i32.load $3=, 0($3) - br_if $3, 0 # 0: up to label2 + br_if 0, $3 # 0: up to label2 .LBB0_5: # %if.end7 end_loop # label3: end_block # label0: @@ -49,11 +49,11 @@ foo: # @foo i32.load $push5=, 12($0) i32.const $push13=, -1 i32.eq $push6=, $pop5, $pop13 - br_if $pop6, 0 # 0: down to label5 + br_if 0, $pop6 # 0: down to label5 # BB#6: # %if.end22 i32.const $push16=, -1 i32.eq $push7=, $3, $pop16 - br_if $pop7, 1 # 1: down to label4 + br_if 1, $pop7 # 1: down to label4 # BB#7: # %if.then26 call abort@FUNCTION unreachable diff --git a/test/torture-s/20020201-1.c.s b/test/torture-s/20020201-1.c.s index 57232bc80..e29d1cc04 100644 --- a/test/torture-s/20020201-1.c.s +++ b/test/torture-s/20020201-1.c.s @@ -18,7 +18,7 @@ main: # @main i32.and $push8=, $pop7, $pop46 i32.const $push45=, 6 i32.lt_u $push9=, $pop8, $pop45 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable @@ -31,7 +31,7 @@ main: # @main i32.rem_u $push11=, $pop10, $pop48 i32.const $push12=, 1 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#3: # %if.end10 block i32.const $push14=, 0 @@ -43,7 +43,7 @@ main: # @main i32.and $push17=, $pop16, $pop51 i32.const $push50=, 6 i32.lt_u $push18=, $pop17, $pop50 - br_if $pop18, 0 # 0: down to label2 + br_if 0, $pop18 # 0: down to label2 # BB#4: # %if.then17 call abort@FUNCTION unreachable @@ -56,7 +56,7 @@ main: # @main i32.rem_u $push20=, $pop19, $pop53 i32.const $push21=, 2 i32.ne $push22=, $pop20, $pop21 - br_if $pop22, 0 # 0: down to label3 + br_if 0, $pop22 # 0: down to label3 # BB#6: # %if.end26 block i32.const $push23=, 0 @@ -66,7 +66,7 @@ main: # @main i32.add $push25=, $pop56, $pop24 i32.const $push55=, 6 i32.lt_u $push26=, $pop25, $pop55 - br_if $pop26, 0 # 0: down to label4 + br_if 0, $pop26 # 0: down to label4 # BB#7: # %if.then30 call abort@FUNCTION unreachable @@ -77,7 +77,7 @@ main: # @main i32.rem_u $push27=, $0, $pop57 i32.const $push28=, 3 i32.ne $push29=, $pop27, $pop28 - br_if $pop29, 0 # 0: down to label5 + br_if 0, $pop29 # 0: down to label5 # BB#9: # %if.end36 block i32.const $push30=, 0 @@ -87,7 +87,7 @@ main: # @main i32.add $push32=, $pop59, $pop31 i32.const $push58=, 6 i32.lt_u $push33=, $pop32, $pop58 - br_if $pop33, 0 # 0: down to label6 + br_if 0, $pop33 # 0: down to label6 # BB#10: # %if.then40 call abort@FUNCTION unreachable @@ -98,7 +98,7 @@ main: # @main i32.rem_u $push34=, $0, $pop60 i32.const $push35=, 4 i32.ne $push36=, $pop34, $pop35 - br_if $pop36, 0 # 0: down to label7 + br_if 0, $pop36 # 0: down to label7 # BB#12: # %if.end46 block i32.const $push37=, 0 @@ -108,7 +108,7 @@ main: # @main i64.add $push39=, $pop62, $pop38 i64.const $push61=, 6 i64.lt_u $push40=, $pop39, $pop61 - br_if $pop40, 0 # 0: down to label8 + br_if 0, $pop40 # 0: down to label8 # BB#13: # %if.then50 call abort@FUNCTION unreachable @@ -119,7 +119,7 @@ main: # @main i64.rem_u $push41=, $1, $pop63 i64.const $push42=, 5 i64.ne $push43=, $pop41, $pop42 - br_if $pop43, 0 # 0: down to label9 + br_if 0, $pop43 # 0: down to label9 # BB#15: # %if.end56 i32.const $push44=, 0 call exit@FUNCTION, $pop44 diff --git a/test/torture-s/20020206-1.c.s b/test/torture-s/20020206-1.c.s index 16d2a386b..5c293632d 100644 --- a/test/torture-s/20020206-1.c.s +++ b/test/torture-s/20020206-1.c.s @@ -27,17 +27,17 @@ baz: # @baz i32.load $push0=, 0($0) i32.const $push1=, 176 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push3=, 4($0) i32.const $push4=, 52 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %lor.lhs.false3 i32.load $push6=, 8($0) i32.const $push7=, 31 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#3: # %if.end return .LBB1_4: # %if.then diff --git a/test/torture-s/20020206-2.c.s b/test/torture-s/20020206-2.c.s index f21f38325..a39bc669e 100644 --- a/test/torture-s/20020206-2.c.s +++ b/test/torture-s/20020206-2.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.or $push1=, $0, $pop0 i32.const $push2=, 2064 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20020213-1.c.s b/test/torture-s/20020213-1.c.s index c9cd2cee6..4c944fe01 100644 --- a/test/torture-s/20020213-1.c.s +++ b/test/torture-s/20020213-1.c.s @@ -21,7 +21,7 @@ foo: # @foo block i32.const $push9=, 0 i32.eq $push10=, $1, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20020216-1.c.s b/test/torture-s/20020216-1.c.s index a9b253a74..fe5d287bf 100644 --- a/test/torture-s/20020216-1.c.s +++ b/test/torture-s/20020216-1.c.s @@ -32,7 +32,7 @@ main: # @main i32.and $push2=, $pop0, $pop1 i32.const $push4=, 65535 i32.ne $push3=, $pop2, $pop4 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/20020226-1.c.s b/test/torture-s/20020226-1.c.s index ea7c3b21e..373cd5278 100644 --- a/test/torture-s/20020226-1.c.s +++ b/test/torture-s/20020226-1.c.s @@ -23,7 +23,7 @@ main: # @main i32.or $push17=, $pop16, $pop14 i32.const $push132=, 835 i32.ne $push18=, $pop17, $pop132 - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#1: # %if.end block i32.const $push19=, 4 @@ -33,7 +33,7 @@ main: # @main i32.or $push22=, $pop20, $pop21 i32.const $push137=, 835 i32.ne $push23=, $pop22, $pop137 - br_if $pop23, 0 # 0: down to label1 + br_if 0, $pop23 # 0: down to label1 # BB#2: # %if.end11 block i32.const $push24=, 0 @@ -47,7 +47,7 @@ main: # @main i32.or $push28=, $pop25, $pop27 i32.const $push139=, 19087651 i32.ne $push29=, $pop28, $pop139 - br_if $pop29, 0 # 0: down to label2 + br_if 0, $pop29 # 0: down to label2 # BB#3: # %if.end21 block i32.const $push30=, 4 @@ -57,7 +57,7 @@ main: # @main i32.or $push34=, $pop31, $pop33 i32.const $push142=, 19087651 i32.ne $push35=, $pop34, $pop142 - br_if $pop35, 0 # 0: down to label3 + br_if 0, $pop35 # 0: down to label3 # BB#4: # %if.end30 block i32.const $push36=, 0 @@ -71,7 +71,7 @@ main: # @main i32.or $push40=, $pop37, $pop39 i32.const $push143=, 1073742115 i32.ne $push41=, $pop40, $pop143 - br_if $pop41, 0 # 0: down to label4 + br_if 0, $pop41 # 0: down to label4 # BB#5: # %if.end38 block i32.const $push42=, 4 @@ -81,7 +81,7 @@ main: # @main i32.or $push46=, $pop43, $pop45 i32.const $push146=, 1073742115 i32.ne $push47=, $pop46, $pop146 - br_if $pop47, 0 # 0: down to label5 + br_if 0, $pop47 # 0: down to label5 # BB#6: # %if.end45 block i32.const $push48=, 0 @@ -92,7 +92,7 @@ main: # @main i32.or $push51=, $pop49, $pop50 i32.const $push147=, -2128394905 i32.ne $push52=, $pop51, $pop147 - br_if $pop52, 0 # 0: down to label6 + br_if 0, $pop52 # 0: down to label6 # BB#7: # %if.end53 block i32.const $push53=, 4 @@ -102,7 +102,7 @@ main: # @main i32.or $push57=, $pop54, $pop56 i32.const $push149=, -2128394905 i32.ne $push58=, $pop57, $pop149 - br_if $pop58, 0 # 0: down to label7 + br_if 0, $pop58 # 0: down to label7 # BB#8: # %if.end60 block i32.const $push59=, 0 @@ -119,7 +119,7 @@ main: # @main i64.or $push64=, $pop60, $pop63 i64.const $push150=, 5124095577148911 i64.ne $push65=, $pop64, $pop150 - br_if $pop65, 0 # 0: down to label8 + br_if 0, $pop65 # 0: down to label8 # BB#9: # %if.end69 block i64.const $push66=, 4 @@ -129,7 +129,7 @@ main: # @main i64.or $push70=, $pop67, $pop69 i64.const $push154=, 5124095577148911 i64.ne $push71=, $pop70, $pop154 - br_if $pop71, 0 # 0: down to label9 + br_if 0, $pop71 # 0: down to label9 # BB#10: # %if.end76 block i32.const $push75=, 64 @@ -146,7 +146,7 @@ main: # @main i64.or $push78=, $pop77, $pop74 i64.const $push155=, 1311768467750121216 i64.ne $push79=, $pop78, $pop155 - br_if $pop79, 0 # 0: down to label10 + br_if 0, $pop79 # 0: down to label10 # BB#11: # %if.end86 block i64.const $push80=, 60 @@ -156,7 +156,7 @@ main: # @main i64.or $push84=, $pop81, $pop83 i64.const $push159=, 1311768467750121216 i64.ne $push85=, $pop84, $pop159 - br_if $pop85, 0 # 0: down to label11 + br_if 0, $pop85 # 0: down to label11 # BB#12: # %if.end93 block i32.shr_u $push87=, $2, $0 @@ -164,7 +164,7 @@ main: # @main i32.or $push88=, $pop87, $pop86 i32.const $push89=, 835 i32.ne $push90=, $pop88, $pop89 - br_if $pop90, 0 # 0: down to label12 + br_if 0, $pop90 # 0: down to label12 # BB#13: # %if.end112 block i32.shl $push91=, $4, $1 @@ -172,7 +172,7 @@ main: # @main i32.or $push93=, $pop91, $pop92 i32.const $push160=, 74561 i32.ne $push94=, $pop93, $pop160 - br_if $pop94, 0 # 0: down to label13 + br_if 0, $pop94 # 0: down to label13 # BB#14: # %if.end122 block i32.const $push95=, 4 @@ -182,7 +182,7 @@ main: # @main i32.or $push99=, $pop96, $pop98 i32.const $push161=, 74561 i32.ne $push100=, $pop99, $pop161 - br_if $pop100, 0 # 0: down to label14 + br_if 0, $pop100 # 0: down to label14 # BB#15: # %if.end131 block i32.shl $push101=, $6, $1 @@ -190,7 +190,7 @@ main: # @main i32.or $push103=, $pop101, $pop102 i32.const $push162=, 74560 i32.ne $push104=, $pop103, $pop162 - br_if $pop104, 0 # 0: down to label15 + br_if 0, $pop104 # 0: down to label15 # BB#16: # %if.end139 block i32.const $push105=, 4 @@ -200,7 +200,7 @@ main: # @main i32.or $push109=, $pop106, $pop108 i32.const $push163=, 74560 i32.ne $push110=, $pop109, $pop163 - br_if $pop110, 0 # 0: down to label16 + br_if 0, $pop110 # 0: down to label16 # BB#17: # %if.end146 block i32.shl $push111=, $7, $1 @@ -208,7 +208,7 @@ main: # @main i32.or $push113=, $pop111, $pop112 i32.const $push164=, 591751041 i32.ne $push114=, $pop113, $pop164 - br_if $pop114, 0 # 0: down to label17 + br_if 0, $pop114 # 0: down to label17 # BB#18: # %if.end154 block i32.const $push115=, 4 @@ -218,7 +218,7 @@ main: # @main i32.or $push119=, $pop116, $pop118 i32.const $push165=, 591751041 i32.ne $push120=, $pop119, $pop165 - br_if $pop120, 0 # 0: down to label18 + br_if 0, $pop120 # 0: down to label18 # BB#19: # %if.end161 block i64.shl $push121=, $10, $9 @@ -226,7 +226,7 @@ main: # @main i64.or $push123=, $pop121, $pop122 i64.const $push124=, 1311768467750121216 i64.ne $push125=, $pop123, $pop124 - br_if $pop125, 0 # 0: down to label19 + br_if 0, $pop125 # 0: down to label19 # BB#20: # %if.end178 block i64.shr_u $push127=, $10, $12 @@ -234,7 +234,7 @@ main: # @main i64.or $push128=, $pop127, $pop126 i64.const $push129=, 5124095577148911 i64.ne $push130=, $pop128, $pop129 - br_if $pop130, 0 # 0: down to label20 + br_if 0, $pop130 # 0: down to label20 # BB#21: # %if.end195 i32.const $push131=, 0 call exit@FUNCTION, $pop131 diff --git a/test/torture-s/20020227-1.c.s b/test/torture-s/20020227-1.c.s index 1adf4d229..604b5b7e9 100644 --- a/test/torture-s/20020227-1.c.s +++ b/test/torture-s/20020227-1.c.s @@ -36,19 +36,19 @@ f2: # @f2 f32.load $push1=, 1($0):p2align=0 f32.const $push4=, 0x1p0 f32.ne $push5=, $pop1, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 5 i32.add $push3=, $0, $pop2 f32.load $push0=, 0($pop3):p2align=0 f32.const $push6=, 0x0p0 f32.ne $push7=, $pop0, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#2: # %lor.lhs.false i32.load8_u $push8=, 0($0) i32.const $push9=, 42 i32.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#3: # %if.end return .LBB2_4: # %if.then diff --git a/test/torture-s/20020307-1.c.s b/test/torture-s/20020307-1.c.s index 231069c46..607e4f0f5 100644 --- a/test/torture-s/20020307-1.c.s +++ b/test/torture-s/20020307-1.c.s @@ -12,7 +12,7 @@ f3: # @f3 i32.and $push1=, $0, $pop0 i32.const $push3=, 6 i32.ge_u $push2=, $pop1, $pop3 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -35,7 +35,7 @@ f4: # @f4 i32.and $push1=, $0, $pop0 i32.const $push2=, 10 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %if.end return .LBB1_2: # %if.then @@ -58,7 +58,7 @@ f5: # @f5 i32.and $push1=, $0, $pop0 i32.const $push2=, 18 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#1: # %if.end return .LBB2_2: # %if.then @@ -81,7 +81,7 @@ f6: # @f6 i32.and $push1=, $0, $pop0 i32.const $push2=, 34 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label3 + br_if 0, $pop3 # 0: down to label3 # BB#1: # %if.end return .LBB3_2: # %if.then @@ -104,7 +104,7 @@ f7: # @f7 i32.and $push1=, $0, $pop0 i32.const $push2=, 66 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label4 + br_if 0, $pop3 # 0: down to label4 # BB#1: # %if.end return .LBB4_2: # %if.then @@ -127,7 +127,7 @@ f8: # @f8 i32.and $push1=, $0, $pop0 i32.const $push2=, 130 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label5 + br_if 0, $pop3 # 0: down to label5 # BB#1: # %if.end return .LBB5_2: # %if.then @@ -150,7 +150,7 @@ f9: # @f9 i32.and $push1=, $0, $pop0 i32.const $push2=, 258 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label6 + br_if 0, $pop3 # 0: down to label6 # BB#1: # %if.end return .LBB6_2: # %if.then @@ -173,7 +173,7 @@ f10: # @f10 i32.and $push1=, $0, $pop0 i32.const $push2=, 514 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label7 + br_if 0, $pop3 # 0: down to label7 # BB#1: # %if.end return .LBB7_2: # %if.then @@ -196,7 +196,7 @@ f11: # @f11 i32.and $push1=, $0, $pop0 i32.const $push2=, 1026 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label8 + br_if 0, $pop3 # 0: down to label8 # BB#1: # %if.end return .LBB8_2: # %if.then @@ -219,7 +219,7 @@ f12: # @f12 i32.and $push1=, $0, $pop0 i32.const $push2=, 2050 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label9 + br_if 0, $pop3 # 0: down to label9 # BB#1: # %if.end return .LBB9_2: # %if.then @@ -242,7 +242,7 @@ f13: # @f13 i32.and $push1=, $0, $pop0 i32.const $push2=, 4098 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label10 + br_if 0, $pop3 # 0: down to label10 # BB#1: # %if.end return .LBB10_2: # %if.then @@ -265,7 +265,7 @@ f14: # @f14 i32.and $push1=, $0, $pop0 i32.const $push2=, 8194 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label11 + br_if 0, $pop3 # 0: down to label11 # BB#1: # %if.end return .LBB11_2: # %if.then @@ -288,7 +288,7 @@ f15: # @f15 i32.and $push1=, $0, $pop0 i32.const $push2=, 16386 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label12 + br_if 0, $pop3 # 0: down to label12 # BB#1: # %if.end return .LBB12_2: # %if.then @@ -311,7 +311,7 @@ f16: # @f16 i32.and $push1=, $0, $pop0 i32.const $push2=, 32770 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label13 + br_if 0, $pop3 # 0: down to label13 # BB#1: # %if.end return .LBB13_2: # %if.then @@ -334,7 +334,7 @@ f17: # @f17 i32.and $push1=, $0, $pop0 i32.const $push2=, 65538 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label14 + br_if 0, $pop3 # 0: down to label14 # BB#1: # %if.end return .LBB14_2: # %if.then @@ -357,7 +357,7 @@ f18: # @f18 i32.and $push1=, $0, $pop0 i32.const $push2=, 131074 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label15 + br_if 0, $pop3 # 0: down to label15 # BB#1: # %if.end return .LBB15_2: # %if.then @@ -380,7 +380,7 @@ f19: # @f19 i32.and $push1=, $0, $pop0 i32.const $push2=, 262146 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label16 + br_if 0, $pop3 # 0: down to label16 # BB#1: # %if.end return .LBB16_2: # %if.then @@ -403,7 +403,7 @@ f20: # @f20 i32.and $push1=, $0, $pop0 i32.const $push2=, 524290 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label17 + br_if 0, $pop3 # 0: down to label17 # BB#1: # %if.end return .LBB17_2: # %if.then @@ -426,7 +426,7 @@ f21: # @f21 i32.and $push1=, $0, $pop0 i32.const $push2=, 1048578 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label18 + br_if 0, $pop3 # 0: down to label18 # BB#1: # %if.end return .LBB18_2: # %if.then @@ -449,7 +449,7 @@ f22: # @f22 i32.and $push1=, $0, $pop0 i32.const $push2=, 2097154 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label19 + br_if 0, $pop3 # 0: down to label19 # BB#1: # %if.end return .LBB19_2: # %if.then @@ -472,7 +472,7 @@ f23: # @f23 i32.and $push1=, $0, $pop0 i32.const $push2=, 4194306 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label20 + br_if 0, $pop3 # 0: down to label20 # BB#1: # %if.end return .LBB20_2: # %if.then @@ -495,7 +495,7 @@ f24: # @f24 i32.and $push1=, $0, $pop0 i32.const $push2=, 8388610 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label21 + br_if 0, $pop3 # 0: down to label21 # BB#1: # %if.end return .LBB21_2: # %if.then @@ -518,7 +518,7 @@ f25: # @f25 i32.and $push1=, $0, $pop0 i32.const $push2=, 16777218 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label22 + br_if 0, $pop3 # 0: down to label22 # BB#1: # %if.end return .LBB22_2: # %if.then @@ -541,7 +541,7 @@ f26: # @f26 i32.and $push1=, $0, $pop0 i32.const $push2=, 33554434 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label23 + br_if 0, $pop3 # 0: down to label23 # BB#1: # %if.end return .LBB23_2: # %if.then @@ -564,7 +564,7 @@ f27: # @f27 i32.and $push1=, $0, $pop0 i32.const $push2=, 67108866 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label24 + br_if 0, $pop3 # 0: down to label24 # BB#1: # %if.end return .LBB24_2: # %if.then @@ -587,7 +587,7 @@ f28: # @f28 i32.and $push1=, $0, $pop0 i32.const $push2=, 134217730 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label25 + br_if 0, $pop3 # 0: down to label25 # BB#1: # %if.end return .LBB25_2: # %if.then @@ -610,7 +610,7 @@ f29: # @f29 i32.and $push1=, $0, $pop0 i32.const $push2=, 268435458 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label26 + br_if 0, $pop3 # 0: down to label26 # BB#1: # %if.end return .LBB26_2: # %if.then @@ -633,7 +633,7 @@ f30: # @f30 i32.and $push1=, $0, $pop0 i32.const $push2=, 536870914 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label27 + br_if 0, $pop3 # 0: down to label27 # BB#1: # %if.end return .LBB27_2: # %if.then @@ -656,7 +656,7 @@ f31: # @f31 i32.and $push1=, $0, $pop0 i32.const $push2=, 1073741826 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label28 + br_if 0, $pop3 # 0: down to label28 # BB#1: # %if.end return .LBB28_2: # %if.then diff --git a/test/torture-s/20020328-1.c.s b/test/torture-s/20020328-1.c.s index 672598d76..10efbe861 100644 --- a/test/torture-s/20020328-1.c.s +++ b/test/torture-s/20020328-1.c.s @@ -23,7 +23,7 @@ testit: # @testit block i32.const $push0=, 20 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB1_2: # %if.then diff --git a/test/torture-s/20020402-3.c.s b/test/torture-s/20020402-3.c.s index c4803cceb..94ae383b0 100644 --- a/test/torture-s/20020402-3.c.s +++ b/test/torture-s/20020402-3.c.s @@ -18,7 +18,7 @@ blockvector_for_pc_sect: # @blockvector_for_pc_sect block i32.const $push24=, 1 i32.le_s $push1=, $1, $pop24 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 .LBB0_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label2: @@ -44,13 +44,13 @@ blockvector_for_pc_sect: # @blockvector_for_pc_sect copy_local $3=, $2 i32.const $push27=, 1 i32.gt_s $push13=, $1, $pop27 - br_if $pop13, 0 # 0: up to label2 + br_if 0, $pop13 # 0: up to label2 # BB#2: # %while.cond8.preheader end_loop # label3: i32.const $3=, 0 i32.const $push14=, -1 i32.le_s $push15=, $4, $pop14 - br_if $pop15, 1 # 1: down to label0 + br_if 1, $pop15 # 1: down to label0 .LBB0_3: # %while.body10.preheader end_block # label1: i32.const $push16=, 2 @@ -67,7 +67,7 @@ blockvector_for_pc_sect: # @blockvector_for_pc_sect i32.load $push20=, 0($1) i64.load $push21=, 8($pop20) i64.gt_u $push22=, $pop21, $0 - br_if $pop22, 1 # 1: down to label5 + br_if 1, $pop22 # 1: down to label5 # BB#5: # %while.cond8 # in Loop: Header=BB0_4 Depth=1 i32.const $push34=, -1 @@ -77,7 +77,7 @@ blockvector_for_pc_sect: # @blockvector_for_pc_sect i32.const $3=, 0 i32.const $push32=, 1 i32.ge_s $push23=, $4, $pop32 - br_if $pop23, 0 # 0: up to label4 + br_if 0, $pop23 # 0: up to label4 .LBB0_6: # %cleanup end_loop # label5: end_block # label0: diff --git a/test/torture-s/20020406-1.c.s b/test/torture-s/20020406-1.c.s index 5d88c57af..f1fbde5a9 100644 --- a/test/torture-s/20020406-1.c.s +++ b/test/torture-s/20020406-1.c.s @@ -43,7 +43,7 @@ DUPFFnew: # @DUPFFnew i32.const $push2=, 0 i32.store $push3=, 8($pop12), $pop2 i32.lt_s $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.then i32.const $push9=, 8 i32.add $push10=, $1, $pop9 @@ -158,24 +158,24 @@ DUPFFexgcd: # @DUPFFexgcd copy_local $0=, $4 copy_local $2=, $5 i32.lt_s $push1=, $6, $7 - br_if $pop1, 0 # 0: up to label1 + br_if 0, $pop1 # 0: up to label1 # BB#2: # %if.end end_loop # label2: block i32.const $push2=, 2 i32.ne $push3=, $6, $pop2 - br_if $pop3, 0 # 0: down to label3 + br_if 0, $pop3 # 0: down to label3 # BB#3: # %if.end i32.const $push4=, 1 i32.ne $push5=, $7, $pop4 - br_if $pop5, 0 # 0: down to label3 + br_if 0, $pop5 # 0: down to label3 # BB#4: # %if.end11 block i32.load $push6=, 8($3) i32.load $push7=, 0($pop6) i32.const $push26=, 0 i32.eq $push27=, $pop7, $pop26 - br_if $pop27, 0 # 0: down to label4 + br_if 0, $pop27 # 0: down to label4 # BB#5: # %DUPFFnew.exit167 i32.const $push8=, 12 i32.call $7=, malloc@FUNCTION, $pop8 @@ -201,7 +201,7 @@ DUPFFexgcd: # @DUPFFexgcd i32.store $discard=, 8($6), $0 block i32.lt_s $push17=, $5, $2 - br_if $pop17, 0 # 0: down to label5 + br_if 0, $pop17 # 0: down to label5 # BB#6: # %while.cond40.preheader.lr.ph i32.const $push25=, 4 i32.add $push18=, $3, $pop25 @@ -210,7 +210,7 @@ DUPFFexgcd: # @DUPFFexgcd .LBB7_7: # %while.cond40.preheader # =>This Inner Loop Header: Depth=1 loop # label6: - br_if $3, 0 # 0: up to label6 + br_if 0, $3 # 0: up to label6 .LBB7_8: # %while.cond40 # =>This Inner Loop Header: Depth=1 end_loop # label7: diff --git a/test/torture-s/20020413-1.c.s b/test/torture-s/20020413-1.c.s index 145604aca..6750ac3fd 100644 --- a/test/torture-s/20020413-1.c.s +++ b/test/torture-s/20020413-1.c.s @@ -39,21 +39,21 @@ test: # @test i32.call $push8=, __getf2@FUNCTION, $pop87, $pop86, $pop85, $pop84 i32.const $push83=, 0 i32.ge_s $push9=, $pop8, $pop83 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#1: # %if.else i64.const $push97=, 0 i64.const $push96=, 0 i32.call $push45=, __eqtf2@FUNCTION, $0, $1, $pop97, $pop96 i32.const $push133=, 0 i32.eq $push134=, $pop45, $pop133 - br_if $pop134, 1 # 1: down to label0 + br_if 1, $pop134 # 1: down to label0 # BB#2: # %if.else i64.const $push98=, 0 i64.const $push46=, 4611404543450677248 i32.call $push47=, __lttf2@FUNCTION, $0, $1, $pop98, $pop46 i32.const $push48=, -1 i32.gt_s $push49=, $pop47, $pop48 - br_if $pop49, 1 # 1: down to label0 + br_if 1, $pop49 # 1: down to label0 # BB#3: # %while.body12 i32.const $4=, 1 i64.const $push99=, 0 @@ -61,7 +61,7 @@ test: # @test i32.call $push51=, __lttf2@FUNCTION, $0, $1, $pop99, $pop50 i32.const $push52=, 0 i32.ge_s $push53=, $pop51, $pop52 - br_if $pop53, 1 # 1: down to label0 + br_if 1, $pop53 # 1: down to label0 # BB#4: # %while.body12.1 i32.const $4=, 2 i64.const $push101=, 0 @@ -69,7 +69,7 @@ test: # @test i32.call $push55=, __lttf2@FUNCTION, $0, $1, $pop101, $pop54 i32.const $push100=, -1 i32.gt_s $push56=, $pop55, $pop100 - br_if $pop56, 1 # 1: down to label0 + br_if 1, $pop56 # 1: down to label0 # BB#5: # %while.body12.2 i32.const $4=, 3 i64.const $push103=, 0 @@ -77,7 +77,7 @@ test: # @test i32.call $push58=, __lttf2@FUNCTION, $0, $1, $pop103, $pop57 i32.const $push102=, -1 i32.gt_s $push59=, $pop58, $pop102 - br_if $pop59, 1 # 1: down to label0 + br_if 1, $pop59 # 1: down to label0 # BB#6: # %while.body12.3 i32.const $4=, 4 i64.const $push105=, 0 @@ -85,7 +85,7 @@ test: # @test i32.call $push61=, __lttf2@FUNCTION, $0, $1, $pop105, $pop60 i32.const $push104=, -1 i32.gt_s $push62=, $pop61, $pop104 - br_if $pop62, 1 # 1: down to label0 + br_if 1, $pop62 # 1: down to label0 # BB#7: # %while.body12.4 i32.const $4=, 5 i64.const $push107=, 0 @@ -93,7 +93,7 @@ test: # @test i32.call $push64=, __lttf2@FUNCTION, $0, $1, $pop107, $pop63 i32.const $push106=, -1 i32.gt_s $push65=, $pop64, $pop106 - br_if $pop65, 1 # 1: down to label0 + br_if 1, $pop65 # 1: down to label0 # BB#8: # %while.body12.5 i32.const $4=, 6 i64.const $push109=, 0 @@ -101,7 +101,7 @@ test: # @test i32.call $push67=, __lttf2@FUNCTION, $0, $1, $pop109, $pop66 i32.const $push108=, -1 i32.gt_s $push68=, $pop67, $pop108 - br_if $pop68, 1 # 1: down to label0 + br_if 1, $pop68 # 1: down to label0 # BB#9: # %while.body12.6 i32.const $4=, 7 i64.const $push111=, 0 @@ -109,7 +109,7 @@ test: # @test i32.call $push70=, __lttf2@FUNCTION, $0, $1, $pop111, $pop69 i32.const $push110=, -1 i32.gt_s $push71=, $pop70, $pop110 - br_if $pop71, 1 # 1: down to label0 + br_if 1, $pop71 # 1: down to label0 # BB#10: # %while.body12.7 i32.const $4=, 8 i64.const $push113=, 0 @@ -117,7 +117,7 @@ test: # @test i32.call $push73=, __lttf2@FUNCTION, $0, $1, $pop113, $pop72 i32.const $push112=, -1 i32.gt_s $push74=, $pop73, $pop112 - br_if $pop74, 1 # 1: down to label0 + br_if 1, $pop74 # 1: down to label0 # BB#11: # %while.body12.8 i32.const $4=, 9 i64.const $push115=, 0 @@ -125,7 +125,7 @@ test: # @test i32.call $push76=, __lttf2@FUNCTION, $0, $1, $pop115, $pop75 i32.const $push114=, -1 i32.gt_s $push77=, $pop76, $pop114 - br_if $pop77, 1 # 1: down to label0 + br_if 1, $pop77 # 1: down to label0 # BB#12: # %while.body12.9 i32.const $4=, 10 i64.const $push79=, 0 @@ -133,7 +133,7 @@ test: # @test i32.call $push80=, __lttf2@FUNCTION, $0, $1, $pop79, $pop78 i32.const $push81=, -1 i32.gt_s $push82=, $pop80, $pop81 - br_if $pop82, 1 # 1: down to label0 + br_if 1, $pop82 # 1: down to label0 # BB#13: # %while.body12.10 call abort@FUNCTION unreachable @@ -144,7 +144,7 @@ test: # @test i32.call $push10=, __gttf2@FUNCTION, $0, $1, $pop94, $pop93 i32.const $push11=, 1 i32.lt_s $push12=, $pop10, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#15: # %while.body i32.const $4=, 1 i64.const $push95=, 0 @@ -152,7 +152,7 @@ test: # @test i32.call $push14=, __gttf2@FUNCTION, $0, $1, $pop95, $pop13 i32.const $push15=, 0 i32.le_s $push16=, $pop14, $pop15 - br_if $pop16, 0 # 0: down to label0 + br_if 0, $pop16 # 0: down to label0 # BB#16: # %while.body.1 i32.const $4=, 2 i64.const $push117=, 0 @@ -160,7 +160,7 @@ test: # @test i32.call $push18=, __gttf2@FUNCTION, $0, $1, $pop117, $pop17 i32.const $push116=, 1 i32.lt_s $push19=, $pop18, $pop116 - br_if $pop19, 0 # 0: down to label0 + br_if 0, $pop19 # 0: down to label0 # BB#17: # %while.body.2 i32.const $4=, 3 i64.const $push119=, 0 @@ -168,7 +168,7 @@ test: # @test i32.call $push21=, __gttf2@FUNCTION, $0, $1, $pop119, $pop20 i32.const $push118=, 1 i32.lt_s $push22=, $pop21, $pop118 - br_if $pop22, 0 # 0: down to label0 + br_if 0, $pop22 # 0: down to label0 # BB#18: # %while.body.3 i32.const $4=, 4 i64.const $push121=, 0 @@ -176,7 +176,7 @@ test: # @test i32.call $push24=, __gttf2@FUNCTION, $0, $1, $pop121, $pop23 i32.const $push120=, 1 i32.lt_s $push25=, $pop24, $pop120 - br_if $pop25, 0 # 0: down to label0 + br_if 0, $pop25 # 0: down to label0 # BB#19: # %while.body.4 i32.const $4=, 5 i64.const $push123=, 0 @@ -184,7 +184,7 @@ test: # @test i32.call $push27=, __gttf2@FUNCTION, $0, $1, $pop123, $pop26 i32.const $push122=, 1 i32.lt_s $push28=, $pop27, $pop122 - br_if $pop28, 0 # 0: down to label0 + br_if 0, $pop28 # 0: down to label0 # BB#20: # %while.body.5 i32.const $4=, 6 i64.const $push125=, 0 @@ -192,7 +192,7 @@ test: # @test i32.call $push30=, __gttf2@FUNCTION, $0, $1, $pop125, $pop29 i32.const $push124=, 1 i32.lt_s $push31=, $pop30, $pop124 - br_if $pop31, 0 # 0: down to label0 + br_if 0, $pop31 # 0: down to label0 # BB#21: # %while.body.6 i32.const $4=, 7 i64.const $push127=, 0 @@ -200,7 +200,7 @@ test: # @test i32.call $push33=, __gttf2@FUNCTION, $0, $1, $pop127, $pop32 i32.const $push126=, 1 i32.lt_s $push34=, $pop33, $pop126 - br_if $pop34, 0 # 0: down to label0 + br_if 0, $pop34 # 0: down to label0 # BB#22: # %while.body.7 i32.const $4=, 8 i64.const $push129=, 0 @@ -208,7 +208,7 @@ test: # @test i32.call $push36=, __gttf2@FUNCTION, $0, $1, $pop129, $pop35 i32.const $push128=, 1 i32.lt_s $push37=, $pop36, $pop128 - br_if $pop37, 0 # 0: down to label0 + br_if 0, $pop37 # 0: down to label0 # BB#23: # %while.body.8 i32.const $4=, 9 i64.const $push131=, 0 @@ -216,7 +216,7 @@ test: # @test i32.call $push39=, __gttf2@FUNCTION, $0, $1, $pop131, $pop38 i32.const $push130=, 1 i32.lt_s $push40=, $pop39, $pop130 - br_if $pop40, 0 # 0: down to label0 + br_if 0, $pop40 # 0: down to label0 # BB#24: # %while.body.9 i32.const $4=, 10 i64.const $push132=, 0 @@ -224,7 +224,7 @@ test: # @test i32.call $push42=, __gttf2@FUNCTION, $0, $1, $pop132, $pop41 i32.const $push43=, 1 i32.lt_s $push44=, $pop42, $pop43 - br_if $pop44, 0 # 0: down to label0 + br_if 0, $pop44 # 0: down to label0 # BB#25: # %while.body.10 call abort@FUNCTION unreachable diff --git a/test/torture-s/20020418-1.c.s b/test/torture-s/20020418-1.c.s index eb573e65a..75eb9667e 100644 --- a/test/torture-s/20020418-1.c.s +++ b/test/torture-s/20020418-1.c.s @@ -13,7 +13,7 @@ gcc_crash: # @gcc_crash block i32.const $push0=, 52 i32.lt_s $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 .LBB0_1: # %top # =>This Inner Loop Header: Depth=1 loop # label1: @@ -21,7 +21,7 @@ gcc_crash: # @gcc_crash i32.add $2=, $2, $pop4 i32.const $push2=, 60 i32.gt_s $push3=, $1, $pop2 - br_if $pop3, 0 # 0: up to label1 + br_if 0, $pop3 # 0: up to label1 # BB#2: # %if.end6 end_loop # label2: i32.store $discard=, 0($0), $2 diff --git a/test/torture-s/20020506-1.c.s b/test/torture-s/20020506-1.c.s index 1d7bf9929..c795c104a 100644 --- a/test/torture-s/20020506-1.c.s +++ b/test/torture-s/20020506-1.c.s @@ -12,11 +12,11 @@ test1: # @test1 block i32.const $push0=, 0 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label2 + br_if 0, $pop1 # 0: down to label2 # BB#1: # %if.then i32.const $push2=, 0 i32.eq $push3=, $1, $pop2 - br_if $pop3, 1 # 1: down to label1 + br_if 1, $pop3 # 1: down to label1 # BB#2: # %if.then2 call abort@FUNCTION unreachable @@ -24,7 +24,7 @@ test1: # @test1 end_block # label2: i32.const $push4=, 0 i32.eq $push5=, $1, $pop4 - br_if $pop5, 1 # 1: down to label0 + br_if 1, $pop5 # 1: down to label0 .LBB0_4: # %if.end45 end_block # label1: return @@ -52,11 +52,11 @@ test2: # @test2 i32.shr_s $push2=, $pop1, $pop5 i32.const $push3=, 0 i32.lt_s $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label5 + br_if 0, $pop4 # 0: down to label5 # BB#1: # %if.then i32.const $push6=, 0 i32.eq $push7=, $1, $pop6 - br_if $pop7, 1 # 1: down to label4 + br_if 1, $pop7 # 1: down to label4 # BB#2: # %if.then2 call abort@FUNCTION unreachable @@ -64,7 +64,7 @@ test2: # @test2 end_block # label5: i32.const $push8=, 0 i32.eq $push9=, $1, $pop8 - br_if $pop9, 1 # 1: down to label3 + br_if 1, $pop9 # 1: down to label3 .LBB1_4: # %if.end45 end_block # label4: return @@ -88,11 +88,11 @@ test3: # @test3 block i32.const $push0=, 0 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label8 + br_if 0, $pop1 # 0: down to label8 # BB#1: # %if.then i32.const $push2=, 0 i32.eq $push3=, $1, $pop2 - br_if $pop3, 1 # 1: down to label7 + br_if 1, $pop3 # 1: down to label7 # BB#2: # %if.then2 call abort@FUNCTION unreachable @@ -100,7 +100,7 @@ test3: # @test3 end_block # label8: i32.const $push4=, 0 i32.eq $push5=, $1, $pop4 - br_if $pop5, 1 # 1: down to label6 + br_if 1, $pop5 # 1: down to label6 .LBB2_4: # %if.end45 end_block # label7: return @@ -128,11 +128,11 @@ test4: # @test4 i32.shr_s $push2=, $pop1, $pop5 i32.const $push3=, 0 i32.lt_s $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label11 + br_if 0, $pop4 # 0: down to label11 # BB#1: # %if.then i32.const $push6=, 0 i32.eq $push7=, $1, $pop6 - br_if $pop7, 1 # 1: down to label10 + br_if 1, $pop7 # 1: down to label10 # BB#2: # %if.then2 call abort@FUNCTION unreachable @@ -140,7 +140,7 @@ test4: # @test4 end_block # label11: i32.const $push8=, 0 i32.eq $push9=, $1, $pop8 - br_if $pop9, 1 # 1: down to label9 + br_if 1, $pop9 # 1: down to label9 .LBB3_4: # %if.end45 end_block # label10: return @@ -164,11 +164,11 @@ test5: # @test5 block i32.const $push0=, 0 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label14 + br_if 0, $pop1 # 0: down to label14 # BB#1: # %if.then i32.const $push2=, 0 i32.eq $push3=, $1, $pop2 - br_if $pop3, 1 # 1: down to label13 + br_if 1, $pop3 # 1: down to label13 # BB#2: # %if.then1 call abort@FUNCTION unreachable @@ -176,7 +176,7 @@ test5: # @test5 end_block # label14: i32.const $push4=, 0 i32.eq $push5=, $1, $pop4 - br_if $pop5, 1 # 1: down to label12 + br_if 1, $pop5 # 1: down to label12 .LBB4_4: # %if.end38 end_block # label13: return @@ -200,11 +200,11 @@ test6: # @test6 block i32.const $push0=, 0 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label17 + br_if 0, $pop1 # 0: down to label17 # BB#1: # %if.then i32.const $push2=, 0 i32.eq $push3=, $1, $pop2 - br_if $pop3, 1 # 1: down to label16 + br_if 1, $pop3 # 1: down to label16 # BB#2: # %if.then1 call abort@FUNCTION unreachable @@ -212,7 +212,7 @@ test6: # @test6 end_block # label17: i32.const $push4=, 0 i32.eq $push5=, $1, $pop4 - br_if $pop5, 1 # 1: down to label15 + br_if 1, $pop5 # 1: down to label15 .LBB5_4: # %if.end38 end_block # label16: return @@ -236,11 +236,11 @@ test7: # @test7 block i64.const $push0=, 0 i64.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label20 + br_if 0, $pop1 # 0: down to label20 # BB#1: # %if.then i32.const $push2=, 0 i32.eq $push3=, $1, $pop2 - br_if $pop3, 1 # 1: down to label19 + br_if 1, $pop3 # 1: down to label19 # BB#2: # %if.then1 call abort@FUNCTION unreachable @@ -248,7 +248,7 @@ test7: # @test7 end_block # label20: i32.const $push4=, 0 i32.eq $push5=, $1, $pop4 - br_if $pop5, 1 # 1: down to label18 + br_if 1, $pop5 # 1: down to label18 .LBB6_4: # %if.end38 end_block # label19: return @@ -272,11 +272,11 @@ test8: # @test8 block i64.const $push0=, 0 i64.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label23 + br_if 0, $pop1 # 0: down to label23 # BB#1: # %if.then i32.const $push2=, 0 i32.eq $push3=, $1, $pop2 - br_if $pop3, 1 # 1: down to label22 + br_if 1, $pop3 # 1: down to label22 # BB#2: # %if.then1 call abort@FUNCTION unreachable @@ -284,7 +284,7 @@ test8: # @test8 end_block # label23: i32.const $push4=, 0 i32.eq $push5=, $1, $pop4 - br_if $pop5, 1 # 1: down to label21 + br_if 1, $pop5 # 1: down to label21 .LBB7_4: # %if.end38 end_block # label22: return diff --git a/test/torture-s/20020508-1.c.s b/test/torture-s/20020508-1.c.s index 185f9276d..6e655d22d 100644 --- a/test/torture-s/20020508-1.c.s +++ b/test/torture-s/20020508-1.c.s @@ -23,7 +23,7 @@ main: # @main i32.or $push17=, $pop16, $pop14 i32.const $push132=, 835 i32.ne $push18=, $pop17, $pop132 - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#1: # %if.end block i32.const $push19=, 4 @@ -33,7 +33,7 @@ main: # @main i32.or $push22=, $pop20, $pop21 i32.const $push137=, 835 i32.ne $push23=, $pop22, $pop137 - br_if $pop23, 0 # 0: down to label1 + br_if 0, $pop23 # 0: down to label1 # BB#2: # %if.end11 block i32.const $push24=, 0 @@ -47,7 +47,7 @@ main: # @main i32.or $push28=, $pop25, $pop27 i32.const $push139=, 253972259 i32.ne $push29=, $pop28, $pop139 - br_if $pop29, 0 # 0: down to label2 + br_if 0, $pop29 # 0: down to label2 # BB#3: # %if.end21 block i32.const $push30=, 4 @@ -57,7 +57,7 @@ main: # @main i32.or $push34=, $pop31, $pop33 i32.const $push142=, 253972259 i32.ne $push35=, $pop34, $pop142 - br_if $pop35, 0 # 0: down to label3 + br_if 0, $pop35 # 0: down to label3 # BB#4: # %if.end30 block i32.const $push36=, 0 @@ -71,7 +71,7 @@ main: # @main i32.or $push40=, $pop37, $pop39 i32.const $push143=, 1073745699 i32.ne $push41=, $pop40, $pop143 - br_if $pop41, 0 # 0: down to label4 + br_if 0, $pop41 # 0: down to label4 # BB#5: # %if.end38 block i32.const $push42=, 4 @@ -81,7 +81,7 @@ main: # @main i32.or $push46=, $pop43, $pop45 i32.const $push146=, 1073745699 i32.ne $push47=, $pop46, $pop146 - br_if $pop47, 0 # 0: down to label5 + br_if 0, $pop47 # 0: down to label5 # BB#6: # %if.end45 block i32.const $push48=, 0 @@ -92,7 +92,7 @@ main: # @main i32.or $push51=, $pop49, $pop50 i32.const $push147=, -1893513881 i32.ne $push52=, $pop51, $pop147 - br_if $pop52, 0 # 0: down to label6 + br_if 0, $pop52 # 0: down to label6 # BB#7: # %if.end53 block i32.const $push53=, 4 @@ -102,7 +102,7 @@ main: # @main i32.or $push57=, $pop54, $pop56 i32.const $push149=, -1893513881 i32.ne $push58=, $pop57, $pop149 - br_if $pop58, 0 # 0: down to label7 + br_if 0, $pop58 # 0: down to label7 # BB#8: # %if.end60 block i32.const $push59=, 0 @@ -119,7 +119,7 @@ main: # @main i64.or $push64=, $pop60, $pop63 i64.const $push150=, 68174490360335855 i64.ne $push65=, $pop64, $pop150 - br_if $pop65, 0 # 0: down to label8 + br_if 0, $pop65 # 0: down to label8 # BB#9: # %if.end69 block i64.const $push66=, 4 @@ -129,7 +129,7 @@ main: # @main i64.or $push70=, $pop67, $pop69 i64.const $push154=, 68174490360335855 i64.ne $push71=, $pop70, $pop154 - br_if $pop71, 0 # 0: down to label9 + br_if 0, $pop71 # 0: down to label9 # BB#10: # %if.end76 block i32.const $push75=, 64 @@ -146,7 +146,7 @@ main: # @main i64.or $push78=, $pop77, $pop74 i64.const $push155=, -994074541463572736 i64.ne $push79=, $pop78, $pop155 - br_if $pop79, 0 # 0: down to label10 + br_if 0, $pop79 # 0: down to label10 # BB#11: # %if.end86 block i64.const $push80=, 60 @@ -156,7 +156,7 @@ main: # @main i64.or $push84=, $pop81, $pop83 i64.const $push159=, -994074541463572736 i64.ne $push85=, $pop84, $pop159 - br_if $pop85, 0 # 0: down to label11 + br_if 0, $pop85 # 0: down to label11 # BB#12: # %if.end93 block i32.shr_u $push87=, $2, $0 @@ -164,7 +164,7 @@ main: # @main i32.or $push88=, $pop87, $pop86 i32.const $push89=, 835 i32.ne $push90=, $pop88, $pop89 - br_if $pop90, 0 # 0: down to label12 + br_if 0, $pop90 # 0: down to label12 # BB#13: # %if.end112 block i32.shl $push91=, $4, $1 @@ -172,7 +172,7 @@ main: # @main i32.or $push93=, $pop91, $pop92 i32.const $push160=, 992079 i32.ne $push94=, $pop93, $pop160 - br_if $pop94, 0 # 0: down to label13 + br_if 0, $pop94 # 0: down to label13 # BB#14: # %if.end122 block i32.const $push95=, 4 @@ -182,7 +182,7 @@ main: # @main i32.or $push99=, $pop96, $pop98 i32.const $push161=, 992079 i32.ne $push100=, $pop99, $pop161 - br_if $pop100, 0 # 0: down to label14 + br_if 0, $pop100 # 0: down to label14 # BB#15: # %if.end131 block i32.shl $push101=, $6, $1 @@ -190,7 +190,7 @@ main: # @main i32.or $push103=, $pop101, $pop102 i32.const $push162=, 992064 i32.ne $push104=, $pop103, $pop162 - br_if $pop104, 0 # 0: down to label15 + br_if 0, $pop104 # 0: down to label15 # BB#16: # %if.end139 block i32.const $push105=, 4 @@ -200,7 +200,7 @@ main: # @main i32.or $push109=, $pop106, $pop108 i32.const $push163=, 992064 i32.ne $push110=, $pop109, $pop163 - br_if $pop110, 0 # 0: down to label16 + br_if 0, $pop110 # 0: down to label16 # BB#17: # %if.end146 block i32.shl $push111=, $7, $1 @@ -208,7 +208,7 @@ main: # @main i32.or $push113=, $pop111, $pop112 i32.const $push164=, 591751055 i32.ne $push114=, $pop113, $pop164 - br_if $pop114, 0 # 0: down to label17 + br_if 0, $pop114 # 0: down to label17 # BB#18: # %if.end154 block i32.const $push115=, 4 @@ -218,7 +218,7 @@ main: # @main i32.or $push119=, $pop116, $pop118 i32.const $push165=, 591751055 i32.ne $push120=, $pop119, $pop165 - br_if $pop120, 0 # 0: down to label18 + br_if 0, $pop120 # 0: down to label18 # BB#19: # %if.end161 block i64.shl $push121=, $10, $9 @@ -226,7 +226,7 @@ main: # @main i64.or $push123=, $pop121, $pop122 i64.const $push124=, -994074541463572736 i64.ne $push125=, $pop123, $pop124 - br_if $pop125, 0 # 0: down to label19 + br_if 0, $pop125 # 0: down to label19 # BB#20: # %if.end178 block i64.shr_u $push127=, $10, $12 @@ -234,7 +234,7 @@ main: # @main i64.or $push128=, $pop127, $pop126 i64.const $push129=, 68174490360335855 i64.ne $push130=, $pop128, $pop129 - br_if $pop130, 0 # 0: down to label20 + br_if 0, $pop130 # 0: down to label20 # BB#21: # %if.end195 i32.const $push131=, 0 call exit@FUNCTION, $pop131 diff --git a/test/torture-s/20020508-2.c.s b/test/torture-s/20020508-2.c.s index 298b39b9f..20afad814 100644 --- a/test/torture-s/20020508-2.c.s +++ b/test/torture-s/20020508-2.c.s @@ -23,7 +23,7 @@ main: # @main i32.or $push17=, $pop16, $pop14 i32.const $push132=, 835 i32.ne $push18=, $pop17, $pop132 - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#1: # %if.end block i32.const $push19=, 4 @@ -33,7 +33,7 @@ main: # @main i32.or $push22=, $pop20, $pop21 i32.const $push137=, 835 i32.ne $push23=, $pop22, $pop137 - br_if $pop23, 0 # 0: down to label1 + br_if 0, $pop23 # 0: down to label1 # BB#2: # %if.end11 block i32.const $push24=, 0 @@ -47,7 +47,7 @@ main: # @main i32.or $push28=, $pop25, $pop27 i32.const $push139=, 19087651 i32.ne $push29=, $pop28, $pop139 - br_if $pop29, 0 # 0: down to label2 + br_if 0, $pop29 # 0: down to label2 # BB#3: # %if.end21 block i32.const $push30=, 4 @@ -57,7 +57,7 @@ main: # @main i32.or $push34=, $pop31, $pop33 i32.const $push142=, 19087651 i32.ne $push35=, $pop34, $pop142 - br_if $pop35, 0 # 0: down to label3 + br_if 0, $pop35 # 0: down to label3 # BB#4: # %if.end30 block i32.const $push36=, 0 @@ -71,7 +71,7 @@ main: # @main i32.or $push40=, $pop37, $pop39 i32.const $push143=, 1073742115 i32.ne $push41=, $pop40, $pop143 - br_if $pop41, 0 # 0: down to label4 + br_if 0, $pop41 # 0: down to label4 # BB#5: # %if.end38 block i32.const $push42=, 4 @@ -81,7 +81,7 @@ main: # @main i32.or $push46=, $pop43, $pop45 i32.const $push146=, 1073742115 i32.ne $push47=, $pop46, $pop146 - br_if $pop47, 0 # 0: down to label5 + br_if 0, $pop47 # 0: down to label5 # BB#6: # %if.end45 block i32.const $push48=, 0 @@ -92,7 +92,7 @@ main: # @main i32.or $push51=, $pop49, $pop50 i32.const $push147=, -2128394905 i32.ne $push52=, $pop51, $pop147 - br_if $pop52, 0 # 0: down to label6 + br_if 0, $pop52 # 0: down to label6 # BB#7: # %if.end53 block i32.const $push53=, 4 @@ -102,7 +102,7 @@ main: # @main i32.or $push57=, $pop54, $pop56 i32.const $push149=, -2128394905 i32.ne $push58=, $pop57, $pop149 - br_if $pop58, 0 # 0: down to label7 + br_if 0, $pop58 # 0: down to label7 # BB#8: # %if.end60 block i32.const $push59=, 0 @@ -119,7 +119,7 @@ main: # @main i64.or $push64=, $pop60, $pop63 i64.const $push150=, 5124095577148911 i64.ne $push65=, $pop64, $pop150 - br_if $pop65, 0 # 0: down to label8 + br_if 0, $pop65 # 0: down to label8 # BB#9: # %if.end69 block i64.const $push66=, 4 @@ -129,7 +129,7 @@ main: # @main i64.or $push70=, $pop67, $pop69 i64.const $push154=, 5124095577148911 i64.ne $push71=, $pop70, $pop154 - br_if $pop71, 0 # 0: down to label9 + br_if 0, $pop71 # 0: down to label9 # BB#10: # %if.end76 block i32.const $push75=, 64 @@ -146,7 +146,7 @@ main: # @main i64.or $push78=, $pop77, $pop74 i64.const $push155=, 1311768467750121216 i64.ne $push79=, $pop78, $pop155 - br_if $pop79, 0 # 0: down to label10 + br_if 0, $pop79 # 0: down to label10 # BB#11: # %if.end86 block i64.const $push80=, 60 @@ -156,7 +156,7 @@ main: # @main i64.or $push84=, $pop81, $pop83 i64.const $push159=, 1311768467750121216 i64.ne $push85=, $pop84, $pop159 - br_if $pop85, 0 # 0: down to label11 + br_if 0, $pop85 # 0: down to label11 # BB#12: # %if.end93 block i32.shr_s $push87=, $2, $0 @@ -164,7 +164,7 @@ main: # @main i32.or $push88=, $pop87, $pop86 i32.const $push89=, 835 i32.ne $push90=, $pop88, $pop89 - br_if $pop90, 0 # 0: down to label12 + br_if 0, $pop90 # 0: down to label12 # BB#13: # %if.end112 block i32.shl $push91=, $4, $1 @@ -172,7 +172,7 @@ main: # @main i32.or $push93=, $pop91, $pop92 i32.const $push160=, 74561 i32.ne $push94=, $pop93, $pop160 - br_if $pop94, 0 # 0: down to label13 + br_if 0, $pop94 # 0: down to label13 # BB#14: # %if.end122 block i32.const $push95=, 4 @@ -182,7 +182,7 @@ main: # @main i32.or $push99=, $pop96, $pop98 i32.const $push161=, 74561 i32.ne $push100=, $pop99, $pop161 - br_if $pop100, 0 # 0: down to label14 + br_if 0, $pop100 # 0: down to label14 # BB#15: # %if.end131 block i32.shl $push101=, $6, $1 @@ -190,7 +190,7 @@ main: # @main i32.or $push103=, $pop101, $pop102 i32.const $push162=, 74560 i32.ne $push104=, $pop103, $pop162 - br_if $pop104, 0 # 0: down to label15 + br_if 0, $pop104 # 0: down to label15 # BB#16: # %if.end139 block i32.const $push105=, 4 @@ -200,7 +200,7 @@ main: # @main i32.or $push109=, $pop106, $pop108 i32.const $push163=, 74560 i32.ne $push110=, $pop109, $pop163 - br_if $pop110, 0 # 0: down to label16 + br_if 0, $pop110 # 0: down to label16 # BB#17: # %if.end146 block i32.shl $push111=, $7, $1 @@ -208,7 +208,7 @@ main: # @main i32.or $push113=, $pop111, $pop112 i32.const $push164=, 591751041 i32.ne $push114=, $pop113, $pop164 - br_if $pop114, 0 # 0: down to label17 + br_if 0, $pop114 # 0: down to label17 # BB#18: # %if.end154 block i32.const $push115=, 4 @@ -218,7 +218,7 @@ main: # @main i32.or $push119=, $pop116, $pop118 i32.const $push165=, 591751041 i32.ne $push120=, $pop119, $pop165 - br_if $pop120, 0 # 0: down to label18 + br_if 0, $pop120 # 0: down to label18 # BB#19: # %if.end161 block i64.shl $push121=, $10, $9 @@ -226,7 +226,7 @@ main: # @main i64.or $push123=, $pop121, $pop122 i64.const $push124=, 1311768467750121216 i64.ne $push125=, $pop123, $pop124 - br_if $pop125, 0 # 0: down to label19 + br_if 0, $pop125 # 0: down to label19 # BB#20: # %if.end178 block i64.shr_s $push127=, $10, $12 @@ -234,7 +234,7 @@ main: # @main i64.or $push128=, $pop127, $pop126 i64.const $push129=, 5124095577148911 i64.ne $push130=, $pop128, $pop129 - br_if $pop130, 0 # 0: down to label20 + br_if 0, $pop130 # 0: down to label20 # BB#21: # %if.end195 i32.const $push131=, 0 call exit@FUNCTION, $pop131 diff --git a/test/torture-s/20020508-3.c.s b/test/torture-s/20020508-3.c.s index d9dd64433..ec5c281e0 100644 --- a/test/torture-s/20020508-3.c.s +++ b/test/torture-s/20020508-3.c.s @@ -23,7 +23,7 @@ main: # @main i32.or $push17=, $pop16, $pop14 i32.const $push132=, 835 i32.ne $push18=, $pop17, $pop132 - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#1: # %if.end block i32.const $push19=, 4 @@ -33,7 +33,7 @@ main: # @main i32.or $push22=, $pop20, $pop21 i32.const $push137=, 835 i32.ne $push23=, $pop22, $pop137 - br_if $pop23, 0 # 0: down to label1 + br_if 0, $pop23 # 0: down to label1 # BB#2: # %if.end11 block i32.const $push24=, 0 @@ -47,7 +47,7 @@ main: # @main i32.or $push28=, $pop25, $pop27 i32.const $push139=, -221 i32.ne $push29=, $pop28, $pop139 - br_if $pop29, 0 # 0: down to label2 + br_if 0, $pop29 # 0: down to label2 # BB#3: # %if.end21 block i32.const $push30=, 4 @@ -57,7 +57,7 @@ main: # @main i32.or $push34=, $pop31, $pop33 i32.const $push142=, -221 i32.ne $push35=, $pop34, $pop142 - br_if $pop35, 0 # 0: down to label3 + br_if 0, $pop35 # 0: down to label3 # BB#4: # %if.end30 block i32.const $push36=, 0 @@ -71,7 +71,7 @@ main: # @main i32.or $push40=, $pop37, $pop39 i32.const $push143=, 1073745699 i32.ne $push41=, $pop40, $pop143 - br_if $pop41, 0 # 0: down to label4 + br_if 0, $pop41 # 0: down to label4 # BB#5: # %if.end38 block i32.const $push42=, 4 @@ -81,7 +81,7 @@ main: # @main i32.or $push46=, $pop43, $pop45 i32.const $push146=, 1073745699 i32.ne $push47=, $pop46, $pop146 - br_if $pop47, 0 # 0: down to label5 + br_if 0, $pop47 # 0: down to label5 # BB#6: # %if.end45 block i32.const $push48=, 0 @@ -92,7 +92,7 @@ main: # @main i32.or $push51=, $pop49, $pop50 i32.const $push147=, -14465689 i32.ne $push52=, $pop51, $pop147 - br_if $pop52, 0 # 0: down to label6 + br_if 0, $pop52 # 0: down to label6 # BB#7: # %if.end53 block i32.const $push53=, 4 @@ -102,7 +102,7 @@ main: # @main i32.or $push57=, $pop54, $pop56 i32.const $push149=, -14465689 i32.ne $push58=, $pop57, $pop149 - br_if $pop58, 0 # 0: down to label7 + br_if 0, $pop58 # 0: down to label7 # BB#8: # %if.end60 block i32.const $push59=, 0 @@ -119,7 +119,7 @@ main: # @main i64.or $push64=, $pop60, $pop63 i64.const $push150=, 68174490360335855 i64.ne $push65=, $pop64, $pop150 - br_if $pop65, 0 # 0: down to label8 + br_if 0, $pop65 # 0: down to label8 # BB#9: # %if.end69 block i64.const $push66=, 4 @@ -129,7 +129,7 @@ main: # @main i64.or $push70=, $pop67, $pop69 i64.const $push154=, 68174490360335855 i64.ne $push71=, $pop70, $pop154 - br_if $pop71, 0 # 0: down to label9 + br_if 0, $pop71 # 0: down to label9 # BB#10: # %if.end76 block i32.const $push75=, 64 @@ -146,7 +146,7 @@ main: # @main i64.or $push78=, $pop77, $pop74 i64.const $push155=, -994074541463572736 i64.ne $push79=, $pop78, $pop155 - br_if $pop79, 0 # 0: down to label10 + br_if 0, $pop79 # 0: down to label10 # BB#11: # %if.end86 block i64.const $push80=, 60 @@ -156,7 +156,7 @@ main: # @main i64.or $push84=, $pop81, $pop83 i64.const $push159=, -994074541463572736 i64.ne $push85=, $pop84, $pop159 - br_if $pop85, 0 # 0: down to label11 + br_if 0, $pop85 # 0: down to label11 # BB#12: # %if.end93 block i32.shr_s $push87=, $2, $0 @@ -164,7 +164,7 @@ main: # @main i32.or $push88=, $pop87, $pop86 i32.const $push89=, 835 i32.ne $push90=, $pop88, $pop89 - br_if $pop90, 0 # 0: down to label12 + br_if 0, $pop90 # 0: down to label12 # BB#13: # %if.end112 block i32.shl $push91=, $4, $1 @@ -172,7 +172,7 @@ main: # @main i32.or $push93=, $pop91, $pop92 i32.const $push160=, -1 i32.ne $push94=, $pop93, $pop160 - br_if $pop94, 0 # 0: down to label13 + br_if 0, $pop94 # 0: down to label13 # BB#14: # %if.end122 block i32.const $push95=, 4 @@ -182,7 +182,7 @@ main: # @main i32.or $push99=, $pop96, $pop98 i32.const $push161=, -1 i32.ne $push100=, $pop99, $pop161 - br_if $pop100, 0 # 0: down to label14 + br_if 0, $pop100 # 0: down to label14 # BB#15: # %if.end131 block i32.shl $push101=, $6, $1 @@ -190,7 +190,7 @@ main: # @main i32.or $push103=, $pop101, $pop102 i32.const $push162=, 992064 i32.ne $push104=, $pop103, $pop162 - br_if $pop104, 0 # 0: down to label15 + br_if 0, $pop104 # 0: down to label15 # BB#16: # %if.end139 block i32.const $push105=, 4 @@ -200,7 +200,7 @@ main: # @main i32.or $push109=, $pop106, $pop108 i32.const $push163=, 992064 i32.ne $push110=, $pop109, $pop163 - br_if $pop110, 0 # 0: down to label16 + br_if 0, $pop110 # 0: down to label16 # BB#17: # %if.end146 block i32.shl $push111=, $7, $1 @@ -208,7 +208,7 @@ main: # @main i32.or $push113=, $pop111, $pop112 i32.const $push164=, -1 i32.ne $push114=, $pop113, $pop164 - br_if $pop114, 0 # 0: down to label17 + br_if 0, $pop114 # 0: down to label17 # BB#18: # %if.end154 block i32.const $push115=, 4 @@ -218,7 +218,7 @@ main: # @main i32.or $push119=, $pop116, $pop118 i32.const $push165=, -1 i32.ne $push120=, $pop119, $pop165 - br_if $pop120, 0 # 0: down to label18 + br_if 0, $pop120 # 0: down to label18 # BB#19: # %if.end161 block i64.shl $push121=, $10, $9 @@ -226,7 +226,7 @@ main: # @main i64.or $push123=, $pop121, $pop122 i64.const $push124=, -994074541463572736 i64.ne $push125=, $pop123, $pop124 - br_if $pop125, 0 # 0: down to label19 + br_if 0, $pop125 # 0: down to label19 # BB#20: # %if.end178 block i64.shr_s $push127=, $10, $12 @@ -234,7 +234,7 @@ main: # @main i64.or $push128=, $pop127, $pop126 i64.const $push129=, 68174490360335855 i64.ne $push130=, $pop128, $pop129 - br_if $pop130, 0 # 0: down to label20 + br_if 0, $pop130 # 0: down to label20 # BB#21: # %if.end195 i32.const $push131=, 0 call exit@FUNCTION, $pop131 diff --git a/test/torture-s/20020510-1.c.s b/test/torture-s/20020510-1.c.s index 4eb0ac779..e03576072 100644 --- a/test/torture-s/20020510-1.c.s +++ b/test/torture-s/20020510-1.c.s @@ -16,15 +16,15 @@ testc: # @testc i32.shr_s $push2=, $pop1, $pop5 i32.const $push3=, 1 i32.lt_s $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#1: # %if.then - br_if $1, 1 # 1: down to label1 + br_if 1, $1 # 1: down to label1 # BB#2: # %if.then5 call abort@FUNCTION unreachable .LBB0_3: # %if.else end_block # label2: - br_if $1, 1 # 1: down to label0 + br_if 1, $1 # 1: down to label0 .LBB0_4: # %if.end9 end_block # label1: return @@ -52,15 +52,15 @@ tests: # @tests i32.shr_s $push2=, $pop1, $pop5 i32.const $push3=, 1 i32.lt_s $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label5 + br_if 0, $pop4 # 0: down to label5 # BB#1: # %if.then - br_if $1, 1 # 1: down to label4 + br_if 1, $1 # 1: down to label4 # BB#2: # %if.then5 call abort@FUNCTION unreachable .LBB1_3: # %if.else end_block # label5: - br_if $1, 1 # 1: down to label3 + br_if 1, $1 # 1: down to label3 .LBB1_4: # %if.end9 end_block # label4: return @@ -84,15 +84,15 @@ testi: # @testi block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label8 + br_if 0, $pop1 # 0: down to label8 # BB#1: # %if.then - br_if $1, 1 # 1: down to label7 + br_if 1, $1 # 1: down to label7 # BB#2: # %if.then2 call abort@FUNCTION unreachable .LBB2_3: # %if.else end_block # label8: - br_if $1, 1 # 1: down to label6 + br_if 1, $1 # 1: down to label6 .LBB2_4: # %if.end6 end_block # label7: return @@ -116,15 +116,15 @@ testl: # @testl block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label11 + br_if 0, $pop1 # 0: down to label11 # BB#1: # %if.then - br_if $1, 1 # 1: down to label10 + br_if 1, $1 # 1: down to label10 # BB#2: # %if.then2 call abort@FUNCTION unreachable .LBB3_3: # %if.else end_block # label11: - br_if $1, 1 # 1: down to label9 + br_if 1, $1 # 1: down to label9 .LBB3_4: # %if.end6 end_block # label10: return diff --git a/test/torture-s/20020529-1.c.s b/test/torture-s/20020529-1.c.s index 03edb048c..477adaceb 100644 --- a/test/torture-s/20020529-1.c.s +++ b/test/torture-s/20020529-1.c.s @@ -23,26 +23,26 @@ foo: # @foo i32.add $4=, $6, $pop8 i32.const $push7=, 2 i32.ge_s $push0=, $6, $pop7 - br_if $pop0, 4 # 4: down to label0 + br_if 4, $pop0 # 4: down to label0 # BB#2: # %f1.exit # in Loop: Header=BB0_1 Depth=1 i32.const $push9=, 1 i32.ge_s $push1=, $6, $pop9 - br_if $pop1, 3 # 3: down to label1 + br_if 3, $pop1 # 3: down to label1 # BB#3: # %if.end # in Loop: Header=BB0_1 Depth=1 copy_local $6=, $4 - br_if $1, 0 # 0: up to label3 + br_if 0, $1 # 0: up to label3 # BB#4: # %if.end3 # in Loop: Header=BB0_1 Depth=1 i32.const $push11=, 0 i32.store $6=, f1.beenhere($pop11), $4 i32.load $4=, 0($0) i32.store16 $discard=, 0($5):p2align=2, $3 - br_if $4, 2 # 2: down to label2 + br_if 2, $4 # 2: down to label2 # BB#5: # %if.end8 # in Loop: Header=BB0_1 Depth=1 - br_if $2, 1 # 1: down to label4 + br_if 1, $2 # 1: down to label4 # BB#6: # %for.cond.outer.backedge # in Loop: Header=BB0_1 Depth=1 i32.const $push13=, 16 @@ -93,7 +93,7 @@ f1: # @f1 block i32.const $push3=, 2 i32.ge_s $push4=, $1, $pop3 - br_if $pop4, 0 # 0: down to label5 + br_if 0, $pop4 # 0: down to label5 # BB#1: # %if.end i32.const $push9=, 0 i32.gt_s $push5=, $1, $pop9 @@ -146,7 +146,7 @@ main: # @main block i32.const $push18=, 1 i32.gt_s $push7=, $0, $pop18 - br_if $pop7, 0 # 0: down to label6 + br_if 0, $pop7 # 0: down to label6 .LBB3_1: # %f1.exit.i # =>This Inner Loop Header: Depth=1 block @@ -154,7 +154,7 @@ main: # @main copy_local $push0=, $0 tee_local $push21=, $3=, $pop0 i32.gt_s $push8=, $pop21, $2 - br_if $pop8, 2 # 2: down to label7 + br_if 2, $pop8 # 2: down to label7 # BB#2: # %if.end.i # in Loop: Header=BB3_1 Depth=1 i32.const $push10=, 8 @@ -165,7 +165,7 @@ main: # @main i32.add $0=, $3, $pop12 i32.const $push22=, 1 i32.le_s $push13=, $0, $pop22 - br_if $pop13, 0 # 0: up to label8 + br_if 0, $pop13 # 0: up to label8 # BB#3: # %if.then.i.i.loopexit end_loop # label9: i32.const $push15=, 0 @@ -182,7 +182,7 @@ main: # @main block i32.const $push16=, 65535 i32.and $push17=, $1, $pop16 - br_if $pop17, 0 # 0: down to label10 + br_if 0, $pop17 # 0: down to label10 # BB#5: # %if.end i32.const $push25=, 0 call exit@FUNCTION, $pop25 diff --git a/test/torture-s/20020611-1.c.s b/test/torture-s/20020611-1.c.s index a0b0432dd..84080be2c 100644 --- a/test/torture-s/20020611-1.c.s +++ b/test/torture-s/20020611-1.c.s @@ -37,7 +37,7 @@ main: # @main i32.store $push4=, k($pop7), $pop3 i32.const $push9=, 0 i32.eq $push10=, $pop4, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 0 call exit@FUNCTION, $pop8 diff --git a/test/torture-s/20020615-1.c.s b/test/torture-s/20020615-1.c.s index 6d0892d34..50b681749 100644 --- a/test/torture-s/20020615-1.c.s +++ b/test/torture-s/20020615-1.c.s @@ -48,12 +48,12 @@ line_hints: # @line_hints block i32.const $push56=, 0 i32.eq $push57=, $0, $pop56 - br_if $pop57, 0 # 0: down to label1 + br_if 0, $pop57 # 0: down to label1 # BB#1: # %entry i32.const $push51=, 4 i32.shr_s $push4=, $4, $pop51 i32.gt_s $push20=, $3, $pop4 - br_if $pop20, 0 # 0: down to label1 + br_if 0, $pop20 # 0: down to label1 # BB#2: # %if.then21 i32.const $push25=, 2 i32.const $push24=, 1 @@ -70,12 +70,12 @@ line_hints: # @line_hints end_block # label1: i32.const $push58=, 0 i32.eq $push59=, $1, $pop58 - br_if $pop59, 0 # 0: down to label0 + br_if 0, $pop59 # 0: down to label0 # BB#4: # %if.else i32.const $push53=, 4 i32.shr_s $push29=, $3, $pop53 i32.gt_s $push30=, $4, $pop29 - br_if $pop30, 0 # 0: down to label0 + br_if 0, $pop30 # 0: down to label0 # BB#5: # %if.then31 i32.const $push31=, 29 i32.shr_u $push32=, $1, $pop31 @@ -110,7 +110,7 @@ main: # @main i32.call $push3=, line_hints@FUNCTION, $pop1, $pop0, $pop2 i32.const $push4=, 1 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#1: # %lor.lhs.false i32.const $push6=, main.fh+12 i32.const $push16=, main.gsf+16 @@ -118,7 +118,7 @@ main: # @main i32.call $push7=, line_hints@FUNCTION, $pop6, $pop16, $pop15 i32.const $push8=, 8 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label2 + br_if 0, $pop9 # 0: down to label2 # BB#2: # %lor.lhs.false3 i32.const $push10=, main.fh+24 i32.const $push18=, main.gsf+16 @@ -126,7 +126,7 @@ main: # @main i32.call $push11=, line_hints@FUNCTION, $pop10, $pop18, $pop17 i32.const $push12=, 4 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label2 + br_if 0, $pop13 # 0: down to label2 # BB#3: # %if.end i32.const $push14=, 0 call exit@FUNCTION, $pop14 diff --git a/test/torture-s/20020805-1.c.s b/test/torture-s/20020805-1.c.s index c79c38d98..1fe3b85a8 100644 --- a/test/torture-s/20020805-1.c.s +++ b/test/torture-s/20020805-1.c.s @@ -10,7 +10,7 @@ check: # @check block i32.const $push0=, -1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20020810-1.c.s b/test/torture-s/20020810-1.c.s index 2f2221f4f..129f645ef 100644 --- a/test/torture-s/20020810-1.c.s +++ b/test/torture-s/20020810-1.c.s @@ -15,14 +15,14 @@ f: # @f tee_local $push10=, $1=, $pop0 i32.wrap/i64 $push3=, $pop10 i32.ne $push4=, $pop1, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push8=, 4($0) i64.const $push5=, 32 i64.shr_u $push6=, $1, $pop5 i32.wrap/i64 $push7=, $pop6 i32.ne $push9=, $pop8, $pop7 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then @@ -57,12 +57,12 @@ main: # @main # BB#0: # %entry block i32.const $push0=, 0 - br_if $pop0, 0 # 0: down to label1 + br_if 0, $pop0 # 0: down to label1 # BB#1: # %lor.lhs.false.i i32.const $push1=, 1 i32.const $push3=, 0 i32.eq $push4=, $pop1, $pop3 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#2: # %if.end i32.const $push2=, 0 return $pop2 diff --git a/test/torture-s/20020911-1.c.s b/test/torture-s/20020911-1.c.s index 3969e4df9..f4c208be2 100644 --- a/test/torture-s/20020911-1.c.s +++ b/test/torture-s/20020911-1.c.s @@ -14,7 +14,7 @@ main: # @main tee_local $push11=, $0=, $pop2 i32.const $push4=, -1 i32.gt_s $push5=, $pop11, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $push3=, 65535 i32.and $push0=, $0, $pop3 @@ -22,7 +22,7 @@ main: # @main i32.add $push7=, $pop0, $pop6 i32.const $push8=, 32768 i32.ge_s $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#2: # %if.end i32.const $push10=, 0 return $pop10 diff --git a/test/torture-s/20021010-2.c.s b/test/torture-s/20021010-2.c.s index 0f1cd3aea..125364e82 100644 --- a/test/torture-s/20021010-2.c.s +++ b/test/torture-s/20021010-2.c.s @@ -25,7 +25,7 @@ main: # @main i32.const $push7=, 0 i32.load $push5=, expectedwidth($pop7) i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end26 i32.const $push12=, 0 call exit@FUNCTION, $pop12 diff --git a/test/torture-s/20021011-1.c.s b/test/torture-s/20021011-1.c.s index e0f618a5a..b2fdb2030 100644 --- a/test/torture-s/20021011-1.c.s +++ b/test/torture-s/20021011-1.c.s @@ -20,7 +20,7 @@ main: # @main i32.const $push52=, buf i32.const $push51=, .L.str i32.call $push2=, strcmp@FUNCTION, $pop52, $pop51 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push60=, 0 i32.store8 $discard=, buf+8($pop60):p2align=3, $0 @@ -30,7 +30,7 @@ main: # @main i32.const $push58=, buf i32.const $push57=, .L.str i32.call $push3=, strcmp@FUNCTION, $pop58, $pop57 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %for.cond i32.const $push65=, 0 i32.const $push64=, 0 @@ -43,7 +43,7 @@ main: # @main i32.const $push6=, buf+1 i32.const $push61=, .L.str i32.call $push7=, strcmp@FUNCTION, $pop6, $pop61 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#3: # %for.cond.1 i32.const $push68=, 0 i32.store8 $discard=, buf+10($pop68):p2align=1, $0 @@ -52,7 +52,7 @@ main: # @main i32.const $push8=, buf+2 i32.const $push66=, .L.str i32.call $push9=, strcmp@FUNCTION, $pop8, $pop66 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#4: # %for.cond.2 i32.const $push73=, 0 i32.const $push72=, 0 @@ -65,7 +65,7 @@ main: # @main i32.const $push12=, buf+3 i32.const $push69=, .L.str i32.call $push13=, strcmp@FUNCTION, $pop12, $pop69 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#5: # %for.cond.3 i32.const $push76=, 0 i32.store8 $discard=, buf+12($pop76):p2align=2, $0 @@ -74,7 +74,7 @@ main: # @main i32.const $push14=, buf+4 i32.const $push74=, .L.str i32.call $push15=, strcmp@FUNCTION, $pop14, $pop74 - br_if $pop15, 0 # 0: down to label1 + br_if 0, $pop15 # 0: down to label1 # BB#6: # %for.cond.4 i32.const $push81=, 0 i32.const $push80=, 0 @@ -87,7 +87,7 @@ main: # @main i32.const $push18=, buf+5 i32.const $push77=, .L.str i32.call $push19=, strcmp@FUNCTION, $pop18, $pop77 - br_if $pop19, 0 # 0: down to label1 + br_if 0, $pop19 # 0: down to label1 # BB#7: # %for.cond.5 i32.const $push84=, 0 i32.store8 $discard=, buf+14($pop84):p2align=1, $0 @@ -96,7 +96,7 @@ main: # @main i32.const $push20=, buf+6 i32.const $push82=, .L.str i32.call $push21=, strcmp@FUNCTION, $pop20, $pop82 - br_if $pop21, 0 # 0: down to label1 + br_if 0, $pop21 # 0: down to label1 # BB#8: # %for.cond.6 i32.const $push89=, 0 i32.const $push88=, 0 @@ -109,7 +109,7 @@ main: # @main i32.const $push24=, buf+7 i32.const $push85=, .L.str i32.call $push25=, strcmp@FUNCTION, $pop24, $pop85 - br_if $pop25, 0 # 0: down to label1 + br_if 0, $pop25 # 0: down to label1 # BB#9: # %for.cond.7 i32.const $push92=, 0 i32.store8 $discard=, buf+16($pop92):p2align=3, $0 @@ -118,7 +118,7 @@ main: # @main i32.const $push26=, buf+8 i32.const $push90=, .L.str i32.call $push27=, strcmp@FUNCTION, $pop26, $pop90 - br_if $pop27, 0 # 0: down to label1 + br_if 0, $pop27 # 0: down to label1 # BB#10: # %for.cond.8 i32.const $push97=, 0 i32.const $push96=, 0 @@ -131,7 +131,7 @@ main: # @main i32.const $push30=, buf+9 i32.const $push93=, .L.str i32.call $push31=, strcmp@FUNCTION, $pop30, $pop93 - br_if $pop31, 0 # 0: down to label1 + br_if 0, $pop31 # 0: down to label1 # BB#11: # %for.cond.9 i32.const $push100=, 0 i32.store8 $discard=, buf+18($pop100):p2align=1, $0 @@ -140,7 +140,7 @@ main: # @main i32.const $push32=, buf+10 i32.const $push98=, .L.str i32.call $push33=, strcmp@FUNCTION, $pop32, $pop98 - br_if $pop33, 0 # 0: down to label1 + br_if 0, $pop33 # 0: down to label1 # BB#12: # %for.cond.10 i32.const $push105=, 0 i32.const $push104=, 0 @@ -153,7 +153,7 @@ main: # @main i32.const $push36=, buf+11 i32.const $push101=, .L.str i32.call $push37=, strcmp@FUNCTION, $pop36, $pop101 - br_if $pop37, 0 # 0: down to label1 + br_if 0, $pop37 # 0: down to label1 # BB#13: # %for.cond.11 i32.const $push108=, 0 i32.store8 $discard=, buf+20($pop108):p2align=2, $0 @@ -162,7 +162,7 @@ main: # @main i32.const $push38=, buf+12 i32.const $push106=, .L.str i32.call $push39=, strcmp@FUNCTION, $pop38, $pop106 - br_if $pop39, 0 # 0: down to label1 + br_if 0, $pop39 # 0: down to label1 # BB#14: # %for.cond.12 i32.const $push113=, 0 i32.const $push112=, 0 @@ -175,7 +175,7 @@ main: # @main i32.const $push42=, buf+13 i32.const $push109=, .L.str i32.call $push43=, strcmp@FUNCTION, $pop42, $pop109 - br_if $pop43, 0 # 0: down to label1 + br_if 0, $pop43 # 0: down to label1 # BB#15: # %for.cond.13 i32.const $push116=, 0 i32.store8 $discard=, buf+22($pop116):p2align=1, $0 @@ -184,7 +184,7 @@ main: # @main i32.const $push44=, buf+14 i32.const $push114=, .L.str i32.call $push45=, strcmp@FUNCTION, $pop44, $pop114 - br_if $pop45, 0 # 0: down to label1 + br_if 0, $pop45 # 0: down to label1 # BB#16: # %for.cond.14 i32.const $push120=, 0 i32.const $push119=, 0 @@ -197,7 +197,7 @@ main: # @main i32.const $push49=, buf+15 i32.const $push48=, .L.str i32.call $push50=, strcmp@FUNCTION, $pop49, $pop48 - br_if $pop50, 0 # 0: down to label1 + br_if 0, $pop50 # 0: down to label1 # BB#17: # %for.cond.15 i32.const $push121=, 0 return $pop121 diff --git a/test/torture-s/20021015-1.c.s b/test/torture-s/20021015-1.c.s index 767d0339a..e84458fe9 100644 --- a/test/torture-s/20021015-1.c.s +++ b/test/torture-s/20021015-1.c.s @@ -11,7 +11,7 @@ g: # @g i32.load $push0=, 0($4) i32.const $push1=, g_list i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 i32.const $push4=, 0 @@ -37,7 +37,7 @@ main: # @main i32.load8_u $push0=, g_list($pop1) i32.const $push5=, 0 i32.eq $push6=, $pop0, $pop5 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#1: # %g.exit i32.const $push3=, 0 i32.const $push2=, 0 diff --git a/test/torture-s/20021024-1.c.s b/test/torture-s/20021024-1.c.s index ec4df343b..989382aa8 100644 --- a/test/torture-s/20021024-1.c.s +++ b/test/torture-s/20021024-1.c.s @@ -47,7 +47,7 @@ bar: # @bar i64.store $discard=, 0($3), $pop17 i32.const $push20=, 0 i32.eq $push21=, $2, $pop20 - br_if $pop21, 0 # 0: up to label0 + br_if 0, $pop21 # 0: up to label0 # BB#2: # %if.end end_loop # label1: i32.const $push11=, 3 diff --git a/test/torture-s/20021111-1.c.s b/test/torture-s/20021111-1.c.s index 437937ec5..95e3e8d2d 100644 --- a/test/torture-s/20021111-1.c.s +++ b/test/torture-s/20021111-1.c.s @@ -11,11 +11,11 @@ aim_callhandler: # @aim_callhandler block i32.const $push11=, 0 i32.eq $push12=, $1, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#1: # %entry i32.const $push1=, 65535 i32.eq $push2=, $3, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#2: # %if.end3 block i32.const $push8=, 0 @@ -23,7 +23,7 @@ aim_callhandler: # @aim_callhandler tee_local $push7=, $1=, $pop0 i32.const $push6=, 1 i32.ge_s $push3=, $pop7, $pop6 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#3: # %if.end7 i32.const $push10=, 0 i32.const $push9=, 1 @@ -56,7 +56,7 @@ main: # @main tee_local $push4=, $0=, $pop0 i32.const $push3=, 1 i32.lt_s $push1=, $pop4, $pop3 - br_if $pop1, 0 # 0: down to label2 + br_if 0, $pop1 # 0: down to label2 # BB#1: # %if.then6.i call abort@FUNCTION unreachable diff --git a/test/torture-s/20021118-2.c.s b/test/torture-s/20021118-2.c.s index 8ced42af6..5626be384 100644 --- a/test/torture-s/20021118-2.c.s +++ b/test/torture-s/20021118-2.c.s @@ -62,7 +62,7 @@ f1: # @f1 block f64.const $push0=, 0x1.8p1 f64.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB2_2: # %if.then @@ -83,11 +83,11 @@ f2: # @f2 block f32.const $push0=, 0x1.4p1 f32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry f32.const $push2=, 0x1.cp1 f32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %if.end return .LBB3_3: # %if.then @@ -108,7 +108,7 @@ f3: # @f3 block f32.const $push0=, 0x1.8p2 f32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label2 + br_if 0, $pop1 # 0: down to label2 # BB#1: # %if.end return .LBB4_2: # %if.then diff --git a/test/torture-s/20021118-3.c.s b/test/torture-s/20021118-3.c.s index 99f26f860..c72c98718 100644 --- a/test/torture-s/20021118-3.c.s +++ b/test/torture-s/20021118-3.c.s @@ -11,13 +11,13 @@ foo: # @foo block i32.const $push1=, -2 i32.eq $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry i32.const $push3=, -100 i32.sub $push0=, $pop3, $0 i32.const $push5=, 0 i32.ge_s $push4=, $pop0, $pop5 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#2: # %if.end i32.const $push6=, 0 return $pop6 diff --git a/test/torture-s/20021120-1.c.s b/test/torture-s/20021120-1.c.s index 300246ca4..9bad80c7d 100644 --- a/test/torture-s/20021120-1.c.s +++ b/test/torture-s/20021120-1.c.s @@ -75,7 +75,7 @@ foo: # @foo block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -497,7 +497,7 @@ foo: # @foo i32.add $0=, $0, $pop66 i32.const $push99=, 0 f32.store $discard=, gf+124($pop99), $32 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 .LBB0_2: # %for.end end_loop # label2: end_block # label0: @@ -598,7 +598,7 @@ main: # @main i32.add $2=, $2, $pop11 i32.const $push10=, 32 i32.ne $push1=, $1, $pop10 - br_if $pop1, 0 # 0: up to label3 + br_if 0, $pop1 # 0: up to label3 # BB#2: # %for.end end_loop # label4: i32.const $push15=, 1 @@ -613,13 +613,13 @@ main: # @main f64.load $push2=, 0($2) f64.convert_s/i32 $push3=, $1 f64.ne $push4=, $pop2, $pop3 - br_if $pop4, 2 # 2: down to label5 + br_if 2, $pop4 # 2: down to label5 # BB#4: # %lor.lhs.false # in Loop: Header=BB1_3 Depth=1 f32.load $push5=, gf($1) f32.convert_s/i32 $push6=, $3 f32.ne $push7=, $pop5, $pop6 - br_if $pop7, 2 # 2: down to label5 + br_if 2, $pop7 # 2: down to label5 # BB#5: # %for.cond3 # in Loop: Header=BB1_3 Depth=1 i32.const $push19=, 1 @@ -630,7 +630,7 @@ main: # @main i32.add $1=, $1, $pop17 i32.const $push16=, 31 i32.le_s $push8=, $3, $pop16 - br_if $pop8, 0 # 0: up to label6 + br_if 0, $pop8 # 0: up to label6 # BB#6: # %for.end17 end_loop # label7: i32.const $push9=, 0 diff --git a/test/torture-s/20021204-1.c.s b/test/torture-s/20021204-1.c.s index e1069cdc9..5a531aa5d 100644 --- a/test/torture-s/20021204-1.c.s +++ b/test/torture-s/20021204-1.c.s @@ -10,7 +10,7 @@ foo: # @foo block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20021219-1.c.s b/test/torture-s/20021219-1.c.s index 2ea7bd237..64c9cd10e 100644 --- a/test/torture-s/20021219-1.c.s +++ b/test/torture-s/20021219-1.c.s @@ -57,12 +57,12 @@ main: # @main tee_local $push16=, $1=, $pop9 i32.const $push15=, 32 i32.eq $push10=, $pop16, $pop15 - br_if $pop10, 0 # 0: down to label2 + br_if 0, $pop10 # 0: down to label2 # BB#2: # %while.cond # in Loop: Header=BB1_1 Depth=1 i32.const $push18=, 13 i32.eq $push11=, $1, $pop18 - br_if $pop11, 0 # 0: down to label2 + br_if 0, $pop11 # 0: down to label2 # BB#3: # %while.end i32.const $push12=, 0 i32.const $4=, 16 diff --git a/test/torture-s/20030105-1.c.s b/test/torture-s/20030105-1.c.s index b6009a286..ebc5e64fa 100644 --- a/test/torture-s/20030105-1.c.s +++ b/test/torture-s/20030105-1.c.s @@ -24,7 +24,7 @@ main: # @main i32.call $push0=, foo@FUNCTION i32.const $push1=, 28 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 call exit@FUNCTION, $pop3 diff --git a/test/torture-s/20030109-1.c.s b/test/torture-s/20030109-1.c.s index d9f2165a1..493f4cca6 100644 --- a/test/torture-s/20030109-1.c.s +++ b/test/torture-s/20030109-1.c.s @@ -12,7 +12,7 @@ main: # @main i32.load $push0=, x+4($pop3) i32.const $push1=, 40 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20030128-1.c.s b/test/torture-s/20030128-1.c.s index 1d2db96ee..50cdaf7ea 100644 --- a/test/torture-s/20030128-1.c.s +++ b/test/torture-s/20030128-1.c.s @@ -19,7 +19,7 @@ main: # @main i32.and $push5=, $pop3, $pop4 i32.const $push6=, 246 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push11=, 0 call exit@FUNCTION, $pop11 diff --git a/test/torture-s/20030221-1.c.s b/test/torture-s/20030221-1.c.s index 125a2bd6d..e9e3016a7 100644 --- a/test/torture-s/20030221-1.c.s +++ b/test/torture-s/20030221-1.c.s @@ -29,7 +29,7 @@ main: # @main i32.and $push7=, $pop5, $pop6 i32.const $push8=, 10 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end i32.const $push12=, 0 i32.const $2=, 16 diff --git a/test/torture-s/20030222-1.c.s b/test/torture-s/20030222-1.c.s index 1591650b1..b7168a48b 100644 --- a/test/torture-s/20030222-1.c.s +++ b/test/torture-s/20030222-1.c.s @@ -38,7 +38,7 @@ main: # @main block i32.load $push0=, 12($4) i32.ne $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 call exit@FUNCTION, $pop2 diff --git a/test/torture-s/20030313-1.c.s b/test/torture-s/20030313-1.c.s index 38c43d6af..7a5885de4 100644 --- a/test/torture-s/20030313-1.c.s +++ b/test/torture-s/20030313-1.c.s @@ -10,73 +10,73 @@ foo: # @foo block i32.const $push0=, 12 i32.ne $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end block i32.load $push2=, 0($0) i32.const $push3=, 1 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#2: # %lor.lhs.false i32.load $push5=, 4($0) i32.const $push6=, 11 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#3: # %if.end5 block i32.load $push8=, 8($0) i32.const $push9=, 2 i32.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label2 + br_if 0, $pop10 # 0: down to label2 # BB#4: # %lor.lhs.false8 i32.load $push11=, 12($0) i32.const $push12=, 12 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label2 + br_if 0, $pop13 # 0: down to label2 # BB#5: # %if.end12 block i32.load $push14=, 16($0) i32.const $push15=, 3 i32.ne $push16=, $pop14, $pop15 - br_if $pop16, 0 # 0: down to label3 + br_if 0, $pop16 # 0: down to label3 # BB#6: # %lor.lhs.false15 i32.load $push17=, 20($0) i32.const $push18=, 13 i32.ne $push19=, $pop17, $pop18 - br_if $pop19, 0 # 0: down to label3 + br_if 0, $pop19 # 0: down to label3 # BB#7: # %if.end19 block i32.load $push20=, 24($0) i32.const $push21=, 4 i32.ne $push22=, $pop20, $pop21 - br_if $pop22, 0 # 0: down to label4 + br_if 0, $pop22 # 0: down to label4 # BB#8: # %lor.lhs.false22 i32.load $push23=, 28($0) i32.const $push24=, 14 i32.ne $push25=, $pop23, $pop24 - br_if $pop25, 0 # 0: down to label4 + br_if 0, $pop25 # 0: down to label4 # BB#9: # %if.end26 block i32.load $push26=, 32($0) i32.const $push27=, 5 i32.ne $push28=, $pop26, $pop27 - br_if $pop28, 0 # 0: down to label5 + br_if 0, $pop28 # 0: down to label5 # BB#10: # %lor.lhs.false29 i32.load $push29=, 36($0) i32.const $push30=, 15 i32.ne $push31=, $pop29, $pop30 - br_if $pop31, 0 # 0: down to label5 + br_if 0, $pop31 # 0: down to label5 # BB#11: # %if.end33 block i32.load $push32=, 40($0) i32.const $push33=, 6 i32.ne $push34=, $pop32, $pop33 - br_if $pop34, 0 # 0: down to label6 + br_if 0, $pop34 # 0: down to label6 # BB#12: # %lor.lhs.false36 i32.load $push35=, 44($0) i32.const $push36=, 16 i32.ne $push37=, $pop35, $pop36 - br_if $pop37, 0 # 0: down to label6 + br_if 0, $pop37 # 0: down to label6 # BB#13: # %if.end40 return .LBB0_14: # %if.then39 @@ -123,28 +123,28 @@ main: # @main i32.load $push2=, x($pop13) i32.const $push3=, 13 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label7 + br_if 0, $pop4 # 0: down to label7 # BB#1: # %lor.lhs.false22.i block i32.const $push14=, 0 i32.load $push5=, x+4($pop14) i32.const $push6=, 14 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label8 + br_if 0, $pop7 # 0: down to label8 # BB#2: # %lor.lhs.false29.i block i32.const $push15=, 0 i32.load $push0=, x+8($pop15) i32.const $push8=, 15 i32.ne $push9=, $pop0, $pop8 - br_if $pop9, 0 # 0: down to label9 + br_if 0, $pop9 # 0: down to label9 # BB#3: # %lor.lhs.false36.i block i32.const $push16=, 0 i32.load $push1=, x+12($pop16) i32.const $push10=, 16 i32.ne $push11=, $pop1, $pop10 - br_if $pop11, 0 # 0: down to label10 + br_if 0, $pop11 # 0: down to label10 # BB#4: # %foo.exit i32.const $push12=, 0 call exit@FUNCTION, $pop12 diff --git a/test/torture-s/20030606-1.c.s b/test/torture-s/20030606-1.c.s index c9b34f68f..cb32de28a 100644 --- a/test/torture-s/20030606-1.c.s +++ b/test/torture-s/20030606-1.c.s @@ -16,7 +16,7 @@ foo: # @foo block i32.const $push5=, 0 i32.eq $push6=, $1, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.then i32.const $push4=, 4 i32.add $push2=, $0, $pop4 diff --git a/test/torture-s/20030714-1.c.s b/test/torture-s/20030714-1.c.s index 95e84aa4d..401f14a29 100644 --- a/test/torture-s/20030714-1.c.s +++ b/test/torture-s/20030714-1.c.s @@ -16,14 +16,14 @@ RenderBox_setStyle: # @RenderBox_setStyle i32.load8_u $push3=, 0($pop2):p2align=1 i32.const $push4=, 4 i32.and $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#1: # %sw.default block i32.const $push34=, 16 i32.and $push10=, $2, $pop34 i32.const $push36=, 0 i32.eq $push37=, $pop10, $pop36 - br_if $pop37, 0 # 0: down to label2 + br_if 0, $pop37 # 0: down to label2 # BB#2: # %if.then i32.const $push11=, 26 i32.add $push12=, $0, $pop11 @@ -41,13 +41,13 @@ RenderBox_setStyle: # @RenderBox_setStyle block i32.load $push19=, 28($0) i32.call_indirect $push20=, $pop19, $0 - br_if $pop20, 0 # 0: down to label3 + br_if 0, $pop20 # 0: down to label3 # BB#4: # %if.end i32.const $push18=, 1572864 i32.and $push13=, $2, $pop18 i32.const $push38=, 0 i32.eq $push39=, $pop13, $pop38 - br_if $pop39, 0 # 0: down to label3 + br_if 0, $pop39 # 0: down to label3 # BB#5: # %if.then39 i32.const $push21=, 26 i32.add $0=, $0, $pop21 @@ -63,7 +63,7 @@ RenderBox_setStyle: # @RenderBox_setStyle i32.and $push27=, $pop25, $pop26 i32.const $push28=, 131072 i32.ne $push29=, $pop27, $pop28 - br_if $pop29, 1 # 1: down to label0 + br_if 1, $pop29 # 1: down to label0 # BB#7: # %if.then55 i32.const $push30=, 26 i32.add $0=, $0, $pop30 diff --git a/test/torture-s/20030715-1.c.s b/test/torture-s/20030715-1.c.s index 51fc103b0..bcacb5c31 100644 --- a/test/torture-s/20030715-1.c.s +++ b/test/torture-s/20030715-1.c.s @@ -30,13 +30,13 @@ server_type: # @server_type i32.call $push1=, strcmp@FUNCTION, $2, $pop0 i32.const $push5=, 0 i32.eq $push6=, $pop1, $pop5 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#1: # %if.else i32.const $4=, .L.str.2 i32.const $3=, 1 i32.const $push2=, .L.str.1 i32.call $push3=, strcmp@FUNCTION, $2, $pop2 - br_if $pop3, 1 # 1: down to label0 + br_if 1, $pop3 # 1: down to label0 .LBB1_2: # %if.end9 end_block # label1: i32.const $push4=, 0 diff --git a/test/torture-s/20030717-1.c.s b/test/torture-s/20030717-1.c.s index d928dcfe9..ab90e3be8 100644 --- a/test/torture-s/20030717-1.c.s +++ b/test/torture-s/20030717-1.c.s @@ -32,7 +32,7 @@ bar: # @bar block i32.const $push28=, 0 i32.gt_s $push7=, $1, $pop28 - br_if $pop7, 0 # 0: down to label2 + br_if 0, $pop7 # 0: down to label2 # BB#2: # %if.then # in Loop: Header=BB0_1 Depth=1 i32.const $push29=, 20 @@ -56,7 +56,7 @@ bar: # @bar i32.lt_u $push15=, $pop14, $3 i32.select $5=, $1, $5, $pop15 i32.ne $push16=, $1, $6 - br_if $pop16, 0 # 0: up to label0 + br_if 0, $pop16 # 0: up to label0 # BB#4: # %do.end end_loop # label1: i32.const $push20=, 20 diff --git a/test/torture-s/20030821-1.c.s b/test/torture-s/20030821-1.c.s index c81256364..2aa2e493f 100644 --- a/test/torture-s/20030821-1.c.s +++ b/test/torture-s/20030821-1.c.s @@ -13,7 +13,7 @@ foo: # @foo i32.and $push1=, $0, $pop0 i32.const $push2=, -2147418114 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20030903-1.c.s b/test/torture-s/20030903-1.c.s index fc6b15953..c263174a1 100644 --- a/test/torture-s/20030903-1.c.s +++ b/test/torture-s/20030903-1.c.s @@ -16,7 +16,7 @@ main: # @main tee_local $push5=, $0=, $pop0 i32.const $push3=, 3 i32.le_u $push4=, $pop5, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %sw.epilog i32.const $push7=, 0 return $pop7 diff --git a/test/torture-s/20030909-1.c.s b/test/torture-s/20030909-1.c.s index 5d2a4ff17..94da7f66b 100644 --- a/test/torture-s/20030909-1.c.s +++ b/test/torture-s/20030909-1.c.s @@ -9,7 +9,7 @@ test: # @test # BB#0: # %entry block i32.eq $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20030914-2.c.s b/test/torture-s/20030914-2.c.s index 72f77d20f..07e26717c 100644 --- a/test/torture-s/20030914-2.c.s +++ b/test/torture-s/20030914-2.c.s @@ -93,7 +93,7 @@ main: # @main i32.call $push26=, f@FUNCTION, $10, $pop25 i32.const $push28=, 4660 i32.ne $push27=, $pop26, $pop28 - br_if $pop27, 0 # 0: down to label0 + br_if 0, $pop27 # 0: down to label0 # BB#1: # %if.end i32.const $push38=, 0 call exit@FUNCTION, $pop38 diff --git a/test/torture-s/20031010-1.c.s b/test/torture-s/20031010-1.c.s index ddab5d76e..cddefe6b4 100644 --- a/test/torture-s/20031010-1.c.s +++ b/test/torture-s/20031010-1.c.s @@ -11,13 +11,13 @@ foo: # @foo block i32.const $push2=, 0 i32.eq $push3=, $2, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.then i32.sub $2=, $0, $1 block i32.const $push4=, 0 i32.eq $push5=, $3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.then4 i32.select $push1=, $1, $0, $4 i32.select $push0=, $0, $1, $4 @@ -49,7 +49,7 @@ main: # @main i32.call $push3=, foo@FUNCTION, $pop2, $pop1, $pop0, $pop6, $pop5 i32.const $push7=, 0 i32.eq $push8=, $pop3, $pop7 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20031012-1.c.s b/test/torture-s/20031012-1.c.s index 3fafbc542..2f45d6989 100644 --- a/test/torture-s/20031012-1.c.s +++ b/test/torture-s/20031012-1.c.s @@ -24,7 +24,7 @@ main: # @main i32.call $push3=, strlen@FUNCTION, $6 i32.const $push5=, 13371 i32.ne $push4=, $pop3, $pop5 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %foo.exit i32.const $5=, 15008 i32.add $6=, $6, $5 diff --git a/test/torture-s/20031020-1.c.s b/test/torture-s/20031020-1.c.s index 67d1da6b0..0d0dbdb2e 100644 --- a/test/torture-s/20031020-1.c.s +++ b/test/torture-s/20031020-1.c.s @@ -10,7 +10,7 @@ foo: # @foo block i32.const $push0=, 1024 i32.ge_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20031201-1.c.s b/test/torture-s/20031201-1.c.s index 71a699024..983667249 100644 --- a/test/torture-s/20031201-1.c.s +++ b/test/torture-s/20031201-1.c.s @@ -40,17 +40,17 @@ f0: # @f0 i32.add $push3=, $pop8, $pop2 i32.store $discard=, f0.washere($pop10), $pop3 block - br_if $1, 0 # 0: down to label0 + br_if 0, $1 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load16_u $push4=, 0($0):p2align=2 i32.const $push11=, 32 i32.ne $push5=, $pop4, $pop11 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %lor.lhs.false1 i32.load16_u $push6=, 4($0):p2align=2 i32.const $push12=, 32 i32.ne $push7=, $pop6, $pop12 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#3: # %if.end return .LBB1_4: # %if.then @@ -75,12 +75,12 @@ test: # @test i32.load16_u $push2=, 0($pop8):p2align=2 i32.const $push7=, 8 i32.ne $push3=, $pop2, $pop7 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %lor.lhs.false i32.load16_u $push4=, 4($0):p2align=2 i32.const $push9=, 8 i32.ne $push5=, $pop4, $pop9 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/20031204-1.c.s b/test/torture-s/20031204-1.c.s index 43e6a68d4..7de696d95 100644 --- a/test/torture-s/20031204-1.c.s +++ b/test/torture-s/20031204-1.c.s @@ -46,20 +46,20 @@ root_nfs_parse_addr: # @root_nfs_parse_addr i32.and $push3=, $pop2, $pop21 i32.const $push20=, 10 i32.lt_u $push4=, $pop3, $pop20 - br_if $pop4, 0 # 0: up to label2 + br_if 0, $pop4 # 0: up to label2 # BB#3: # %while.end # in Loop: Header=BB1_1 Depth=1 end_loop # label3: copy_local $4=, $1 i32.eq $push5=, $6, $1 - br_if $pop5, 1 # 1: down to label1 + br_if 1, $pop5 # 1: down to label1 # BB#4: # %lor.lhs.false # in Loop: Header=BB1_1 Depth=1 copy_local $4=, $6 i32.sub $push6=, $6, $1 i32.const $push26=, 3 i32.gt_s $push7=, $pop6, $pop26 - br_if $pop7, 1 # 1: down to label1 + br_if 1, $pop7 # 1: down to label1 # BB#5: # %if.end # in Loop: Header=BB1_1 Depth=1 i32.const $push30=, 3 @@ -74,25 +74,25 @@ root_nfs_parse_addr: # @root_nfs_parse_addr copy_local $4=, $6 i32.const $push27=, 4 i32.lt_s $push12=, $3, $pop27 - br_if $pop12, 0 # 0: up to label0 + br_if 0, $pop12 # 0: up to label0 .LBB1_6: # %while.end25 end_loop # label1: i32.const $6=, -1 block i32.const $push13=, 4 i32.ne $push14=, $3, $pop13 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#7: # %land.lhs.true block i32.load8_u $push15=, 0($4) tee_local $push31=, $2=, $pop15 i32.const $push32=, 0 i32.eq $push33=, $pop31, $pop32 - br_if $pop33, 0 # 0: down to label5 + br_if 0, $pop33 # 0: down to label5 # BB#8: # %land.lhs.true i32.const $push16=, 58 i32.ne $push17=, $2, $pop16 - br_if $pop17, 1 # 1: down to label4 + br_if 1, $pop17 # 1: down to label4 # BB#9: # %if.then39 i32.const $push18=, 1 i32.add $6=, $4, $pop18 @@ -141,20 +141,20 @@ main: # @main i32.and $push3=, $pop2, $pop23 i32.const $push22=, 10 i32.lt_u $push4=, $pop3, $pop22 - br_if $pop4, 0 # 0: up to label8 + br_if 0, $pop4 # 0: up to label8 # BB#3: # %while.end.i # in Loop: Header=BB2_1 Depth=1 end_loop # label9: copy_local $3=, $0 i32.eq $push5=, $5, $0 - br_if $pop5, 1 # 1: down to label7 + br_if 1, $pop5 # 1: down to label7 # BB#4: # %lor.lhs.false.i # in Loop: Header=BB2_1 Depth=1 copy_local $3=, $5 i32.sub $push6=, $5, $0 i32.const $push28=, 3 i32.gt_s $push7=, $pop6, $pop28 - br_if $pop7, 1 # 1: down to label7 + br_if 1, $pop7 # 1: down to label7 # BB#5: # %if.end.i # in Loop: Header=BB2_1 Depth=1 i32.const $push32=, 3 @@ -169,24 +169,24 @@ main: # @main copy_local $3=, $5 i32.const $push29=, 4 i32.lt_s $push12=, $2, $pop29 - br_if $pop12, 0 # 0: up to label6 + br_if 0, $pop12 # 0: up to label6 .LBB2_6: # %while.end25.i end_loop # label7: block i32.const $push13=, 4 i32.ne $push14=, $2, $pop13 - br_if $pop14, 0 # 0: down to label10 + br_if 0, $pop14 # 0: down to label10 # BB#7: # %land.lhs.true.i block i32.load8_u $push15=, 0($3) tee_local $push33=, $5=, $pop15 i32.const $push34=, 0 i32.eq $push35=, $pop33, $pop34 - br_if $pop35, 0 # 0: down to label11 + br_if 0, $pop35 # 0: down to label11 # BB#8: # %land.lhs.true.i i32.const $push16=, 58 i32.ne $push17=, $5, $pop16 - br_if $pop17, 1 # 1: down to label10 + br_if 1, $pop17 # 1: down to label10 # BB#9: # %if.then39.i i32.const $push18=, 1 i32.add $5=, $3, $pop18 diff --git a/test/torture-s/20031211-2.c.s b/test/torture-s/20031211-2.c.s index b863b0c9c..258b6c332 100644 --- a/test/torture-s/20031211-2.c.s +++ b/test/torture-s/20031211-2.c.s @@ -25,7 +25,7 @@ foo: # @foo block i32.const $push0=, 3 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return $0 .LBB1_2: # %if.then diff --git a/test/torture-s/20031216-1.c.s b/test/torture-s/20031216-1.c.s index 1a16090e4..96e94f1dc 100644 --- a/test/torture-s/20031216-1.c.s +++ b/test/torture-s/20031216-1.c.s @@ -10,7 +10,7 @@ DisplayNumber: # @DisplayNumber block i32.const $push0=, 154 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20040218-1.c.s b/test/torture-s/20040218-1.c.s index fef655638..a7811eadc 100644 --- a/test/torture-s/20040218-1.c.s +++ b/test/torture-s/20040218-1.c.s @@ -76,14 +76,14 @@ main: # @main i32.call $push2=, xb@FUNCTION, $2 i32.const $push3=, 16255 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $3=, 8 i32.add $3=, $5, $3 i32.call $push5=, xw@FUNCTION, $3 i32.const $push6=, 81535 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#2: # %lor.lhs.false4 i32.const $4=, 4 i32.add $4=, $5, $4 @@ -92,7 +92,7 @@ main: # @main i32.and $push10=, $pop8, $pop9 i32.const $push11=, 16255 i32.ne $push12=, $pop10, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#3: # %if.end i32.const $push13=, 0 call exit@FUNCTION, $pop13 diff --git a/test/torture-s/20040223-1.c.s b/test/torture-s/20040223-1.c.s index 6321c8c1f..c8b5e7e82 100644 --- a/test/torture-s/20040223-1.c.s +++ b/test/torture-s/20040223-1.c.s @@ -10,7 +10,7 @@ a: # @a block i32.const $push0=, 1234 i32.ne $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20040309-1.c.s b/test/torture-s/20040309-1.c.s index 9b9784996..d0856543e 100644 --- a/test/torture-s/20040309-1.c.s +++ b/test/torture-s/20040309-1.c.s @@ -17,7 +17,7 @@ foo: # @foo i32.shr_s $push2=, $pop1, $pop8 i32.const $push3=, -1 i32.gt_s $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %cond.true i32.const $push5=, 32768 i32.add $push6=, $0, $pop5 diff --git a/test/torture-s/20040409-1.c.s b/test/torture-s/20040409-1.c.s index 2dbafcc6e..737560605 100644 --- a/test/torture-s/20040409-1.c.s +++ b/test/torture-s/20040409-1.c.s @@ -191,7 +191,7 @@ test: # @test i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 i32.ne $push2=, $pop1, $1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end20 return .LBB12_2: # %if.then @@ -213,7 +213,7 @@ testu: # @testu i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 i32.ne $push2=, $pop1, $1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %if.end20 return .LBB13_2: # %if.then diff --git a/test/torture-s/20040409-2.c.s b/test/torture-s/20040409-2.c.s index daf25b4bb..1aa6a042d 100644 --- a/test/torture-s/20040409-2.c.s +++ b/test/torture-s/20040409-2.c.s @@ -371,7 +371,7 @@ test: # @test i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 i32.ne $push2=, $pop1, $1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end44 return .LBB24_2: # %if.then @@ -393,7 +393,7 @@ testu: # @testu i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 i32.ne $push2=, $pop1, $1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %if.end44 return .LBB25_2: # %if.then diff --git a/test/torture-s/20040409-3.c.s b/test/torture-s/20040409-3.c.s index d1a398b74..a34a113bf 100644 --- a/test/torture-s/20040409-3.c.s +++ b/test/torture-s/20040409-3.c.s @@ -191,7 +191,7 @@ test: # @test i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 i32.ne $push2=, $pop1, $1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end20 return .LBB12_2: # %if.then @@ -213,7 +213,7 @@ testu: # @testu i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 i32.ne $push2=, $pop1, $1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %if.end20 return .LBB13_2: # %if.then diff --git a/test/torture-s/20040625-1.c.s b/test/torture-s/20040625-1.c.s index b0ec0dd23..9a7906186 100644 --- a/test/torture-s/20040625-1.c.s +++ b/test/torture-s/20040625-1.c.s @@ -11,7 +11,7 @@ maybe_next: # @maybe_next block i32.const $push0=, 0 i32.eq $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.then i32.load $0=, 0($0):p2align=0 .LBB0_2: # %if.end @@ -42,7 +42,7 @@ main: # @main block i32.call $push1=, maybe_next@FUNCTION, $2, $pop0 i32.ne $push2=, $pop1, $3 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %if.end i32.const $push3=, 0 call exit@FUNCTION, $pop3 diff --git a/test/torture-s/20040703-1.c.s b/test/torture-s/20040703-1.c.s index 6da435164..18a6b98f8 100644 --- a/test/torture-s/20040703-1.c.s +++ b/test/torture-s/20040703-1.c.s @@ -11,7 +11,7 @@ num_lshift: # @num_lshift block block i32.ge_u $push5=, $3, $2 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#1: # %if.else i32.load $4=, 0($1) i32.load $5=, 4($1) @@ -21,7 +21,7 @@ num_lshift: # @num_lshift block i32.const $push14=, 32 i32.lt_u $push15=, $3, $pop14 - br_if $pop15, 0 # 0: down to label2 + br_if 0, $pop15 # 0: down to label2 # BB#2: # %if.then5 i32.const $push18=, 4 i32.add $push19=, $1, $pop18 @@ -35,7 +35,7 @@ num_lshift: # @num_lshift block i32.const $push106=, 0 i32.eq $push107=, $7, $pop106 - br_if $pop107, 0 # 0: down to label3 + br_if 0, $pop107 # 0: down to label3 # BB#4: # %if.then10 i32.const $push21=, 32 i32.sub $push22=, $pop21, $7 @@ -56,14 +56,14 @@ num_lshift: # @num_lshift block i32.const $push27=, 33 i32.lt_u $push28=, $2, $pop27 - br_if $pop28, 0 # 0: down to label5 + br_if 0, $pop28 # 0: down to label5 # BB#6: # %if.then.i i32.const $push35=, -32 i32.add $push2=, $2, $pop35 tee_local $push97=, $7=, $pop2 i32.const $push36=, 31 i32.gt_u $push37=, $pop97, $pop36 - br_if $pop37, 1 # 1: down to label4 + br_if 1, $pop37 # 1: down to label4 # BB#7: # %if.then2.i i32.const $push38=, 1 i32.shl $push39=, $pop38, $7 @@ -76,7 +76,7 @@ num_lshift: # @num_lshift i32.const $9=, 0 i32.const $push29=, 31 i32.gt_u $push30=, $2, $pop29 - br_if $pop30, 0 # 0: down to label4 + br_if 0, $pop30 # 0: down to label4 # BB#9: # %if.then5.i i32.const $push31=, 1 i32.shl $push32=, $pop31, $2 @@ -93,7 +93,7 @@ num_lshift: # @num_lshift i32.wrap/i64 $push44=, $6 i32.const $push108=, 0 i32.eq $push109=, $pop44, $pop108 - br_if $pop109, 0 # 0: down to label6 + br_if 0, $pop109 # 0: down to label6 # BB#11: # %if.then21 i32.const $push45=, 0 i32.store $discard=, 12($1), $pop45 @@ -105,7 +105,7 @@ num_lshift: # @num_lshift block i32.const $push46=, 32 i32.le_u $push47=, $2, $pop46 - br_if $pop47, 0 # 0: down to label9 + br_if 0, $pop47 # 0: down to label9 # BB#13: # %if.else8.i i32.const $10=, 0 i32.const $push61=, -1 @@ -118,7 +118,7 @@ num_lshift: # @num_lshift i32.select $11=, $pop61, $pop100, $pop60 i32.const $push62=, 63 i32.gt_u $push63=, $2, $pop62 - br_if $pop63, 2 # 2: down to label7 + br_if 2, $pop63 # 2: down to label7 br 1 # 1: down to label8 .LBB0_14: # %if.else3.i end_block # label9: @@ -133,7 +133,7 @@ num_lshift: # @num_lshift i32.select $11=, $pop48, $pop52, $pop51 i32.const $push53=, 31 i32.gt_u $push54=, $2, $pop53 - br_if $pop54, 0 # 0: down to label8 + br_if 0, $pop54 # 0: down to label8 # BB#15: # %if.then5.i64 i32.shl $push55=, $11, $2 i32.or $7=, $pop55, $7 @@ -160,7 +160,7 @@ num_lshift: # @num_lshift tee_local $push101=, $3=, $pop3 i32.const $push110=, 0 i32.eq $push111=, $pop101, $pop110 - br_if $pop111, 0 # 0: down to label10 + br_if 0, $pop111 # 0: down to label10 # BB#18: # %if.then24.i i32.const $push72=, 32 i32.sub $push73=, $pop72, $3 @@ -177,14 +177,14 @@ num_lshift: # @num_lshift block i32.const $push77=, 33 i32.lt_u $push78=, $2, $pop77 - br_if $pop78, 0 # 0: down to label12 + br_if 0, $pop78 # 0: down to label12 # BB#20: # %if.then.i61.i i32.const $push83=, -32 i32.add $push4=, $2, $pop83 tee_local $push104=, $2=, $pop4 i32.const $push84=, 31 i32.gt_u $push85=, $pop104, $pop84 - br_if $pop85, 1 # 1: down to label11 + br_if 1, $pop85 # 1: down to label11 # BB#21: # %if.then2.i.i i32.const $push86=, 1 i32.shl $push87=, $pop86, $2 @@ -197,7 +197,7 @@ num_lshift: # @num_lshift i32.const $8=, 0 i32.const $push112=, 0 i32.eq $push113=, $10, $pop112 - br_if $pop113, 0 # 0: down to label11 + br_if 0, $pop113 # 0: down to label11 # BB#23: # %if.then5.i.i i32.const $push79=, 1 i32.shl $push80=, $pop79, $2 @@ -218,7 +218,7 @@ num_lshift: # @num_lshift i32.load $push6=, 8($1) i32.const $push114=, 0 i32.eq $push115=, $pop6, $pop114 - br_if $pop115, 0 # 0: down to label14 + br_if 0, $pop115 # 0: down to label14 # BB#26: # %if.then.land.end_crit_edge i32.const $2=, 0 br 1 # 1: down to label13 @@ -292,15 +292,15 @@ main: # @main i32.load $push11=, 0($pop10) i32.const $push12=, 196608 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label15 + br_if 0, $pop13 # 0: down to label15 # BB#1: # %if.end block i32.load $push14=, 16($5):p2align=3 - br_if $pop14, 0 # 0: down to label16 + br_if 0, $pop14 # 0: down to label16 # BB#2: # %if.end3 block i32.load $push15=, 28($5) - br_if $pop15, 0 # 0: down to label17 + br_if 0, $pop15 # 0: down to label17 # BB#3: # %if.end6 i32.const $push16=, 0 call exit@FUNCTION, $pop16 diff --git a/test/torture-s/20040709-1.c.s b/test/torture-s/20040709-1.c.s index 7488f05d3..e06aa070d 100644 --- a/test/torture-s/20040709-1.c.s +++ b/test/torture-s/20040709-1.c.s @@ -204,7 +204,7 @@ testA: # @testA i32.const $push54=, 17 i32.shr_u $push32=, $pop31, $pop54 i32.ne $push34=, $pop33, $pop32 - br_if $pop34, 0 # 0: down to label0 + br_if 0, $pop34 # 0: down to label0 # BB#1: # %if.end87 block i32.const $push110=, 0 @@ -240,13 +240,13 @@ testA: # @testA i32.xor $push48=, $pop97, $2 i32.const $push96=, 131071 i32.and $push49=, $pop48, $pop96 - br_if $pop49, 0 # 0: down to label1 + br_if 0, $pop49 # 0: down to label1 # BB#2: # %lor.lhs.false125 i32.add $push52=, $3, $1 i32.const $push50=, 17 i32.shr_u $push51=, $0, $pop50 i32.ne $push53=, $pop52, $pop51 - br_if $pop53, 0 # 0: down to label1 + br_if 0, $pop53 # 0: down to label1 # BB#3: # %if.end131 return .LBB6_4: # %if.then130 @@ -476,7 +476,7 @@ testB: # @testB i32.const $push76=, 17 i32.shr_u $push44=, $pop43, $pop76 i32.ne $push46=, $pop45, $pop44 - br_if $pop46, 0 # 0: down to label2 + br_if 0, $pop46 # 0: down to label2 # BB#1: # %if.end76 block i32.const $push156=, 0 @@ -526,17 +526,17 @@ testB: # @testB tee_local $push137=, $3=, $pop5 i32.const $push68=, 63 i32.and $push69=, $pop137, $pop68 - br_if $pop69, 0 # 0: down to label3 + br_if 0, $pop69 # 0: down to label3 # BB#2: # %lor.lhs.false91 i32.add $push74=, $2, $1 i32.const $push71=, 17 i32.shr_u $push72=, $4, $pop71 i32.ne $push75=, $pop74, $pop72 - br_if $pop75, 0 # 0: down to label3 + br_if 0, $pop75 # 0: down to label3 # BB#3: # %lor.lhs.false91 i32.const $push73=, 131008 i32.and $push70=, $3, $pop73 - br_if $pop70, 0 # 0: down to label3 + br_if 0, $pop70 # 0: down to label3 # BB#4: # %if.end115 return .LBB12_5: # %if.then114 @@ -766,7 +766,7 @@ testC: # @testC i32.const $push76=, 17 i32.shr_u $push45=, $pop44, $pop76 i32.ne $push47=, $pop46, $pop45 - br_if $pop47, 0 # 0: down to label4 + br_if 0, $pop47 # 0: down to label4 # BB#1: # %if.end80 block i32.const $push153=, 0 @@ -813,17 +813,17 @@ testC: # @testC tee_local $push136=, $1=, $pop4 i32.const $push68=, 63 i32.and $push69=, $pop136, $pop68 - br_if $pop69, 0 # 0: down to label5 + br_if 0, $pop69 # 0: down to label5 # BB#2: # %lor.lhs.false96 i32.add $push74=, $2, $0 i32.const $push71=, 17 i32.shr_u $push72=, $4, $pop71 i32.ne $push75=, $pop74, $pop72 - br_if $pop75, 0 # 0: down to label5 + br_if 0, $pop75 # 0: down to label5 # BB#3: # %lor.lhs.false96 i32.const $push73=, 131008 i32.and $push70=, $1, $pop73 - br_if $pop70, 0 # 0: down to label5 + br_if 0, $pop70 # 0: down to label5 # BB#4: # %if.end121 return .LBB18_5: # %if.then120 @@ -1958,7 +1958,7 @@ testG: # @testG i32.const $push90=, 25 i32.shr_u $push66=, $pop65, $pop90 i32.ne $push70=, $pop69, $pop66 - br_if $pop70, 0 # 0: down to label6 + br_if 0, $pop70 # 0: down to label6 # BB#1: # %if.end76 block i32.const $push202=, 0 @@ -1990,7 +1990,7 @@ testG: # @testG i32.xor $push82=, $pop191, $2 i32.const $push190=, 33554431 i32.and $push83=, $pop82, $pop190 - br_if $pop83, 0 # 0: down to label7 + br_if 0, $pop83 # 0: down to label7 # BB#2: # %lor.lhs.false109 i32.add $push86=, $3, $1 i32.const $push87=, 127 @@ -1998,7 +1998,7 @@ testG: # @testG i32.const $push84=, 25 i32.shr_u $push85=, $0, $pop84 i32.ne $push89=, $pop88, $pop85 - br_if $pop89, 0 # 0: down to label7 + br_if 0, $pop89 # 0: down to label7 # BB#3: # %if.end115 return .LBB42_4: # %if.then114 @@ -2306,7 +2306,7 @@ testH: # @testH i32.const $push90=, 23 i32.shr_u $push66=, $pop65, $pop90 i32.ne $push70=, $pop69, $pop66 - br_if $pop70, 0 # 0: down to label8 + br_if 0, $pop70 # 0: down to label8 # BB#1: # %if.end76 block i32.const $push202=, 0 @@ -2338,7 +2338,7 @@ testH: # @testH i32.xor $push82=, $pop191, $2 i32.const $push190=, 8388607 i32.and $push83=, $pop82, $pop190 - br_if $pop83, 0 # 0: down to label9 + br_if 0, $pop83 # 0: down to label9 # BB#2: # %lor.lhs.false109 i32.add $push86=, $3, $1 i32.const $push87=, 511 @@ -2346,7 +2346,7 @@ testH: # @testH i32.const $push84=, 23 i32.shr_u $push85=, $0, $pop84 i32.ne $push89=, $pop88, $pop85 - br_if $pop89, 0 # 0: down to label9 + br_if 0, $pop89 # 0: down to label9 # BB#3: # %if.end115 return .LBB48_4: # %if.then114 @@ -2837,7 +2837,7 @@ testJ: # @testJ i32.xor $push27=, $pop26, $pop25 i32.const $push28=, 127 i32.and $push29=, $pop27, $pop28 - br_if $pop29, 0 # 0: down to label10 + br_if 0, $pop29 # 0: down to label10 # BB#1: # %if.end142 i32.const $push89=, 0 i32.const $push88=, 0 @@ -3249,7 +3249,7 @@ testL: # @testL i32.xor $push38=, $pop37, $pop36 i32.const $push53=, 63 i32.and $push39=, $pop38, $pop53 - br_if $pop39, 0 # 0: down to label11 + br_if 0, $pop39 # 0: down to label11 # BB#1: # %if.end75 i32.const $push119=, 0 i32.const $push118=, 0 @@ -3491,7 +3491,7 @@ testM: # @testM i32.xor $push38=, $pop36, $pop37 i32.const $push52=, 63 i32.and $push39=, $pop38, $pop52 - br_if $pop39, 0 # 0: down to label12 + br_if 0, $pop39 # 0: down to label12 # BB#1: # %if.end79 i32.const $push115=, 0 i32.const $push114=, 0 @@ -3747,13 +3747,13 @@ testN: # @testN i64.and $push56=, $pop129, $pop55 i64.const $push128=, 0 i64.ne $push57=, $pop56, $pop128 - br_if $pop57, 0 # 0: down to label13 + br_if 0, $pop57 # 0: down to label13 # BB#1: # %lor.lhs.false29 i64.const $push61=, 63 i64.and $push62=, $4, $pop61 i64.const $push180=, 0 i64.ne $push63=, $pop62, $pop180 - br_if $pop63, 0 # 0: down to label13 + br_if 0, $pop63 # 0: down to label13 # BB#2: # %lor.lhs.false29 i64.const $push53=, 6 i64.shr_u $push54=, $2, $pop53 @@ -3765,7 +3765,7 @@ testN: # @testN i32.xor $push59=, $pop183, $pop181 i32.const $push60=, 63 i32.and $push58=, $pop59, $pop60 - br_if $pop58, 0 # 0: down to label13 + br_if 0, $pop58 # 0: down to label13 # BB#3: # %lor.lhs.false49 i32.const $push186=, 16 i32.shr_u $push2=, $1, $pop186 @@ -3775,7 +3775,7 @@ testN: # @testN i32.xor $push65=, $pop6, $pop64 i32.const $push184=, 63 i32.and $push66=, $pop65, $pop184 - br_if $pop66, 0 # 0: down to label13 + br_if 0, $pop66 # 0: down to label13 # BB#4: # %lor.lhs.false69 i32.const $push72=, 0 i32.const $push67=, 1103515245 @@ -3816,13 +3816,13 @@ testN: # @testN i64.and $push86=, $pop188, $pop85 i64.const $push187=, 0 i64.ne $push87=, $pop86, $pop187 - br_if $pop87, 0 # 0: down to label14 + br_if 0, $pop87 # 0: down to label14 # BB#5: # %lor.lhs.false80 i64.const $push91=, 63 i64.and $push92=, $2, $pop91 i64.const $push198=, 0 i64.ne $push93=, $pop92, $pop198 - br_if $pop93, 0 # 0: down to label14 + br_if 0, $pop93 # 0: down to label14 # BB#6: # %lor.lhs.false80 i32.const $push200=, 16 i32.shr_u $push8=, $5, $pop200 @@ -3830,7 +3830,7 @@ testN: # @testN i32.xor $push89=, $6, $pop199 i32.const $push90=, 63 i32.and $push88=, $pop89, $pop90 - br_if $pop88, 0 # 0: down to label14 + br_if 0, $pop88 # 0: down to label14 # BB#7: # %lor.lhs.false100 i32.add $push94=, $7, $5 i32.const $push201=, 63 @@ -3838,7 +3838,7 @@ testN: # @testN i32.const $push96=, 15 i32.rem_u $push97=, $pop95, $pop96 i32.ne $push98=, $pop97, $0 - br_if $pop98, 0 # 0: down to label14 + br_if 0, $pop98 # 0: down to label14 # BB#8: # %lor.lhs.false125 i32.const $push107=, 0 i32.const $push99=, 1103515245 @@ -3880,7 +3880,7 @@ testN: # @testN i32.xor $push126=, $pop125, $6 i32.const $push202=, 63 i32.and $push127=, $pop126, $pop202 - br_if $pop127, 0 # 0: down to label15 + br_if 0, $pop127 # 0: down to label15 # BB#9: # %if.end158 return .LBB84_10: # %if.then157 @@ -4186,7 +4186,7 @@ testO: # @testO i32.const $push124=, 2047 i32.and $push72=, $pop125, $pop124 i32.ne $push73=, $1, $pop72 - br_if $pop73, 0 # 0: down to label16 + br_if 0, $pop73 # 0: down to label16 # BB#1: # %entry i32.const $push216=, 16 i32.shr_u $push62=, $2, $pop216 @@ -4198,7 +4198,7 @@ testO: # @testO i32.const $push71=, 4095 i32.and $push5=, $pop70, $pop71 i32.ne $push74=, $pop4, $pop5 - br_if $pop74, 0 # 0: down to label16 + br_if 0, $pop74 # 0: down to label16 # BB#2: # %if.end i32.const $push75=, 1103515245 i32.mul $push76=, $2, $pop75 @@ -4227,7 +4227,7 @@ testO: # @testO i32.const $push217=, 2047 i32.and $push88=, $pop218, $pop217 i32.ne $push89=, $1, $pop88 - br_if $pop89, 0 # 0: down to label17 + br_if 0, $pop89 # 0: down to label17 # BB#3: # %lor.lhs.false87 i32.const $push229=, 16 i32.shr_u $push82=, $2, $pop229 @@ -4243,7 +4243,7 @@ testO: # @testO i32.const $push225=, 15 i32.rem_u $push95=, $pop94, $pop225 i32.ne $push96=, $pop93, $pop95 - br_if $pop96, 0 # 0: down to label17 + br_if 0, $pop96 # 0: down to label17 # BB#4: # %lor.lhs.false124 i32.const $push107=, 0 i32.const $push97=, 1103515245 @@ -4285,7 +4285,7 @@ testO: # @testO i32.const $push230=, 4095 i32.and $push121=, $3, $pop230 i32.ne $push123=, $pop122, $pop121 - br_if $pop123, 0 # 0: down to label18 + br_if 0, $pop123 # 0: down to label18 # BB#5: # %if.end140 return .LBB90_6: # %if.then139 @@ -4591,7 +4591,7 @@ testP: # @testP i32.const $push124=, 2047 i32.and $push72=, $pop125, $pop124 i32.ne $push73=, $1, $pop72 - br_if $pop73, 0 # 0: down to label19 + br_if 0, $pop73 # 0: down to label19 # BB#1: # %entry i32.const $push216=, 16 i32.shr_u $push62=, $2, $pop216 @@ -4603,7 +4603,7 @@ testP: # @testP i32.const $push71=, 4095 i32.and $push5=, $pop70, $pop71 i32.ne $push74=, $pop4, $pop5 - br_if $pop74, 0 # 0: down to label19 + br_if 0, $pop74 # 0: down to label19 # BB#2: # %if.end i32.const $push75=, 1103515245 i32.mul $push76=, $2, $pop75 @@ -4632,7 +4632,7 @@ testP: # @testP i32.const $push217=, 2047 i32.and $push88=, $pop218, $pop217 i32.ne $push89=, $1, $pop88 - br_if $pop89, 0 # 0: down to label20 + br_if 0, $pop89 # 0: down to label20 # BB#3: # %lor.lhs.false83 i32.const $push229=, 16 i32.shr_u $push82=, $2, $pop229 @@ -4648,7 +4648,7 @@ testP: # @testP i32.const $push225=, 15 i32.rem_u $push95=, $pop94, $pop225 i32.ne $push96=, $pop93, $pop95 - br_if $pop96, 0 # 0: down to label20 + br_if 0, $pop96 # 0: down to label20 # BB#4: # %lor.lhs.false118 i32.const $push107=, 0 i32.const $push97=, 1103515245 @@ -4690,7 +4690,7 @@ testP: # @testP i32.const $push230=, 4095 i32.and $push121=, $3, $pop230 i32.ne $push123=, $pop122, $pop121 - br_if $pop123, 0 # 0: down to label21 + br_if 0, $pop123 # 0: down to label21 # BB#5: # %if.end134 return .LBB96_6: # %if.then133 @@ -5564,7 +5564,7 @@ testS: # @testS i32.const $push68=, 1 i32.const $push154=, 0 i32.eq $push155=, $pop68, $pop154 - br_if $pop155, 0 # 0: down to label22 + br_if 0, $pop155 # 0: down to label22 # BB#1: # %if.end134 return .LBB114_2: # %if.then133 @@ -5749,7 +5749,7 @@ testT: # @testT i32.xor $push26=, $pop25, $pop24 i32.const $push41=, 1 i32.and $push27=, $pop26, $pop41 - br_if $pop27, 0 # 0: down to label23 + br_if 0, $pop27 # 0: down to label23 # BB#1: # %if.end94 i32.const $push88=, 0 i32.const $push87=, 0 @@ -5778,7 +5778,7 @@ testT: # @testT i32.const $push79=, 1 i32.const $push89=, 0 i32.eq $push90=, $pop79, $pop89 - br_if $pop90, 0 # 0: down to label24 + br_if 0, $pop90 # 0: down to label24 # BB#2: # %if.end140 return .LBB120_3: # %if.then139 @@ -6098,7 +6098,7 @@ testU: # @testU i32.xor $push74=, $pop134, $3 i32.const $push133=, 1 i32.and $push75=, $pop74, $pop133 - br_if $pop75, 0 # 0: down to label25 + br_if 0, $pop75 # 0: down to label25 # BB#1: # %lor.lhs.false41 i32.const $push229=, 16 i32.shr_u $push2=, $1, $pop229 @@ -6108,7 +6108,7 @@ testU: # @testU i32.xor $push78=, $pop76, $pop77 i32.const $push227=, 1 i32.and $push79=, $pop78, $pop227 - br_if $pop79, 0 # 0: down to label25 + br_if 0, $pop79 # 0: down to label25 # BB#2: # %if.end i32.const $push87=, 0 i32.const $push80=, 1103515245 @@ -6144,7 +6144,7 @@ testU: # @testU i32.xor $push95=, $pop231, $0 i32.const $push230=, 1 i32.and $push96=, $pop95, $pop230 - br_if $pop96, 0 # 0: down to label26 + br_if 0, $pop96 # 0: down to label26 # BB#3: # %lor.lhs.false85 i32.const $push245=, 16 i32.shr_u $push7=, $1, $pop245 @@ -6160,7 +6160,7 @@ testU: # @testU i32.const $push241=, 15 i32.rem_u $push103=, $pop102, $pop241 i32.ne $push104=, $pop100, $pop103 - br_if $pop104, 0 # 0: down to label26 + br_if 0, $pop104 # 0: down to label26 # BB#4: # %lor.lhs.false130 i32.const $push113=, 0 i32.const $push105=, 1103515245 @@ -6201,7 +6201,7 @@ testU: # @testU i32.xor $push130=, $pop129, $3 i32.const $push131=, 1 i32.and $push132=, $pop130, $pop131 - br_if $pop132, 0 # 0: down to label27 + br_if 0, $pop132 # 0: down to label27 # BB#5: # %if.end136 return .LBB126_6: # %if.then135 @@ -6405,7 +6405,7 @@ testV: # @testV i32.xor $push33=, $pop32, $pop31 i32.const $push81=, 1 i32.and $push34=, $pop33, $pop81 - br_if $pop34, 0 # 0: down to label28 + br_if 0, $pop34 # 0: down to label28 # BB#1: # %if.end i32.const $push135=, 0 i32.const $push134=, 1103515245 @@ -6443,7 +6443,7 @@ testV: # @testV i32.xor $push47=, $pop121, $1 i32.const $push120=, 1 i32.and $push48=, $pop47, $pop120 - br_if $pop48, 0 # 0: down to label29 + br_if 0, $pop48 # 0: down to label29 # BB#2: # %lor.lhs.false89 i32.const $push140=, 16 i32.shr_u $push3=, $3, $pop140 @@ -6459,7 +6459,7 @@ testV: # @testV i32.const $push136=, 15 i32.rem_u $push55=, $pop54, $pop136 i32.ne $push56=, $pop52, $pop55 - br_if $pop56, 0 # 0: down to label29 + br_if 0, $pop56 # 0: down to label29 # BB#3: # %lor.lhs.false136 i32.const $push65=, 0 i32.const $push57=, 1103515245 @@ -6501,7 +6501,7 @@ testV: # @testV i32.xor $push79=, $pop78, $2 i32.const $push141=, 1 i32.and $push80=, $pop79, $pop141 - br_if $pop80, 0 # 0: down to label30 + br_if 0, $pop80 # 0: down to label30 # BB#4: # %if.end142 return .LBB132_5: # %if.then141 @@ -6655,7 +6655,7 @@ testW: # @testW i32.store8 $discard=, sW+32($0), $pop2 i32.const $push40=, 1 i32.add $0=, $0, $pop40 - br_if $0, 0 # 0: up to label31 + br_if 0, $0 # 0: up to label31 # BB#2: # %for.end end_loop # label32: i32.const $push3=, 0 @@ -6868,7 +6868,7 @@ testX: # @testX i32.store8 $discard=, sX+32($0), $pop2 i32.const $push40=, 1 i32.add $0=, $0, $pop40 - br_if $0, 0 # 0: up to label33 + br_if 0, $0 # 0: up to label33 # BB#2: # %for.end end_loop # label34: i32.const $push3=, 0 @@ -7081,7 +7081,7 @@ testY: # @testY i32.store8 $discard=, sY+32($0), $pop2 i32.const $push40=, 1 i32.add $0=, $0, $pop40 - br_if $0, 0 # 0: up to label35 + br_if 0, $0 # 0: up to label35 # BB#2: # %for.end end_loop # label36: i32.const $push3=, 0 @@ -7294,7 +7294,7 @@ testZ: # @testZ i32.store8 $discard=, sZ+32($1), $pop7 i32.const $push54=, 1 i32.add $1=, $1, $pop54 - br_if $1, 0 # 0: up to label37 + br_if 0, $1 # 0: up to label37 # BB#2: # %for.end end_loop # label38: i32.const $push77=, 0 @@ -7342,7 +7342,7 @@ testZ: # @testZ i32.const $push58=, 20 i32.shr_u $push23=, $pop22, $pop58 i32.ne $push25=, $pop24, $pop23 - br_if $pop25, 0 # 0: down to label39 + br_if 0, $pop25 # 0: down to label39 # BB#3: # %if.end80 block i32.const $push95=, 0 @@ -7389,17 +7389,17 @@ testZ: # @testZ tee_local $push78=, $1=, $pop4 i32.const $push46=, 1040384 i32.and $push47=, $pop78, $pop46 - br_if $pop47, 0 # 0: down to label40 + br_if 0, $pop47 # 0: down to label40 # BB#4: # %lor.lhs.false98 i32.add $push52=, $4, $0 i32.const $push49=, 20 i32.shr_u $push50=, $3, $pop49 i32.ne $push53=, $pop52, $pop50 - br_if $pop53, 0 # 0: down to label40 + br_if 0, $pop53 # 0: down to label40 # BB#5: # %lor.lhs.false98 i32.const $push51=, 8191 i32.and $push48=, $1, $pop51 - br_if $pop48, 0 # 0: down to label40 + br_if 0, $pop48 # 0: down to label40 # BB#6: # %if.end121 return .LBB156_7: # %if.then120 diff --git a/test/torture-s/20040709-2.c.s b/test/torture-s/20040709-2.c.s index 105b04d9c..b4a3e87b8 100644 --- a/test/torture-s/20040709-2.c.s +++ b/test/torture-s/20040709-2.c.s @@ -2268,7 +2268,7 @@ testJ: # @testJ i32.xor $push27=, $pop26, $pop25 i32.const $push28=, 127 i32.and $push29=, $pop27, $pop28 - br_if $pop29, 0 # 0: down to label0 + br_if 0, $pop29 # 0: down to label0 # BB#1: # %if.end142 i32.const $push89=, 0 i32.const $push88=, 0 @@ -2680,7 +2680,7 @@ testL: # @testL i32.xor $push38=, $pop37, $pop36 i32.const $push53=, 63 i32.and $push39=, $pop38, $pop53 - br_if $pop39, 0 # 0: down to label1 + br_if 0, $pop39 # 0: down to label1 # BB#1: # %if.end75 i32.const $push119=, 0 i32.const $push118=, 0 @@ -2922,7 +2922,7 @@ testM: # @testM i32.xor $push38=, $pop36, $pop37 i32.const $push52=, 63 i32.and $push39=, $pop38, $pop52 - br_if $pop39, 0 # 0: down to label2 + br_if 0, $pop39 # 0: down to label2 # BB#1: # %if.end107 i32.const $push115=, 0 i32.const $push114=, 0 @@ -3178,13 +3178,13 @@ testN: # @testN i64.and $push56=, $pop129, $pop55 i64.const $push128=, 0 i64.ne $push57=, $pop56, $pop128 - br_if $pop57, 0 # 0: down to label3 + br_if 0, $pop57 # 0: down to label3 # BB#1: # %lor.lhs.false29 i64.const $push61=, 63 i64.and $push62=, $4, $pop61 i64.const $push180=, 0 i64.ne $push63=, $pop62, $pop180 - br_if $pop63, 0 # 0: down to label3 + br_if 0, $pop63 # 0: down to label3 # BB#2: # %lor.lhs.false29 i64.const $push53=, 6 i64.shr_u $push54=, $2, $pop53 @@ -3196,7 +3196,7 @@ testN: # @testN i32.xor $push59=, $pop183, $pop181 i32.const $push60=, 63 i32.and $push58=, $pop59, $pop60 - br_if $pop58, 0 # 0: down to label3 + br_if 0, $pop58 # 0: down to label3 # BB#3: # %lor.lhs.false49 i32.const $push186=, 16 i32.shr_u $push2=, $1, $pop186 @@ -3206,7 +3206,7 @@ testN: # @testN i32.xor $push65=, $pop6, $pop64 i32.const $push184=, 63 i32.and $push66=, $pop65, $pop184 - br_if $pop66, 0 # 0: down to label3 + br_if 0, $pop66 # 0: down to label3 # BB#4: # %lor.lhs.false69 i32.const $push72=, 0 i32.const $push67=, 1103515245 @@ -3247,13 +3247,13 @@ testN: # @testN i64.and $push86=, $pop188, $pop85 i64.const $push187=, 0 i64.ne $push87=, $pop86, $pop187 - br_if $pop87, 0 # 0: down to label4 + br_if 0, $pop87 # 0: down to label4 # BB#5: # %lor.lhs.false80 i64.const $push91=, 63 i64.and $push92=, $2, $pop91 i64.const $push198=, 0 i64.ne $push93=, $pop92, $pop198 - br_if $pop93, 0 # 0: down to label4 + br_if 0, $pop93 # 0: down to label4 # BB#6: # %lor.lhs.false80 i32.const $push200=, 16 i32.shr_u $push8=, $5, $pop200 @@ -3261,7 +3261,7 @@ testN: # @testN i32.xor $push89=, $6, $pop199 i32.const $push90=, 63 i32.and $push88=, $pop89, $pop90 - br_if $pop88, 0 # 0: down to label4 + br_if 0, $pop88 # 0: down to label4 # BB#7: # %lor.lhs.false100 i32.add $push94=, $7, $5 i32.const $push201=, 63 @@ -3269,7 +3269,7 @@ testN: # @testN i32.const $push96=, 15 i32.rem_u $push97=, $pop95, $pop96 i32.ne $push98=, $pop97, $0 - br_if $pop98, 0 # 0: down to label4 + br_if 0, $pop98 # 0: down to label4 # BB#8: # %lor.lhs.false125 i32.const $push107=, 0 i32.const $push99=, 1103515245 @@ -3311,7 +3311,7 @@ testN: # @testN i32.xor $push126=, $pop125, $6 i32.const $push202=, 63 i32.and $push127=, $pop126, $pop202 - br_if $pop127, 0 # 0: down to label5 + br_if 0, $pop127 # 0: down to label5 # BB#9: # %if.end158 return .LBB84_10: # %if.then157 @@ -3617,7 +3617,7 @@ testO: # @testO i32.const $push124=, 2047 i32.and $push72=, $pop125, $pop124 i32.ne $push73=, $1, $pop72 - br_if $pop73, 0 # 0: down to label6 + br_if 0, $pop73 # 0: down to label6 # BB#1: # %entry i32.const $push216=, 16 i32.shr_u $push62=, $2, $pop216 @@ -3629,7 +3629,7 @@ testO: # @testO i32.const $push71=, 4095 i32.and $push5=, $pop70, $pop71 i32.ne $push74=, $pop4, $pop5 - br_if $pop74, 0 # 0: down to label6 + br_if 0, $pop74 # 0: down to label6 # BB#2: # %if.end i32.const $push75=, 1103515245 i32.mul $push76=, $2, $pop75 @@ -3658,7 +3658,7 @@ testO: # @testO i32.const $push217=, 2047 i32.and $push88=, $pop218, $pop217 i32.ne $push89=, $1, $pop88 - br_if $pop89, 0 # 0: down to label7 + br_if 0, $pop89 # 0: down to label7 # BB#3: # %lor.lhs.false87 i32.const $push229=, 16 i32.shr_u $push82=, $2, $pop229 @@ -3674,7 +3674,7 @@ testO: # @testO i32.const $push225=, 15 i32.rem_u $push95=, $pop94, $pop225 i32.ne $push96=, $pop93, $pop95 - br_if $pop96, 0 # 0: down to label7 + br_if 0, $pop96 # 0: down to label7 # BB#4: # %lor.lhs.false124 i32.const $push107=, 0 i32.const $push97=, 1103515245 @@ -3716,7 +3716,7 @@ testO: # @testO i32.const $push230=, 4095 i32.and $push121=, $3, $pop230 i32.ne $push123=, $pop122, $pop121 - br_if $pop123, 0 # 0: down to label8 + br_if 0, $pop123 # 0: down to label8 # BB#5: # %if.end140 return .LBB90_6: # %if.then139 @@ -4022,7 +4022,7 @@ testP: # @testP i32.const $push124=, 2047 i32.and $push72=, $pop125, $pop124 i32.ne $push73=, $1, $pop72 - br_if $pop73, 0 # 0: down to label9 + br_if 0, $pop73 # 0: down to label9 # BB#1: # %entry i32.const $push216=, 16 i32.shr_u $push62=, $2, $pop216 @@ -4034,7 +4034,7 @@ testP: # @testP i32.const $push71=, 4095 i32.and $push5=, $pop70, $pop71 i32.ne $push74=, $pop4, $pop5 - br_if $pop74, 0 # 0: down to label9 + br_if 0, $pop74 # 0: down to label9 # BB#2: # %if.end i32.const $push75=, 1103515245 i32.mul $push76=, $2, $pop75 @@ -4063,7 +4063,7 @@ testP: # @testP i32.const $push217=, 2047 i32.and $push88=, $pop218, $pop217 i32.ne $push89=, $1, $pop88 - br_if $pop89, 0 # 0: down to label10 + br_if 0, $pop89 # 0: down to label10 # BB#3: # %lor.lhs.false83 i32.const $push229=, 16 i32.shr_u $push82=, $2, $pop229 @@ -4079,7 +4079,7 @@ testP: # @testP i32.const $push225=, 15 i32.rem_u $push95=, $pop94, $pop225 i32.ne $push96=, $pop93, $pop95 - br_if $pop96, 0 # 0: down to label10 + br_if 0, $pop96 # 0: down to label10 # BB#4: # %lor.lhs.false118 i32.const $push107=, 0 i32.const $push97=, 1103515245 @@ -4121,7 +4121,7 @@ testP: # @testP i32.const $push230=, 4095 i32.and $push121=, $3, $pop230 i32.ne $push123=, $pop122, $pop121 - br_if $pop123, 0 # 0: down to label11 + br_if 0, $pop123 # 0: down to label11 # BB#5: # %if.end134 return .LBB96_6: # %if.then133 @@ -4601,7 +4601,7 @@ testR: # @testR i32.const $push50=, 1 i32.const $push106=, 0 i32.eq $push107=, $pop50, $pop106 - br_if $pop107, 0 # 0: down to label12 + br_if 0, $pop107 # 0: down to label12 # BB#1: # %if.end134 return .LBB108_2: # %if.then133 @@ -4841,7 +4841,7 @@ testS: # @testS i32.const $push50=, 1 i32.const $push106=, 0 i32.eq $push107=, $pop50, $pop106 - br_if $pop107, 0 # 0: down to label13 + br_if 0, $pop107 # 0: down to label13 # BB#1: # %if.end134 return .LBB114_2: # %if.then133 @@ -5026,7 +5026,7 @@ testT: # @testT i32.xor $push26=, $pop25, $pop24 i32.const $push41=, 1 i32.and $push27=, $pop26, $pop41 - br_if $pop27, 0 # 0: down to label14 + br_if 0, $pop27 # 0: down to label14 # BB#1: # %if.end94 i32.const $push88=, 0 i32.const $push87=, 0 @@ -5055,7 +5055,7 @@ testT: # @testT i32.const $push79=, 1 i32.const $push89=, 0 i32.eq $push90=, $pop79, $pop89 - br_if $pop90, 0 # 0: down to label15 + br_if 0, $pop90 # 0: down to label15 # BB#2: # %if.end140 return .LBB120_3: # %if.then139 @@ -5321,7 +5321,7 @@ testU: # @testU i32.xor $push56=, $pop116, $3 i32.const $push115=, 1 i32.and $push57=, $pop56, $pop115 - br_if $pop57, 0 # 0: down to label16 + br_if 0, $pop57 # 0: down to label16 # BB#1: # %lor.lhs.false41 i32.const $push181=, 16 i32.shr_u $push2=, $1, $pop181 @@ -5331,7 +5331,7 @@ testU: # @testU i32.xor $push60=, $pop58, $pop59 i32.const $push179=, 1 i32.and $push61=, $pop60, $pop179 - br_if $pop61, 0 # 0: down to label16 + br_if 0, $pop61 # 0: down to label16 # BB#2: # %if.end i32.const $push69=, 0 i32.const $push62=, 1103515245 @@ -5367,7 +5367,7 @@ testU: # @testU i32.xor $push77=, $pop183, $0 i32.const $push182=, 1 i32.and $push78=, $pop77, $pop182 - br_if $pop78, 0 # 0: down to label17 + br_if 0, $pop78 # 0: down to label17 # BB#3: # %lor.lhs.false85 i32.const $push197=, 16 i32.shr_u $push7=, $1, $pop197 @@ -5383,7 +5383,7 @@ testU: # @testU i32.const $push193=, 15 i32.rem_u $push85=, $pop84, $pop193 i32.ne $push86=, $pop82, $pop85 - br_if $pop86, 0 # 0: down to label17 + br_if 0, $pop86 # 0: down to label17 # BB#4: # %lor.lhs.false130 i32.const $push95=, 0 i32.const $push87=, 1103515245 @@ -5424,7 +5424,7 @@ testU: # @testU i32.xor $push112=, $pop111, $3 i32.const $push113=, 1 i32.and $push114=, $pop112, $pop113 - br_if $pop114, 0 # 0: down to label18 + br_if 0, $pop114 # 0: down to label18 # BB#5: # %if.end136 return .LBB126_6: # %if.then135 @@ -5628,7 +5628,7 @@ testV: # @testV i32.xor $push33=, $pop32, $pop31 i32.const $push81=, 1 i32.and $push34=, $pop33, $pop81 - br_if $pop34, 0 # 0: down to label19 + br_if 0, $pop34 # 0: down to label19 # BB#1: # %if.end i32.const $push135=, 0 i32.const $push134=, 1103515245 @@ -5666,7 +5666,7 @@ testV: # @testV i32.xor $push47=, $pop121, $1 i32.const $push120=, 1 i32.and $push48=, $pop47, $pop120 - br_if $pop48, 0 # 0: down to label20 + br_if 0, $pop48 # 0: down to label20 # BB#2: # %lor.lhs.false89 i32.const $push140=, 16 i32.shr_u $push3=, $3, $pop140 @@ -5682,7 +5682,7 @@ testV: # @testV i32.const $push136=, 15 i32.rem_u $push55=, $pop54, $pop136 i32.ne $push56=, $pop52, $pop55 - br_if $pop56, 0 # 0: down to label20 + br_if 0, $pop56 # 0: down to label20 # BB#3: # %lor.lhs.false136 i32.const $push65=, 0 i32.const $push57=, 1103515245 @@ -5724,7 +5724,7 @@ testV: # @testV i32.xor $push79=, $pop78, $2 i32.const $push141=, 1 i32.and $push80=, $pop79, $pop141 - br_if $pop80, 0 # 0: down to label21 + br_if 0, $pop80 # 0: down to label21 # BB#4: # %if.end142 return .LBB132_5: # %if.then141 @@ -6621,7 +6621,7 @@ testZ: # @testZ i32.const $push66=, 20 i32.shr_u $push35=, $pop34, $pop66 i32.ne $push37=, $pop36, $pop35 - br_if $pop37, 0 # 0: down to label22 + br_if 0, $pop37 # 0: down to label22 # BB#1: # %if.end80 block i32.const $push122=, 0 @@ -6668,17 +6668,17 @@ testZ: # @testZ tee_local $push105=, $0=, $pop4 i32.const $push58=, 1040384 i32.and $push59=, $pop105, $pop58 - br_if $pop59, 0 # 0: down to label23 + br_if 0, $pop59 # 0: down to label23 # BB#2: # %lor.lhs.false98 i32.add $push64=, $1, $4 i32.const $push61=, 20 i32.shr_u $push62=, $2, $pop61 i32.ne $push65=, $pop64, $pop62 - br_if $pop65, 0 # 0: down to label23 + br_if 0, $pop65 # 0: down to label23 # BB#3: # %lor.lhs.false98 i32.const $push63=, 8191 i32.and $push60=, $0, $pop63 - br_if $pop60, 0 # 0: down to label23 + br_if 0, $pop60 # 0: down to label23 # BB#4: # %if.end121 return .LBB156_5: # %if.then120 diff --git a/test/torture-s/20040805-1.c.s b/test/torture-s/20040805-1.c.s index aee9d986c..c787e82dd 100644 --- a/test/torture-s/20040805-1.c.s +++ b/test/torture-s/20040805-1.c.s @@ -11,7 +11,7 @@ main: # @main i32.call $push0=, foo@FUNCTION i32.const $push1=, 102 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 call exit@FUNCTION, $pop3 diff --git a/test/torture-s/20040811-1.c.s b/test/torture-s/20040811-1.c.s index cad55d84c..208e8b6af 100644 --- a/test/torture-s/20040811-1.c.s +++ b/test/torture-s/20040811-1.c.s @@ -38,7 +38,7 @@ main: # @main copy_local $7=, $0 i32.const $push7=, 1000000 i32.ne $push5=, $3, $pop7 - br_if $pop5, 0 # 0: up to label0 + br_if 0, $pop5 # 0: up to label0 # BB#2: # %cleanup3 end_loop # label1: i32.const $push6=, 0 diff --git a/test/torture-s/20040820-1.c.s b/test/torture-s/20040820-1.c.s index 65352b570..f4bd2a2c1 100644 --- a/test/torture-s/20040820-1.c.s +++ b/test/torture-s/20040820-1.c.s @@ -10,7 +10,7 @@ check: # @check block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -38,7 +38,7 @@ test: # @test i32.or $push5=, $pop4, $pop1 i32.const $push7=, 1 i32.ne $push6=, $pop5, $pop7 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#1: # %check.exit return .LBB1_2: # %if.then.i diff --git a/test/torture-s/20040823-1.c.s b/test/torture-s/20040823-1.c.s index 8fea4d31f..b89d430d5 100644 --- a/test/torture-s/20040823-1.c.s +++ b/test/torture-s/20040823-1.c.s @@ -10,7 +10,7 @@ bla: # @bla i32.const $push2=, 0 i32.load $push0=, pwarn($pop2) i32.load $push1=, 0($pop0) - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/20040917-1.c.s b/test/torture-s/20040917-1.c.s index 0ae1ce291..29b8dda5d 100644 --- a/test/torture-s/20040917-1.c.s +++ b/test/torture-s/20040917-1.c.s @@ -30,7 +30,7 @@ main: # @main i32.const $push3=, 0 i32.load $push1=, test_var($pop3) i32.eq $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 return $pop5 diff --git a/test/torture-s/20041011-1.c.s b/test/torture-s/20041011-1.c.s index 62838d929..c5a50ebed 100644 --- a/test/torture-s/20041011-1.c.s +++ b/test/torture-s/20041011-1.c.s @@ -12,7 +12,7 @@ t1: # @t1 block i32.const $push67=, 0 i32.eq $push68=, $0, $pop67 - br_if $pop68, 0 # 0: down to label0 + br_if 0, $pop68 # 0: down to label0 # BB#1: # %while.body.preheader i32.const $push5=, -1 i32.add $push0=, $0, $pop5 @@ -144,7 +144,7 @@ t1: # @t1 i32.store $discard=, gvol+120($pop7):p2align=3, $32 i32.const $push6=, -1 i32.add $0=, $0, $pop6 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 # BB#3: # %while.end.loopexit end_loop # label2: i64.const $push3=, -2048 @@ -169,7 +169,7 @@ t2: # @t2 block i32.const $push67=, 0 i32.eq $push68=, $0, $pop67 - br_if $pop68, 0 # 0: down to label3 + br_if 0, $pop68 # 0: down to label3 # BB#1: # %while.body.preheader i32.const $push4=, -1 i32.add $push0=, $0, $pop4 @@ -299,7 +299,7 @@ t2: # @t2 i32.store $discard=, gvol+120($pop6):p2align=3, $32 i32.const $push5=, -1 i32.add $0=, $0, $pop5 - br_if $0, 0 # 0: up to label4 + br_if 0, $0 # 0: up to label4 # BB#3: # %while.end.loopexit end_loop # label5: i64.const $push1=, -513 @@ -326,7 +326,7 @@ t3: # @t3 block i32.const $push67=, 0 i32.eq $push68=, $0, $pop67 - br_if $pop68, 0 # 0: down to label6 + br_if 0, $pop68 # 0: down to label6 # BB#1: # %while.body.preheader i32.const $push5=, -1 i32.add $push0=, $0, $pop5 @@ -458,7 +458,7 @@ t3: # @t3 i32.store $discard=, gvol+120($pop7):p2align=3, $32 i32.const $push6=, -1 i32.add $0=, $0, $pop6 - br_if $0, 0 # 0: up to label7 + br_if 0, $0 # 0: up to label7 # BB#3: # %while.end.loopexit end_loop # label8: i64.const $push3=, -512 @@ -483,7 +483,7 @@ t4: # @t4 block i32.const $push67=, 0 i32.eq $push68=, $0, $pop67 - br_if $pop68, 0 # 0: down to label9 + br_if 0, $pop68 # 0: down to label9 # BB#1: # %while.body.preheader i32.const $push4=, -1 i32.add $push0=, $0, $pop4 @@ -613,7 +613,7 @@ t4: # @t4 i32.store $discard=, gvol+120($pop6):p2align=3, $32 i32.const $push5=, -1 i32.add $0=, $0, $pop5 - br_if $0, 0 # 0: up to label10 + br_if 0, $0 # 0: up to label10 # BB#3: # %while.end.loopexit end_loop # label11: i64.const $push1=, -511 @@ -640,7 +640,7 @@ t5: # @t5 block i32.const $push65=, 0 i32.eq $push66=, $0, $pop65 - br_if $pop66, 0 # 0: down to label12 + br_if 0, $pop66 # 0: down to label12 # BB#1: # %while.body.preheader i32.const $push3=, -1 i32.add $push0=, $0, $pop3 @@ -770,7 +770,7 @@ t5: # @t5 i32.store $discard=, gvol+120($pop5):p2align=3, $32 i32.const $push4=, -1 i32.add $0=, $0, $pop4 - br_if $0, 0 # 0: up to label13 + br_if 0, $0 # 0: up to label13 # BB#3: # %while.end.loopexit end_loop # label14: i64.const $push1=, -1 @@ -795,7 +795,7 @@ t6: # @t6 block i32.const $push65=, 0 i32.eq $push66=, $0, $pop65 - br_if $pop66, 0 # 0: down to label15 + br_if 0, $pop66 # 0: down to label15 # BB#1: # %while.body.preheader i32.const $push3=, -1 i32.add $push0=, $0, $pop3 @@ -926,7 +926,7 @@ t6: # @t6 i32.store $discard=, gvol+120($pop5):p2align=3, $31 i32.const $push4=, -1 i32.add $0=, $0, $pop4 - br_if $0, 0 # 0: up to label16 + br_if 0, $0 # 0: up to label16 # BB#3: # %while.end.loopexit end_loop # label17: i64.const $push2=, 1 @@ -950,7 +950,7 @@ t7: # @t7 block i32.const $push67=, 0 i32.eq $push68=, $0, $pop67 - br_if $pop68, 0 # 0: down to label18 + br_if 0, $pop68 # 0: down to label18 # BB#1: # %while.body.preheader i32.const $push5=, -1 i32.add $push0=, $0, $pop5 @@ -1083,7 +1083,7 @@ t7: # @t7 i32.store $discard=, gvol+120($pop7):p2align=3, $31 i32.const $push6=, -1 i32.add $0=, $0, $pop6 - br_if $0, 0 # 0: up to label19 + br_if 0, $0 # 0: up to label19 # BB#3: # %while.end.loopexit end_loop # label20: i64.const $push4=, 511 @@ -1107,7 +1107,7 @@ t8: # @t8 block i32.const $push67=, 0 i32.eq $push68=, $0, $pop67 - br_if $pop68, 0 # 0: down to label21 + br_if 0, $pop68 # 0: down to label21 # BB#1: # %while.body.preheader i32.const $push5=, -1 i32.add $push0=, $0, $pop5 @@ -1240,7 +1240,7 @@ t8: # @t8 i32.store $discard=, gvol+120($pop7):p2align=3, $31 i32.const $push6=, -1 i32.add $0=, $0, $pop6 - br_if $0, 0 # 0: up to label22 + br_if 0, $0 # 0: up to label22 # BB#3: # %while.end.loopexit end_loop # label23: i64.const $push4=, 512 @@ -1264,7 +1264,7 @@ t9: # @t9 block i32.const $push67=, 0 i32.eq $push68=, $0, $pop67 - br_if $pop68, 0 # 0: down to label24 + br_if 0, $pop68 # 0: down to label24 # BB#1: # %while.body.preheader i32.const $push5=, -1 i32.add $push0=, $0, $pop5 @@ -1397,7 +1397,7 @@ t9: # @t9 i32.store $discard=, gvol+120($pop7):p2align=3, $31 i32.const $push6=, -1 i32.add $0=, $0, $pop6 - br_if $0, 0 # 0: up to label25 + br_if 0, $0 # 0: up to label25 # BB#3: # %while.end.loopexit end_loop # label26: i64.const $push4=, 513 @@ -1421,7 +1421,7 @@ t10: # @t10 block i32.const $push68=, 0 i32.eq $push69=, $0, $pop68 - br_if $pop69, 0 # 0: down to label27 + br_if 0, $pop69 # 0: down to label27 # BB#1: # %while.body.lr.ph i32.const $push6=, 0 i64.load $push0=, gull($pop6) @@ -1556,7 +1556,7 @@ t10: # @t10 i32.store $discard=, gvol+120($pop8):p2align=3, $32 i32.const $push7=, -1 i32.add $0=, $0, $pop7 - br_if $0, 0 # 0: up to label28 + br_if 0, $0 # 0: up to label28 # BB#3: # %while.end.loopexit end_loop # label29: i64.add $1=, $2, $1 @@ -1579,7 +1579,7 @@ t11: # @t11 block i32.const $push68=, 0 i32.eq $push69=, $0, $pop68 - br_if $pop69, 0 # 0: down to label30 + br_if 0, $pop69 # 0: down to label30 # BB#1: # %while.body.lr.ph i32.const $push6=, 0 i64.load $push0=, gull($pop6) @@ -1714,7 +1714,7 @@ t11: # @t11 i32.store $discard=, gvol+120($pop8):p2align=3, $32 i32.const $push7=, -1 i32.add $0=, $0, $pop7 - br_if $0, 0 # 0: up to label31 + br_if 0, $0 # 0: up to label31 # BB#3: # %while.end.loopexit end_loop # label32: i64.add $1=, $2, $1 @@ -1757,7 +1757,7 @@ main: # @main i64.call $push4=, t1@FUNCTION, $pop101, $pop3 i64.const $push5=, -6145 i64.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label33 + br_if 0, $pop6 # 0: down to label33 # BB#1: # %if.end block i32.const $push102=, 3 @@ -1765,7 +1765,7 @@ main: # @main i64.call $push8=, t1@FUNCTION, $pop102, $pop7 i64.const $push9=, 4294961151 i64.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label34 + br_if 0, $pop10 # 0: down to label34 # BB#2: # %if.end4 block i32.const $push103=, 3 @@ -1773,7 +1773,7 @@ main: # @main i64.call $push12=, t2@FUNCTION, $pop103, $pop11 i64.const $push13=, -1540 i64.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label35 + br_if 0, $pop14 # 0: down to label35 # BB#3: # %if.end8 block i32.const $push104=, 3 @@ -1781,7 +1781,7 @@ main: # @main i64.call $push16=, t2@FUNCTION, $pop104, $pop15 i64.const $push17=, 4294965756 i64.ne $push18=, $pop16, $pop17 - br_if $pop18, 0 # 0: down to label36 + br_if 0, $pop18 # 0: down to label36 # BB#4: # %if.end12 block i32.const $push105=, 3 @@ -1789,7 +1789,7 @@ main: # @main i64.call $push20=, t3@FUNCTION, $pop105, $pop19 i64.const $push21=, -1537 i64.ne $push22=, $pop20, $pop21 - br_if $pop22, 0 # 0: down to label37 + br_if 0, $pop22 # 0: down to label37 # BB#5: # %if.end16 block i32.const $push106=, 3 @@ -1797,7 +1797,7 @@ main: # @main i64.call $push24=, t3@FUNCTION, $pop106, $pop23 i64.const $push25=, 4294965759 i64.ne $push26=, $pop24, $pop25 - br_if $pop26, 0 # 0: down to label38 + br_if 0, $pop26 # 0: down to label38 # BB#6: # %if.end20 block i32.const $push107=, 3 @@ -1805,7 +1805,7 @@ main: # @main i64.call $push28=, t4@FUNCTION, $pop107, $pop27 i64.const $push29=, -1534 i64.ne $push30=, $pop28, $pop29 - br_if $pop30, 0 # 0: down to label39 + br_if 0, $pop30 # 0: down to label39 # BB#7: # %if.end24 block i32.const $push108=, 3 @@ -1813,7 +1813,7 @@ main: # @main i64.call $push32=, t4@FUNCTION, $pop108, $pop31 i64.const $push33=, 4294965762 i64.ne $push34=, $pop32, $pop33 - br_if $pop34, 0 # 0: down to label40 + br_if 0, $pop34 # 0: down to label40 # BB#8: # %if.end28 block i32.const $push109=, 3 @@ -1821,7 +1821,7 @@ main: # @main i64.call $push36=, t5@FUNCTION, $pop109, $pop35 i64.const $push37=, -4 i64.ne $push38=, $pop36, $pop37 - br_if $pop38, 0 # 0: down to label41 + br_if 0, $pop38 # 0: down to label41 # BB#9: # %if.end32 block i32.const $push110=, 3 @@ -1829,7 +1829,7 @@ main: # @main i64.call $push40=, t5@FUNCTION, $pop110, $pop39 i64.const $push41=, 4294967292 i64.ne $push42=, $pop40, $pop41 - br_if $pop42, 0 # 0: down to label42 + br_if 0, $pop42 # 0: down to label42 # BB#10: # %if.end36 block i32.const $push111=, 3 @@ -1837,7 +1837,7 @@ main: # @main i64.call $push44=, t6@FUNCTION, $pop111, $pop43 i64.const $push45=, 2 i64.ne $push46=, $pop44, $pop45 - br_if $pop46, 0 # 0: down to label43 + br_if 0, $pop46 # 0: down to label43 # BB#11: # %if.end40 block i32.const $push112=, 3 @@ -1845,7 +1845,7 @@ main: # @main i64.call $push48=, t6@FUNCTION, $pop112, $pop47 i64.const $push49=, 4294967298 i64.ne $push50=, $pop48, $pop49 - br_if $pop50, 0 # 0: down to label44 + br_if 0, $pop50 # 0: down to label44 # BB#12: # %if.end44 block i32.const $push113=, 3 @@ -1853,7 +1853,7 @@ main: # @main i64.call $push52=, t7@FUNCTION, $pop113, $pop51 i64.const $push53=, 1532 i64.ne $push54=, $pop52, $pop53 - br_if $pop54, 0 # 0: down to label45 + br_if 0, $pop54 # 0: down to label45 # BB#13: # %if.end48 block i32.const $push114=, 3 @@ -1861,7 +1861,7 @@ main: # @main i64.call $push56=, t7@FUNCTION, $pop114, $pop55 i64.const $push57=, 4294968828 i64.ne $push58=, $pop56, $pop57 - br_if $pop58, 0 # 0: down to label46 + br_if 0, $pop58 # 0: down to label46 # BB#14: # %if.end52 block i32.const $push115=, 3 @@ -1869,7 +1869,7 @@ main: # @main i64.call $push60=, t8@FUNCTION, $pop115, $pop59 i64.const $push61=, 1535 i64.ne $push62=, $pop60, $pop61 - br_if $pop62, 0 # 0: down to label47 + br_if 0, $pop62 # 0: down to label47 # BB#15: # %if.end56 block i32.const $push116=, 3 @@ -1877,7 +1877,7 @@ main: # @main i64.call $push64=, t8@FUNCTION, $pop116, $pop63 i64.const $push65=, 4294968831 i64.ne $push66=, $pop64, $pop65 - br_if $pop66, 0 # 0: down to label48 + br_if 0, $pop66 # 0: down to label48 # BB#16: # %if.end60 block i32.const $push117=, 3 @@ -1885,7 +1885,7 @@ main: # @main i64.call $push68=, t9@FUNCTION, $pop117, $pop67 i64.const $push69=, 1538 i64.ne $push70=, $pop68, $pop69 - br_if $pop70, 0 # 0: down to label49 + br_if 0, $pop70 # 0: down to label49 # BB#17: # %if.end64 block i32.const $push118=, 3 @@ -1893,7 +1893,7 @@ main: # @main i64.call $push72=, t9@FUNCTION, $pop118, $pop71 i64.const $push73=, 4294968834 i64.ne $push74=, $pop72, $pop73 - br_if $pop74, 0 # 0: down to label50 + br_if 0, $pop74 # 0: down to label50 # BB#18: # %if.end68 block i32.const $push122=, 3 @@ -1906,7 +1906,7 @@ main: # @main i64.const $push119=, -1 i64.add $push79=, $pop78, $pop119 i64.ne $push80=, $pop76, $pop79 - br_if $pop80, 0 # 0: down to label51 + br_if 0, $pop80 # 0: down to label51 # BB#19: # %if.end72 block i32.const $push126=, 3 @@ -1919,7 +1919,7 @@ main: # @main i64.const $push123=, 4294967295 i64.add $push85=, $pop84, $pop123 i64.ne $push86=, $pop82, $pop85 - br_if $pop86, 0 # 0: down to label52 + br_if 0, $pop86 # 0: down to label52 # BB#20: # %if.end77 block i32.const $push130=, 3 @@ -1932,7 +1932,7 @@ main: # @main i64.const $push127=, -1 i64.add $push91=, $pop90, $pop127 i64.ne $push92=, $pop88, $pop91 - br_if $pop92, 0 # 0: down to label53 + br_if 0, $pop92 # 0: down to label53 # BB#21: # %if.end84 block i32.const $push135=, 3 @@ -1946,12 +1946,12 @@ main: # @main i64.const $push131=, 4294967295 i64.add $push96=, $pop95, $pop131 i64.ne $push97=, $pop94, $pop96 - br_if $pop97, 0 # 0: down to label54 + br_if 0, $pop97 # 0: down to label54 # BB#22: # %if.end91 block i64.const $push98=, 100 i64.ne $push99=, $0, $pop98 - br_if $pop99, 0 # 0: down to label55 + br_if 0, $pop99 # 0: down to label55 # BB#23: # %if.end95 i32.const $push100=, 0 call exit@FUNCTION, $pop100 diff --git a/test/torture-s/20041113-1.c.s b/test/torture-s/20041113-1.c.s index cd42c5deb..f38ccaf23 100644 --- a/test/torture-s/20041113-1.c.s +++ b/test/torture-s/20041113-1.c.s @@ -28,7 +28,7 @@ test: # @test i32.load $push4=, 0($1) i32.const $push5=, 1 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.load $push7=, 12($5) i32.const $push33=, 3 @@ -43,7 +43,7 @@ test: # @test i32.load $push11=, 0($1) i32.const $push12=, 2 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %if.end4 i32.load $push14=, 12($5) i32.const $push38=, 3 @@ -58,7 +58,7 @@ test: # @test i32.load $push18=, 0($1) i32.const $push34=, 3 i32.ne $push19=, $pop18, $pop34 - br_if $pop19, 0 # 0: down to label2 + br_if 0, $pop19 # 0: down to label2 # BB#3: # %if.end7 i32.load $push20=, 12($5) i32.const $push43=, 3 @@ -73,7 +73,7 @@ test: # @test i32.load $push24=, 0($1) i32.const $push39=, 4 i32.ne $push25=, $pop24, $pop39 - br_if $pop25, 0 # 0: down to label3 + br_if 0, $pop25 # 0: down to label3 # BB#4: # %if.end10 i32.const $4=, 16 i32.add $5=, $6, $4 diff --git a/test/torture-s/20041124-1.c.s b/test/torture-s/20041124-1.c.s index 7cf9c6150..1904bf3e6 100644 --- a/test/torture-s/20041124-1.c.s +++ b/test/torture-s/20041124-1.c.s @@ -40,7 +40,7 @@ main: # @main i32.const $push13=, 65535 i32.and $push7=, $pop14, $pop13 i32.ne $push9=, $pop2, $pop7 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %entry i32.const $push3=, 2 i32.const $4=, 8 @@ -52,7 +52,7 @@ main: # @main i32.const $push8=, 16 i32.shr_u $push1=, $0, $pop8 i32.ne $push11=, $pop10, $pop1 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#2: # %if.end i32.const $push12=, 0 call exit@FUNCTION, $pop12 diff --git a/test/torture-s/20041126-1.c.s b/test/torture-s/20041126-1.c.s index 82f724225..07526f09b 100644 --- a/test/torture-s/20041126-1.c.s +++ b/test/torture-s/20041126-1.c.s @@ -10,27 +10,27 @@ check: # @check # BB#0: # %entry block i32.load $push0=, 0($0) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %for.inc i32.load $push1=, 4($0) - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#2: # %for.inc.1 i32.load $push2=, 8($0) - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#3: # %for.inc.2 i32.load $push3=, 12($0) - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#4: # %for.inc.3 i32.const $3=, 5 i32.load $push4=, 16($0) - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 .LBB0_5: # %for.cond1 # =>This Inner Loop Header: Depth=1 block loop # label2: i32.const $push5=, 9 i32.gt_s $push6=, $3, $pop5 - br_if $pop6, 2 # 2: down to label1 + br_if 2, $pop6 # 2: down to label1 # BB#6: # %for.body3 # in Loop: Header=BB0_5 Depth=1 i32.const $push7=, 2 @@ -41,7 +41,7 @@ check: # @check i32.add $2=, $3, $pop10 copy_local $3=, $1 i32.eq $push11=, $1, $2 - br_if $pop11, 0 # 0: up to label2 + br_if 0, $pop11 # 0: up to label2 # BB#7: # %if.then6 end_loop # label3: call abort@FUNCTION @@ -90,7 +90,7 @@ main: # @main loop # label5: i32.const $push14=, 9 i32.gt_s $push9=, $2, $pop14 - br_if $pop9, 2 # 2: down to label4 + br_if 2, $pop9 # 2: down to label4 # BB#2: # %for.body3.i # in Loop: Header=BB1_1 Depth=1 i32.const $push16=, 2 @@ -101,7 +101,7 @@ main: # @main i32.add $1=, $2, $pop15 copy_local $2=, $0 i32.eq $push13=, $0, $1 - br_if $pop13, 0 # 0: up to label5 + br_if 0, $pop13 # 0: up to label5 # BB#3: # %if.then6.i end_loop # label6: call abort@FUNCTION diff --git a/test/torture-s/20041201-1.c.s b/test/torture-s/20041201-1.c.s index 5b4f07d9c..273ab5b3e 100644 --- a/test/torture-s/20041201-1.c.s +++ b/test/torture-s/20041201-1.c.s @@ -14,14 +14,14 @@ checkScc2: # @checkScc2 i32.load8_u $push1=, 0($0) i32.const $push14=, 1 i32.ne $push2=, $pop1, $pop14 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry i32.load8_u $push0=, 1($0) i32.const $push3=, 255 i32.and $push4=, $pop0, $pop3 i32.const $push5=, 2 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#2: # %lor.rhs i32.load8_u $push7=, 2($0) i32.const $push8=, 3 @@ -53,7 +53,7 @@ main: # @main i32.load8_u $push1=, s($pop15) i32.const $push14=, 1 i32.ne $push2=, $pop1, $pop14 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %entry i32.const $push16=, 0 i32.load8_u $push0=, s+1($pop16) @@ -61,7 +61,7 @@ main: # @main i32.and $push4=, $pop0, $pop3 i32.const $push5=, 2 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#2: # %lor.rhs.i i32.const $push7=, 0 i32.load8_u $push8=, s+2($pop7) diff --git a/test/torture-s/20041210-1.c.s b/test/torture-s/20041210-1.c.s index 79d2c6e64..0b72b1782 100644 --- a/test/torture-s/20041210-1.c.s +++ b/test/torture-s/20041210-1.c.s @@ -17,7 +17,7 @@ main: # @main i64.shr_u $push2=, $0, $pop11 i32.wrap/i64 $push3=, $pop2 i32.ge_s $push4=, $pop1, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.then i32.const $push16=, 0 i64.load $push5=, x+8($pop16) @@ -28,7 +28,7 @@ main: # @main i32.wrap/i64 $push8=, $pop7 i32.const $push9=, -1 i32.gt_s $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#2: # %if.then2 call abort@FUNCTION unreachable diff --git a/test/torture-s/20041213-2.c.s b/test/torture-s/20041213-2.c.s index 650cf7975..83eff0981 100644 --- a/test/torture-s/20041213-2.c.s +++ b/test/torture-s/20041213-2.c.s @@ -13,14 +13,14 @@ foo: # @foo block i32.const $push5=, 0 i32.eq $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 .LBB0_1: # %for.cond1.preheader # =>This Inner Loop Header: Depth=1 loop # label1: block block i32.ge_s $push0=, $2, $3 - br_if $pop0, 0 # 0: down to label4 + br_if 0, $pop0 # 0: down to label4 # BB#2: # %for.end.thread # in Loop: Header=BB0_1 Depth=1 i32.const $push2=, 1 @@ -32,7 +32,7 @@ foo: # @foo end_block # label4: copy_local $1=, $3 i32.ne $push1=, $2, $3 - br_if $pop1, 2 # 2: down to label2 + br_if 2, $pop1 # 2: down to label2 .LBB0_4: # %for.cond # in Loop: Header=BB0_1 Depth=1 end_block # label3: @@ -40,7 +40,7 @@ foo: # @foo i32.add $0=, $0, $pop4 copy_local $2=, $3 copy_local $3=, $1 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 br 2 # 2: down to label0 .LBB0_5: # %if.then end_loop # label2: diff --git a/test/torture-s/20041214-1.c.s b/test/torture-s/20041214-1.c.s index aa0db13b3..d277f5554 100644 --- a/test/torture-s/20041214-1.c.s +++ b/test/torture-s/20041214-1.c.s @@ -20,7 +20,7 @@ g: # @g block i32.const $push12=, 0 i32.eq $push13=, $3, $pop12 - br_if $pop13, 0 # 0: down to label0 + br_if 0, $pop13 # 0: down to label0 # BB#1: # %do_form_string.preheader i32.const $push6=, 2 i32.add $1=, $1, $pop6 @@ -41,7 +41,7 @@ g: # @g i32.load8_u $2=, 0($1) i32.const $push7=, 2 i32.add $1=, $1, $pop7 - br_if $2, 0 # 0: up to label1 + br_if 0, $2 # 0: up to label1 .LBB0_3: # %all_done end_loop # label2: end_block # label0: @@ -121,7 +121,7 @@ main: # @main i32.add $10=, $11, $10 i32.call $0=, strcmp@FUNCTION, $10, $0 block - br_if $0, 0 # 0: down to label3 + br_if 0, $0 # 0: down to label3 # BB#1: # %if.end i32.const $8=, 32 i32.add $11=, $11, $8 diff --git a/test/torture-s/20041218-1.c.s b/test/torture-s/20041218-1.c.s index 3d3e780eb..8f07650f8 100644 --- a/test/torture-s/20041218-1.c.s +++ b/test/torture-s/20041218-1.c.s @@ -56,25 +56,25 @@ check: # @check # BB#0: # %entry block i32.load $push0=, 0($1) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push1=, 4($1) - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.const $push2=, 8 i32.add $push3=, $1, $pop2 i32.load $push4=, 0($pop3) - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#3: # %lor.lhs.false5 i32.const $push5=, 12 i32.add $push6=, $1, $pop5 i32.load $push7=, 0($pop6) - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#4: # %lor.lhs.false8 i32.const $push8=, 16 i32.add $push9=, $1, $pop8 i32.load8_u $push10=, 0($pop9):p2align=2 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#5: # %if.end i32.const $push11=, 1 return $pop11 @@ -101,13 +101,13 @@ foo: # @foo block i32.const $push9=, 0 i32.eq $push10=, $1, $pop9 - br_if $pop10, 0 # 0: down to label2 + br_if 0, $pop10 # 0: down to label2 # BB#1: # %for.body i32.const $2=, 1 i32.load $push1=, 0($0) i32.const $push7=, 1 i32.ne $push2=, $pop1, $pop7 - br_if $pop2, 1 # 1: down to label1 + br_if 1, $pop2 # 1: down to label1 # BB#2: # %sw.bb i32.const $push4=, 0 i32.const $push3=, 1 diff --git a/test/torture-s/20050104-1.c.s b/test/torture-s/20050104-1.c.s index 8399457d3..08d82daff 100644 --- a/test/torture-s/20050104-1.c.s +++ b/test/torture-s/20050104-1.c.s @@ -10,7 +10,7 @@ foo: # @foo block i64.const $push0=, 10 i64.gt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %lor.lhs.false return .LBB0_2: # %if.then diff --git a/test/torture-s/20050106-1.c.s b/test/torture-s/20050106-1.c.s index 6bee89930..6b60fca31 100644 --- a/test/torture-s/20050106-1.c.s +++ b/test/torture-s/20050106-1.c.s @@ -12,7 +12,7 @@ main: # @main i32.load16_s $push0=, u($pop3):p2align=2 i32.const $push1=, -1 i32.le_s $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20050107-1.c.s b/test/torture-s/20050107-1.c.s index 489c22446..d14a52546 100644 --- a/test/torture-s/20050107-1.c.s +++ b/test/torture-s/20050107-1.c.s @@ -11,12 +11,12 @@ foo: # @foo i32.load8_u $push0=, 0($0) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load8_u $push3=, 1($0) i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then diff --git a/test/torture-s/20050119-1.c.s b/test/torture-s/20050119-1.c.s index c8e3ee99f..86d8b81fa 100644 --- a/test/torture-s/20050119-1.c.s +++ b/test/torture-s/20050119-1.c.s @@ -11,13 +11,13 @@ foo: # @foo i32.load8_u $push0=, 0($0) i32.load8_u $push1=, 1($0) i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.load8_u $push3=, 2($0) i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end7 return .LBB0_3: # %if.then6 diff --git a/test/torture-s/20050119-2.c.s b/test/torture-s/20050119-2.c.s index c73598f7c..efae6cf6b 100644 --- a/test/torture-s/20050119-2.c.s +++ b/test/torture-s/20050119-2.c.s @@ -12,13 +12,13 @@ foo: # @foo i32.load8_u $push0=, 0($0) i32.load8_u $push1=, 1($0) i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.load8_u $push3=, 2($0) i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end7 i32.load8_u $push6=, 3($0) return $pop6 diff --git a/test/torture-s/20050124-1.c.s b/test/torture-s/20050124-1.c.s index 9289bd98b..c6def87d9 100644 --- a/test/torture-s/20050124-1.c.s +++ b/test/torture-s/20050124-1.c.s @@ -14,12 +14,12 @@ foo: # @foo block i32.const $push7=, 0 i32.eq $push8=, $1, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %if.then block i32.const $push1=, 0 i32.lt_s $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#2: # %if.then1 i32.const $push6=, 2 i32.add $2=, $0, $pop6 diff --git a/test/torture-s/20050125-1.c.s b/test/torture-s/20050125-1.c.s index 0ec1b9d89..cf684e1f1 100644 --- a/test/torture-s/20050125-1.c.s +++ b/test/torture-s/20050125-1.c.s @@ -28,7 +28,7 @@ bracket_empty: # @bracket_empty tee_local $push9=, $1=, $pop0 i32.load $push1=, 4($0) i32.ge_u $push2=, $pop9, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %land.lhs.true i32.const $push3=, 1 i32.add $push4=, $1, $pop3 @@ -36,7 +36,7 @@ bracket_empty: # @bracket_empty i32.load8_u $push5=, 0($1) i32.const $push6=, 93 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#2: # %if.end return .LBB1_3: # %lor.lhs.false diff --git a/test/torture-s/20050203-1.c.s b/test/torture-s/20050203-1.c.s index 73706424b..dbfd57c8a 100644 --- a/test/torture-s/20050203-1.c.s +++ b/test/torture-s/20050203-1.c.s @@ -22,7 +22,7 @@ main: # @main block i32.const $push0=, -1 i32.gt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.then i32.const $push2=, 0 call exit@FUNCTION, $pop2 diff --git a/test/torture-s/20050215-1.c.s b/test/torture-s/20050215-1.c.s index f1057e5d9..9aa35e6f5 100644 --- a/test/torture-s/20050215-1.c.s +++ b/test/torture-s/20050215-1.c.s @@ -15,12 +15,12 @@ main: # @main i32.and $push1=, $pop13, $pop0 i32.const $push18=, 0 i32.eq $push19=, $pop1, $pop18 - br_if $pop19, 0 # 0: down to label2 + br_if 0, $pop19 # 0: down to label2 # BB#1: # %if.then i32.const $push17=, v i32.const $push10=, 7 i32.and $push11=, $pop17, $pop10 - br_if $pop11, 1 # 1: down to label1 + br_if 1, $pop11 # 1: down to label1 br 2 # 2: down to label0 .LBB0_2: # %lor.lhs.false end_block # label2: @@ -37,7 +37,7 @@ main: # @main i32.or $push9=, $pop8, $pop5 i32.const $push20=, 0 i32.eq $push21=, $pop9, $pop20 - br_if $pop21, 1 # 1: down to label0 + br_if 1, $pop21 # 1: down to label0 .LBB0_3: # %if.end3 end_block # label1: i32.const $push12=, 0 diff --git a/test/torture-s/20050218-1.c.s b/test/torture-s/20050218-1.c.s index 2b1d59364..a1257871d 100644 --- a/test/torture-s/20050218-1.c.s +++ b/test/torture-s/20050218-1.c.s @@ -13,7 +13,7 @@ foo: # @foo block i32.const $push8=, 0 i32.eq $push9=, $2, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %for.body.lr.ph i32.const $5=, 0 i32.const $4=, a @@ -27,14 +27,14 @@ foo: # @foo i32.call $push0=, strlen@FUNCTION, $3 tee_local $push5=, $8=, $pop0 i32.call $push2=, strncmp@FUNCTION, $pop1, $3, $pop5 - br_if $pop2, 1 # 1: down to label2 + br_if 1, $pop2 # 1: down to label2 # BB#3: # %if.end # in Loop: Header=BB0_2 Depth=1 i32.add $5=, $8, $5 block i32.const $push10=, 0 i32.eq $push11=, $1, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.then6 # in Loop: Header=BB0_2 Depth=1 i32.call $push3=, strlen@FUNCTION, $1 @@ -48,7 +48,7 @@ foo: # @foo i32.add $4=, $4, $pop6 i32.const $7=, 0 i32.lt_u $push4=, $6, $2 - br_if $pop4, 0 # 0: up to label1 + br_if 0, $pop4 # 0: up to label1 .LBB0_6: # %cleanup end_loop # label2: end_block # label0: @@ -72,7 +72,7 @@ main: # @main i32.call $push0=, strlen@FUNCTION, $0 tee_local $push10=, $1=, $pop0 i32.call $push2=, strncmp@FUNCTION, $pop11, $0, $pop10 - br_if $pop2, 0 # 0: down to label4 + br_if 0, $pop2 # 0: down to label4 # BB#1: # %if.end.i i32.const $push15=, 0 i32.load $0=, a+4($pop15) @@ -81,7 +81,7 @@ main: # @main i32.call $push1=, strlen@FUNCTION, $0 tee_local $push13=, $2=, $pop1 i32.call $push4=, strncmp@FUNCTION, $pop3, $0, $pop13 - br_if $pop4, 0 # 0: down to label4 + br_if 0, $pop4 # 0: down to label4 # BB#2: # %if.end.i.1 i32.const $push16=, 0 i32.load $0=, a+8($pop16):p2align=3 @@ -90,7 +90,7 @@ main: # @main i32.add $push7=, $pop5, $pop6 i32.call $push8=, strlen@FUNCTION, $0 i32.call $push9=, strncmp@FUNCTION, $pop7, $0, $pop8 - br_if $pop9, 0 # 0: down to label4 + br_if 0, $pop9 # 0: down to label4 # BB#3: # %if.end.i.2 i32.const $push17=, 0 return $pop17 diff --git a/test/torture-s/20050224-1.c.s b/test/torture-s/20050224-1.c.s index ad399fc15..c8aa6c7b6 100644 --- a/test/torture-s/20050224-1.c.s +++ b/test/torture-s/20050224-1.c.s @@ -10,15 +10,15 @@ foo: # @foo block i32.const $push0=, 245 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 36 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %entry i32.const $push4=, 444 i32.ne $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#3: # %if.end return .LBB0_4: # %if.then @@ -46,7 +46,7 @@ main: # @main i32.load $push0=, b($pop16) tee_local $push15=, $7=, $pop0 i32.ge_u $push1=, $pop17, $pop15 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %for.body.lr.ph i32.const $push22=, 0 i32.load $0=, c($pop22) @@ -64,7 +64,7 @@ main: # @main block block i32.ge_u $push2=, $8, $0 - br_if $pop2, 0 # 0: down to label5 + br_if 0, $pop2 # 0: down to label5 # BB#3: # %if.then # in Loop: Header=BB1_2 Depth=1 i32.const $push23=, 1 @@ -75,11 +75,11 @@ main: # @main end_block # label5: block i32.lt_u $push3=, $8, $1 - br_if $pop3, 0 # 0: down to label6 + br_if 0, $pop3 # 0: down to label6 # BB#5: # %if.else # in Loop: Header=BB1_2 Depth=1 i32.ge_u $push4=, $8, $2 - br_if $pop4, 0 # 0: down to label6 + br_if 0, $pop4 # 0: down to label6 # BB#6: # %if.then4 # in Loop: Header=BB1_2 Depth=1 i32.const $push24=, 1 @@ -96,20 +96,20 @@ main: # @main i32.const $push25=, 4096 i32.add $8=, $8, $pop25 i32.lt_u $push6=, $8, $7 - br_if $pop6, 0 # 0: up to label2 + br_if 0, $pop6 # 0: up to label2 # BB#9: # %for.end end_loop # label3: i32.const $push7=, 444 i32.ne $push8=, $4, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#10: # %for.end i32.const $push9=, 245 i32.ne $push10=, $5, $pop9 - br_if $pop10, 0 # 0: down to label1 + br_if 0, $pop10 # 0: down to label1 # BB#11: # %for.end i32.const $push11=, 36 i32.ne $push12=, $6, $pop11 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#12: # %foo.exit i32.const $push13=, 0 return $pop13 diff --git a/test/torture-s/20050410-1.c.s b/test/torture-s/20050410-1.c.s index 497d6be68..5739dfacf 100644 --- a/test/torture-s/20050410-1.c.s +++ b/test/torture-s/20050410-1.c.s @@ -33,7 +33,7 @@ main: # @main i32.call $push0=, foo@FUNCTION i32.const $push1=, 95 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 call exit@FUNCTION, $pop3 diff --git a/test/torture-s/20050502-1.c.s b/test/torture-s/20050502-1.c.s index c6a082fe2..14cb518b9 100644 --- a/test/torture-s/20050502-1.c.s +++ b/test/torture-s/20050502-1.c.s @@ -55,12 +55,12 @@ foo: # @foo i32.const $push4=, 39 i32.eq $push5=, $pop21, $pop4 i32.and $push6=, $pop5, $2 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %entry i32.const $push7=, 34 i32.eq $push8=, $5, $pop7 i32.and $push0=, $pop8, $3 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#2: # %if.end14.lr.ph i32.or $4=, $2, $3 i32.const $5=, 1 @@ -68,7 +68,7 @@ foo: # @foo # =>This Inner Loop Header: Depth=1 loop # label1: block - br_if $4, 0 # 0: down to label3 + br_if 0, $4 # 0: down to label3 # BB#4: # %land.lhs.true18 # in Loop: Header=BB2_3 Depth=1 copy_local $6=, $5 @@ -79,7 +79,7 @@ foo: # @foo i32.call $push11=, baz@FUNCTION, $pop10 i32.const $push30=, 0 i32.eq $push31=, $pop11, $pop30 - br_if $pop31, 2 # 2: down to label2 + br_if 2, $pop31 # 2: down to label2 .LBB2_5: # %while.body.backedge # in Loop: Header=BB2_3 Depth=1 end_block # label3: @@ -94,7 +94,7 @@ foo: # @foo i32.const $push25=, 39 i32.eq $push15=, $pop26, $pop25 i32.and $push16=, $pop15, $2 - br_if $pop16, 1 # 1: down to label2 + br_if 1, $pop16 # 1: down to label2 # BB#6: # %while.body.backedge # in Loop: Header=BB2_3 Depth=1 copy_local $5=, $6 @@ -103,7 +103,7 @@ foo: # @foo i32.and $push12=, $pop17, $3 i32.const $push32=, 0 i32.eq $push33=, $pop12, $pop32 - br_if $pop33, 0 # 0: up to label1 + br_if 0, $pop33 # 0: up to label1 .LBB2_7: # %while.end end_loop # label2: end_block # label0: @@ -142,13 +142,13 @@ main: # @main i32.load $push3=, 12($18) i32.const $push4=, .L.str.1 i32.call $push5=, strcmp@FUNCTION, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label4 + br_if 0, $pop5 # 0: down to label4 # BB#1: # %lor.lhs.false i32.const $push6=, .L.str.2 i32.const $5=, 16 i32.add $5=, $18, $5 i32.call $push7=, strcmp@FUNCTION, $5, $pop6 - br_if $pop7, 0 # 0: down to label4 + br_if 0, $pop7 # 0: down to label4 # BB#2: # %if.end i32.const $push8=, .L.str.3 i32.store $discard=, 12($18), $pop8 @@ -163,13 +163,13 @@ main: # @main i32.load $push11=, 12($18) i32.const $push12=, .L.str.4 i32.call $push13=, strcmp@FUNCTION, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label5 + br_if 0, $pop13 # 0: down to label5 # BB#3: # %lor.lhs.false7 i32.const $push14=, .L.str.5 i32.const $8=, 16 i32.add $8=, $18, $8 i32.call $push15=, strcmp@FUNCTION, $8, $pop14 - br_if $pop15, 0 # 0: down to label5 + br_if 0, $pop15 # 0: down to label5 # BB#4: # %if.end12 i32.const $push16=, .L.str.6 i32.store $discard=, 12($18), $pop16 @@ -184,13 +184,13 @@ main: # @main i32.load $push18=, 12($18) i32.const $push19=, .L.str.7 i32.call $push20=, strcmp@FUNCTION, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label6 + br_if 0, $pop20 # 0: down to label6 # BB#5: # %lor.lhs.false16 i32.const $push21=, .L.str.8 i32.const $11=, 16 i32.add $11=, $18, $11 i32.call $push22=, strcmp@FUNCTION, $11, $pop21 - br_if $pop22, 0 # 0: down to label6 + br_if 0, $pop22 # 0: down to label6 # BB#6: # %if.end21 i32.const $push23=, .L.str.9 i32.store $discard=, 12($18), $pop23 @@ -205,13 +205,13 @@ main: # @main i32.load $push25=, 12($18) i32.const $push26=, .L.str.10 i32.call $push27=, strcmp@FUNCTION, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label7 + br_if 0, $pop27 # 0: down to label7 # BB#7: # %lor.lhs.false25 i32.const $push28=, .L.str.11 i32.const $14=, 16 i32.add $14=, $18, $14 i32.call $push29=, strcmp@FUNCTION, $14, $pop28 - br_if $pop29, 0 # 0: down to label7 + br_if 0, $pop29 # 0: down to label7 # BB#8: # %if.end30 i32.const $push30=, .L.str.12 i32.store $discard=, 12($18), $pop30 @@ -226,13 +226,13 @@ main: # @main i32.load $push32=, 12($18) i32.const $push33=, .L.str.13 i32.call $push34=, strcmp@FUNCTION, $pop32, $pop33 - br_if $pop34, 0 # 0: down to label8 + br_if 0, $pop34 # 0: down to label8 # BB#9: # %lor.lhs.false34 i32.const $push35=, .L.str.14 i32.const $17=, 16 i32.add $17=, $18, $17 i32.call $push36=, strcmp@FUNCTION, $17, $pop35 - br_if $pop36, 0 # 0: down to label8 + br_if 0, $pop36 # 0: down to label8 # BB#10: # %if.end39 i32.const $push37=, 0 i32.const $2=, 80 diff --git a/test/torture-s/20050502-2.c.s b/test/torture-s/20050502-2.c.s index 6caa677dc..0603f756c 100644 --- a/test/torture-s/20050502-2.c.s +++ b/test/torture-s/20050502-2.c.s @@ -72,7 +72,7 @@ main: # @main i32.add $8=, $10, $8 block i32.call $push11=, memcmp@FUNCTION, $8, $pop10, $pop16 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %if.end i32.const $push12=, 77 i32.store8 $discard=, 0($1):p2align=2, $pop12 @@ -83,7 +83,7 @@ main: # @main i32.add $9=, $10, $9 block i32.call $push14=, memcmp@FUNCTION, $9, $pop13, $pop21 - br_if $pop14, 0 # 0: down to label1 + br_if 0, $pop14 # 0: down to label1 # BB#2: # %if.end7 i32.const $push15=, 0 i32.const $4=, 16 diff --git a/test/torture-s/20050604-1.c.s b/test/torture-s/20050604-1.c.s index fb33b5f49..8e86f83ff 100644 --- a/test/torture-s/20050604-1.c.s +++ b/test/torture-s/20050604-1.c.s @@ -129,35 +129,35 @@ main: # @main i32.and $push18=, $2, $pop34 i32.const $push33=, 24 i32.ne $push19=, $pop18, $pop33 - br_if $pop19, 0 # 0: down to label0 + br_if 0, $pop19 # 0: down to label0 # BB#1: # %entry i32.const $push56=, 65535 i32.and $push20=, $1, $pop56 i32.const $push55=, 28 i32.ne $push21=, $pop20, $pop55 - br_if $pop21, 0 # 0: down to label0 + br_if 0, $pop21 # 0: down to label0 # BB#2: # %entry i32.or $push5=, $3, $0 i32.const $push22=, 65535 i32.and $push23=, $pop5, $pop22 - br_if $pop23, 0 # 0: down to label0 + br_if 0, $pop23 # 0: down to label0 # BB#3: # %if.end block f32.const $push24=, 0x1.2p5 f32.ne $push25=, $4, $pop24 - br_if $pop25, 0 # 0: down to label1 + br_if 0, $pop25 # 0: down to label1 # BB#4: # %if.end f32.const $push26=, 0x1.4p5 f32.ne $push27=, $5, $pop26 - br_if $pop27, 0 # 0: down to label1 + br_if 0, $pop27 # 0: down to label1 # BB#5: # %if.end f32.const $push28=, 0x1.6p5 f32.ne $push29=, $6, $pop28 - br_if $pop29, 0 # 0: down to label1 + br_if 0, $pop29 # 0: down to label1 # BB#6: # %if.end f32.const $push30=, 0x0p0 f32.ne $push31=, $7, $pop30 - br_if $pop31, 0 # 0: down to label1 + br_if 0, $pop31 # 0: down to label1 # BB#7: # %if.end26 i32.const $push32=, 0 return $pop32 diff --git a/test/torture-s/20050613-1.c.s b/test/torture-s/20050613-1.c.s index d1c9dfc1f..91ebba84b 100644 --- a/test/torture-s/20050613-1.c.s +++ b/test/torture-s/20050613-1.c.s @@ -9,18 +9,18 @@ foo: # @foo # BB#0: # %entry block i32.load $push0=, 0($0) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push1=, 4($0) i32.const $push2=, 5 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.load $push4=, 8($0) - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#3: # %lor.lhs.false4 i32.load $push5=, 12($0) - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#4: # %if.end return .LBB0_5: # %if.then diff --git a/test/torture-s/20050713-1.c.s b/test/torture-s/20050713-1.c.s index 534bf1086..ad1659d47 100644 --- a/test/torture-s/20050713-1.c.s +++ b/test/torture-s/20050713-1.c.s @@ -12,33 +12,33 @@ foo2: # @foo2 i32.load $push0=, 0($0) i32.const $push1=, 3 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push3=, 4($0) i32.const $push4=, 4 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.load $push6=, 8($0) i32.const $push7=, 5 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#3: # %if.end block i32.load $push9=, 0($1) i32.const $push10=, 6 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#4: # %lor.lhs.false6 i32.load $push12=, 4($1) i32.const $push13=, 7 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label1 + br_if 0, $pop14 # 0: down to label1 # BB#5: # %lor.lhs.false9 i32.load $push15=, 8($1) i32.const $push16=, 8 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label1 + br_if 0, $pop17 # 0: down to label1 # BB#6: # %if.end13 i32.const $push18=, 0 return $pop18 @@ -66,49 +66,49 @@ foo3: # @foo3 i32.load $push2=, 0($0) i32.const $push3=, 3 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#1: # %entry i32.load $push0=, 4($0) i32.const $push5=, 4 i32.ne $push6=, $pop0, $pop5 - br_if $pop6, 0 # 0: down to label2 + br_if 0, $pop6 # 0: down to label2 # BB#2: # %entry i32.load $push1=, 8($0) i32.const $push7=, 5 i32.ne $push8=, $pop1, $pop7 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end.i block i32.load $push11=, 8($1) i32.const $push12=, 8 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label3 + br_if 0, $pop13 # 0: down to label3 # BB#4: # %if.end.i i32.load $push9=, 4($1) i32.const $push14=, 7 i32.ne $push15=, $pop9, $pop14 - br_if $pop15, 0 # 0: down to label3 + br_if 0, $pop15 # 0: down to label3 # BB#5: # %if.end.i i32.load $push10=, 0($1) i32.const $push16=, 6 i32.ne $push17=, $pop10, $pop16 - br_if $pop17, 0 # 0: down to label3 + br_if 0, $pop17 # 0: down to label3 # BB#6: # %foo2.exit block i32.load $push18=, 0($2) i32.const $push19=, 9 i32.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label4 + br_if 0, $pop20 # 0: down to label4 # BB#7: # %lor.lhs.false i32.load $push21=, 4($2) i32.const $push22=, 10 i32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label4 + br_if 0, $pop23 # 0: down to label4 # BB#8: # %lor.lhs.false2 i32.load $push24=, 8($2) i32.const $push25=, 11 i32.ne $push26=, $pop24, $pop25 - br_if $pop26, 0 # 0: down to label4 + br_if 0, $pop26 # 0: down to label4 # BB#9: # %if.end i32.const $push27=, 0 return $pop27 @@ -140,33 +140,33 @@ bar2: # @bar2 i32.load $push2=, 0($1) i32.const $push3=, 3 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label5 + br_if 0, $pop4 # 0: down to label5 # BB#1: # %entry i32.load $push0=, 4($1) i32.const $push5=, 4 i32.ne $push6=, $pop0, $pop5 - br_if $pop6, 0 # 0: down to label5 + br_if 0, $pop6 # 0: down to label5 # BB#2: # %entry i32.load $push1=, 8($1) i32.const $push7=, 5 i32.ne $push8=, $pop1, $pop7 - br_if $pop8, 0 # 0: down to label5 + br_if 0, $pop8 # 0: down to label5 # BB#3: # %if.end.i block i32.load $push11=, 8($0) i32.const $push12=, 8 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label6 + br_if 0, $pop13 # 0: down to label6 # BB#4: # %if.end.i i32.load $push9=, 4($0) i32.const $push14=, 7 i32.ne $push15=, $pop9, $pop14 - br_if $pop15, 0 # 0: down to label6 + br_if 0, $pop15 # 0: down to label6 # BB#5: # %if.end.i i32.load $push10=, 0($0) i32.const $push16=, 6 i32.ne $push17=, $pop10, $pop16 - br_if $pop17, 0 # 0: down to label6 + br_if 0, $pop17 # 0: down to label6 # BB#6: # %foo2.exit i32.const $push18=, 0 return $pop18 @@ -194,49 +194,49 @@ bar3: # @bar3 i32.load $push5=, 0($1) i32.const $push6=, 3 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label7 + br_if 0, $pop7 # 0: down to label7 # BB#1: # %entry i32.load $push3=, 4($1) i32.const $push8=, 4 i32.ne $push9=, $pop3, $pop8 - br_if $pop9, 0 # 0: down to label7 + br_if 0, $pop9 # 0: down to label7 # BB#2: # %entry i32.load $push4=, 8($1) i32.const $push10=, 5 i32.ne $push11=, $pop4, $pop10 - br_if $pop11, 0 # 0: down to label7 + br_if 0, $pop11 # 0: down to label7 # BB#3: # %if.end.i.i block i32.load $push14=, 8($0) i32.const $push15=, 8 i32.ne $push16=, $pop14, $pop15 - br_if $pop16, 0 # 0: down to label8 + br_if 0, $pop16 # 0: down to label8 # BB#4: # %if.end.i.i i32.load $push12=, 4($0) i32.const $push17=, 7 i32.ne $push18=, $pop12, $pop17 - br_if $pop18, 0 # 0: down to label8 + br_if 0, $pop18 # 0: down to label8 # BB#5: # %if.end.i.i i32.load $push13=, 0($0) i32.const $push19=, 6 i32.ne $push20=, $pop13, $pop19 - br_if $pop20, 0 # 0: down to label8 + br_if 0, $pop20 # 0: down to label8 # BB#6: # %foo2.exit.i block i32.load $push0=, 0($2) i32.const $push21=, 9 i32.ne $push22=, $pop0, $pop21 - br_if $pop22, 0 # 0: down to label9 + br_if 0, $pop22 # 0: down to label9 # BB#7: # %foo2.exit.i i32.load $push1=, 4($2) i32.const $push23=, 10 i32.ne $push24=, $pop1, $pop23 - br_if $pop24, 0 # 0: down to label9 + br_if 0, $pop24 # 0: down to label9 # BB#8: # %foo2.exit.i i32.load $push2=, 8($2) i32.const $push25=, 11 i32.ne $push26=, $pop2, $pop25 - br_if $pop26, 0 # 0: down to label9 + br_if 0, $pop26 # 0: down to label9 # BB#9: # %foo3.exit i32.const $push27=, 0 return $pop27 @@ -268,49 +268,49 @@ baz3: # @baz3 i32.load $push5=, 0($1) i32.const $push6=, 3 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label10 + br_if 0, $pop7 # 0: down to label10 # BB#1: # %entry i32.load $push3=, 4($1) i32.const $push8=, 4 i32.ne $push9=, $pop3, $pop8 - br_if $pop9, 0 # 0: down to label10 + br_if 0, $pop9 # 0: down to label10 # BB#2: # %entry i32.load $push4=, 8($1) i32.const $push10=, 5 i32.ne $push11=, $pop4, $pop10 - br_if $pop11, 0 # 0: down to label10 + br_if 0, $pop11 # 0: down to label10 # BB#3: # %if.end.i.i block i32.load $push14=, 8($2) i32.const $push15=, 8 i32.ne $push16=, $pop14, $pop15 - br_if $pop16, 0 # 0: down to label11 + br_if 0, $pop16 # 0: down to label11 # BB#4: # %if.end.i.i i32.load $push12=, 4($2) i32.const $push17=, 7 i32.ne $push18=, $pop12, $pop17 - br_if $pop18, 0 # 0: down to label11 + br_if 0, $pop18 # 0: down to label11 # BB#5: # %if.end.i.i i32.load $push13=, 0($2) i32.const $push19=, 6 i32.ne $push20=, $pop13, $pop19 - br_if $pop20, 0 # 0: down to label11 + br_if 0, $pop20 # 0: down to label11 # BB#6: # %foo2.exit.i block i32.load $push0=, 0($0) i32.const $push21=, 9 i32.ne $push22=, $pop0, $pop21 - br_if $pop22, 0 # 0: down to label12 + br_if 0, $pop22 # 0: down to label12 # BB#7: # %foo2.exit.i i32.load $push1=, 4($0) i32.const $push23=, 10 i32.ne $push24=, $pop1, $pop23 - br_if $pop24, 0 # 0: down to label12 + br_if 0, $pop24 # 0: down to label12 # BB#8: # %foo2.exit.i i32.load $push2=, 8($0) i32.const $push25=, 11 i32.ne $push26=, $pop2, $pop25 - br_if $pop26, 0 # 0: down to label12 + br_if 0, $pop26 # 0: down to label12 # BB#9: # %foo3.exit i32.const $push27=, 0 return $pop27 diff --git a/test/torture-s/20050826-1.c.s b/test/torture-s/20050826-1.c.s index 97663743b..99032c3ab 100644 --- a/test/torture-s/20050826-1.c.s +++ b/test/torture-s/20050826-1.c.s @@ -12,7 +12,7 @@ bar: # @bar i64.load $push0=, 0($0):p2align=0 i64.const $push1=, 368664092428289 i64.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push3=, 7 i32.add $1=, $0, $pop3 @@ -23,14 +23,14 @@ bar: # @bar loop # label2: i32.add $push4=, $1, $0 i32.load8_u $push5=, 0($pop4) - br_if $pop5, 2 # 2: down to label1 + br_if 2, $pop5 # 2: down to label1 # BB#3: # %for.cond # in Loop: Header=BB0_2 Depth=1 i32.const $push8=, 1 i32.add $0=, $0, $pop8 i32.const $push7=, 2040 i32.le_u $push6=, $0, $pop7 - br_if $pop6, 0 # 0: up to label2 + br_if 0, $pop6 # 0: up to label2 # BB#4: # %for.end end_loop # label3: return @@ -77,7 +77,7 @@ foo: # @foo i64.load $push7=, a($pop16):p2align=0 i64.const $push8=, 368664092428289 i64.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label4 + br_if 0, $pop9 # 0: down to label4 .LBB1_1: # %for.cond.i # =>This Inner Loop Header: Depth=1 block @@ -86,7 +86,7 @@ foo: # @foo i32.add $push11=, $1, $pop10 i32.const $push12=, 2040 i32.gt_u $push13=, $pop11, $pop12 - br_if $pop13, 2 # 2: down to label5 + br_if 2, $pop13 # 2: down to label5 # BB#2: # %for.cond.i.for.body.i_crit_edge # in Loop: Header=BB1_1 Depth=1 i32.load8_u $0=, a($1) @@ -94,7 +94,7 @@ foo: # @foo i32.add $1=, $1, $pop15 i32.const $push23=, 0 i32.eq $push24=, $0, $pop23 - br_if $pop24, 0 # 0: up to label6 + br_if 0, $pop24 # 0: up to label6 # BB#3: # %if.then2.i end_loop # label7: call abort@FUNCTION @@ -142,7 +142,7 @@ main: # @main i64.load $push7=, a($pop16):p2align=0 i64.const $push8=, 368664092428289 i64.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label8 + br_if 0, $pop9 # 0: down to label8 .LBB2_1: # %for.cond.i.i # =>This Inner Loop Header: Depth=1 block @@ -151,7 +151,7 @@ main: # @main i32.add $push11=, $1, $pop10 i32.const $push12=, 2040 i32.gt_u $push13=, $pop11, $pop12 - br_if $pop13, 2 # 2: down to label9 + br_if 2, $pop13 # 2: down to label9 # BB#2: # %for.cond.i.for.body.i_crit_edge.i # in Loop: Header=BB2_1 Depth=1 i32.load8_u $0=, a($1) @@ -159,7 +159,7 @@ main: # @main i32.add $1=, $1, $pop15 i32.const $push23=, 0 i32.eq $push24=, $0, $pop23 - br_if $pop24, 0 # 0: up to label10 + br_if 0, $pop24 # 0: up to label10 # BB#3: # %if.then2.i.i end_loop # label11: call abort@FUNCTION diff --git a/test/torture-s/20050929-1.c.s b/test/torture-s/20050929-1.c.s index 63eefda8b..1a3844b7f 100644 --- a/test/torture-s/20050929-1.c.s +++ b/test/torture-s/20050929-1.c.s @@ -17,12 +17,12 @@ main: # @main i32.load $push5=, 0($pop25) i32.const $push6=, 1 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push8=, 4($0) i32.const $push9=, 2 i32.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#2: # %if.end block i32.load $push2=, 4($1) @@ -30,12 +30,12 @@ main: # @main i32.load $push11=, 0($pop27) i32.const $push12=, 3 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#3: # %lor.lhs.false5 i32.load $push14=, 4($0) i32.const $push15=, 4 i32.ne $push16=, $pop14, $pop15 - br_if $pop16, 0 # 0: down to label1 + br_if 0, $pop16 # 0: down to label1 # BB#4: # %if.end10 block i32.const $push17=, 0 @@ -44,12 +44,12 @@ main: # @main i32.load $push18=, 0($pop28) i32.const $push19=, 5 i32.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label2 + br_if 0, $pop20 # 0: down to label2 # BB#5: # %lor.lhs.false13 i32.load $push21=, 4($0) i32.const $push22=, 6 i32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label2 + br_if 0, $pop23 # 0: down to label2 # BB#6: # %if.end17 i32.const $push24=, 0 return $pop24 diff --git a/test/torture-s/20051021-1.c.s b/test/torture-s/20051021-1.c.s index 594a46f99..9afd15216 100644 --- a/test/torture-s/20051021-1.c.s +++ b/test/torture-s/20051021-1.c.s @@ -54,7 +54,7 @@ main: # @main i32.add $push2=, $pop3, $pop1 i32.store $discard=, count($pop5), $pop2 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end7 i32.const $push6=, 0 return $pop6 diff --git a/test/torture-s/20051110-1.c.s b/test/torture-s/20051110-1.c.s index 74a6488d2..819f06e85 100644 --- a/test/torture-s/20051110-1.c.s +++ b/test/torture-s/20051110-1.c.s @@ -17,7 +17,7 @@ add_unwind_adjustsp: # @add_unwind_adjustsp tee_local $push12=, $0=, $pop11 i32.const $push14=, 0 i32.eq $push15=, $pop12, $pop14 - br_if $pop15, 0 # 0: down to label0 + br_if 0, $pop15 # 0: down to label0 .LBB0_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -33,7 +33,7 @@ add_unwind_adjustsp: # @add_unwind_adjustsp i32.const $push10=, 1 i32.add $1=, $1, $pop10 copy_local $0=, $2 - br_if $2, 0 # 0: up to label1 + br_if 0, $2 # 0: up to label1 .LBB0_2: # %while.end end_loop # label2: end_block # label0: @@ -67,7 +67,7 @@ main: # @main i32.const $push13=, 1 i32.add $0=, $0, $pop13 copy_local $1=, $2 - br_if $2, 0 # 0: up to label3 + br_if 0, $2 # 0: up to label3 # BB#2: # %add_unwind_adjustsp.exit end_loop # label4: block @@ -75,7 +75,7 @@ main: # @main i32.load8_u $push5=, bytes($pop18) i32.const $push6=, 136 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label5 + br_if 0, $pop7 # 0: down to label5 # BB#3: # %add_unwind_adjustsp.exit i32.const $push19=, 0 i32.load8_u $push4=, bytes+1($pop19) @@ -83,7 +83,7 @@ main: # @main i32.and $push9=, $pop4, $pop8 i32.const $push10=, 7 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label5 + br_if 0, $pop11 # 0: down to label5 # BB#4: # %if.end i32.const $push12=, 0 return $pop12 diff --git a/test/torture-s/20051110-2.c.s b/test/torture-s/20051110-2.c.s index 9ef2e0a03..a4b17042a 100644 --- a/test/torture-s/20051110-2.c.s +++ b/test/torture-s/20051110-2.c.s @@ -23,7 +23,7 @@ add_unwind_adjustsp: # @add_unwind_adjustsp tee_local $push10=, $2=, $pop8 i32.const $push21=, 0 i32.eq $push22=, $pop10, $pop21 - br_if $pop22, 0 # 0: down to label0 + br_if 0, $pop22 # 0: down to label0 # BB#1: # %if.then.lr.ph i32.const $push16=, 0 i32.load $push5=, flag($pop16) @@ -45,7 +45,7 @@ add_unwind_adjustsp: # @add_unwind_adjustsp copy_local $3=, $2 i32.const $push17=, 7 i32.shr_u $2=, $2, $pop17 - br_if $2, 0 # 0: up to label1 + br_if 0, $2 # 0: up to label1 .LBB0_3: # %do.end end_loop # label2: end_block # label0: @@ -75,14 +75,14 @@ main: # @main i32.const $push10=, 0 i32.load8_u $push4=, bytes($pop10) i32.ne $push5=, $1, $pop4 - br_if $pop5, 0 # 0: down to label3 + br_if 0, $pop5 # 0: down to label3 # BB#1: # %add_unwind_adjustsp.exit i32.const $push14=, 0 i32.load8_u $push0=, bytes+1($pop14) i32.const $push6=, 255 i32.and $push7=, $pop0, $pop6 i32.ne $push8=, $pop7, $0 - br_if $pop8, 0 # 0: down to label3 + br_if 0, $pop8 # 0: down to label3 # BB#2: # %if.end i32.const $push9=, 0 return $pop9 diff --git a/test/torture-s/20051113-1.c.s b/test/torture-s/20051113-1.c.s index 551cf1e75..b1e856aae 100644 --- a/test/torture-s/20051113-1.c.s +++ b/test/torture-s/20051113-1.c.s @@ -15,7 +15,7 @@ Sum: # @Sum tee_local $push6=, $3=, $pop0 i32.const $push5=, 1 i32.lt_s $push1=, $pop6, $pop5 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push2=, 10 i32.add $0=, $0, $pop2 @@ -31,7 +31,7 @@ Sum: # @Sum i32.const $push7=, 30 i32.add $0=, $0, $pop7 i32.lt_s $push4=, $1, $3 - br_if $pop4, 0 # 0: up to label1 + br_if 0, $pop4 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: @@ -55,7 +55,7 @@ Sum2: # @Sum2 tee_local $push6=, $3=, $pop0 i32.const $push5=, 1 i32.lt_s $push1=, $pop6, $pop5 - br_if $pop1, 0 # 0: down to label3 + br_if 0, $pop1 # 0: down to label3 # BB#1: # %for.body.preheader i32.const $push2=, 18 i32.add $0=, $0, $pop2 @@ -71,7 +71,7 @@ Sum2: # @Sum2 i32.const $push7=, 30 i32.add $0=, $0, $pop7 i32.lt_s $push4=, $1, $3 - br_if $pop4, 0 # 0: up to label4 + br_if 0, $pop4 # 0: up to label4 .LBB1_3: # %for.end end_loop # label5: end_block # label3: @@ -109,13 +109,13 @@ main: # @main i64.call $push11=, Sum@FUNCTION, $0 i64.const $push16=, 4311811859 i64.ne $push12=, $pop11, $pop16 - br_if $pop12, 0 # 0: down to label6 + br_if 0, $pop12 # 0: down to label6 # BB#1: # %if.end block i64.call $push13=, Sum2@FUNCTION, $0 i64.const $push19=, 4311811859 i64.ne $push14=, $pop13, $pop19 - br_if $pop14, 0 # 0: down to label7 + br_if 0, $pop14 # 0: down to label7 # BB#2: # %if.end25 i32.const $push15=, 0 return $pop15 diff --git a/test/torture-s/20051215-1.c.s b/test/torture-s/20051215-1.c.s index 358aefe0c..24dafd055 100644 --- a/test/torture-s/20051215-1.c.s +++ b/test/torture-s/20051215-1.c.s @@ -13,7 +13,7 @@ foo: # @foo block i32.const $push6=, 1 i32.lt_s $push0=, $1, $pop6 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %for.body.lr.ph i32.const $3=, 0 i32.const $4=, 0 @@ -24,7 +24,7 @@ foo: # @foo block i32.const $push10=, 0 i32.eq $push11=, $2, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#3: # %if.then # in Loop: Header=BB0_2 Depth=1 i32.load $push1=, 0($2) @@ -41,7 +41,7 @@ foo: # @foo i32.const $push7=, 1 i32.add $3=, $3, $pop7 i32.ne $push5=, $1, $3 - br_if $pop5, 0 # 0: up to label1 + br_if 0, $pop5 # 0: up to label1 .LBB0_5: # %for.end6 end_loop # label2: end_block # label0: @@ -62,7 +62,7 @@ main: # @main i32.const $push0=, 2 i32.const $push3=, 0 i32.call $push2=, foo@FUNCTION, $pop1, $pop0, $pop3 - br_if $pop2, 0 # 0: down to label4 + br_if 0, $pop2 # 0: down to label4 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20060102-1.c.s b/test/torture-s/20060102-1.c.s index 858a42b16..9963ae959 100644 --- a/test/torture-s/20060102-1.c.s +++ b/test/torture-s/20060102-1.c.s @@ -40,7 +40,7 @@ main: # @main i32.const $push10=, 1 i32.or $push8=, $pop7, $pop10 i32.eq $push9=, $pop4, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end i32.const $push15=, 0 return $pop15 diff --git a/test/torture-s/20060110-1.c.s b/test/torture-s/20060110-1.c.s index 48ee97ee3..91a4a30cf 100644 --- a/test/torture-s/20060110-1.c.s +++ b/test/torture-s/20060110-1.c.s @@ -30,7 +30,7 @@ main: # @main i32.const $push3=, 0 i64.load $push1=, b($pop3) i64.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 return $pop5 diff --git a/test/torture-s/20060110-2.c.s b/test/torture-s/20060110-2.c.s index caa2eceff..229692267 100644 --- a/test/torture-s/20060110-2.c.s +++ b/test/torture-s/20060110-2.c.s @@ -38,7 +38,7 @@ main: # @main i32.const $push8=, 0 i64.load $push6=, c($pop8) i64.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push12=, 0 return $pop12 diff --git a/test/torture-s/20060127-1.c.s b/test/torture-s/20060127-1.c.s index bf6a64095..95de3d235 100644 --- a/test/torture-s/20060127-1.c.s +++ b/test/torture-s/20060127-1.c.s @@ -9,7 +9,7 @@ f: # @f # BB#0: # %entry block i32.wrap/i64 $push0=, $0 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -30,7 +30,7 @@ main: # @main block i32.const $push1=, 0 i32.load $push0=, a($pop1):p2align=3 - br_if $pop0, 0 # 0: down to label1 + br_if 0, $pop0 # 0: down to label1 # BB#1: # %f.exit i32.const $push2=, 0 return $pop2 diff --git a/test/torture-s/20060420-1.c.s b/test/torture-s/20060420-1.c.s index d55034358..bf45dcd2a 100644 --- a/test/torture-s/20060420-1.c.s +++ b/test/torture-s/20060420-1.c.s @@ -12,7 +12,7 @@ foo: # @foo block i32.const $push89=, 1 i32.lt_s $push1=, $3, $pop89 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %land.rhs.lr.ph i32.const $push91=, 4 i32.add $27=, $1, $pop91 @@ -28,7 +28,7 @@ foo: # @foo i32.and $push3=, $pop2, $pop92 i32.const $push156=, 0 i32.eq $push157=, $pop3, $pop156 - br_if $pop157, 1 # 1: down to label2 + br_if 1, $pop157 # 1: down to label2 # BB#3: # %for.body # in Loop: Header=BB0_2 Depth=1 i32.load $push4=, 0($1) @@ -42,7 +42,7 @@ foo: # @foo block i32.const $push97=, 2 i32.lt_s $push7=, $2, $pop97 - br_if $pop7, 0 # 0: down to label3 + br_if 0, $pop7 # 0: down to label3 .LBB0_4: # %for.body4 # Parent Loop BB0_2 Depth=1 # => This Inner Loop Header: Depth=2 @@ -55,7 +55,7 @@ foo: # @foo i32.add $8=, $8, $pop101 i32.const $push100=, -1 i32.add $28=, $28, $pop100 - br_if $28, 0 # 0: up to label4 + br_if 0, $28 # 0: up to label4 .LBB0_5: # %for.end # in Loop: Header=BB0_2 Depth=1 end_loop # label5: @@ -65,7 +65,7 @@ foo: # @foo i32.const $push102=, 1 i32.add $7=, $7, $pop102 i32.lt_s $push12=, $7, $3 - br_if $pop12, 0 # 0: up to label1 + br_if 0, $pop12 # 0: up to label1 .LBB0_6: # %for.cond12.preheader end_loop # label2: end_block # label0: @@ -74,7 +74,7 @@ foo: # @foo i32.add $push0=, $3, $pop13 tee_local $push93=, $26=, $pop0 i32.ge_s $push14=, $7, $pop93 - br_if $pop14, 0 # 0: down to label6 + br_if 0, $pop14 # 0: down to label6 # BB#7: # %for.body15.lr.ph i32.const $push15=, -16 i32.add $push16=, $3, $pop15 @@ -141,7 +141,7 @@ foo: # @foo block i32.const $push105=, 2 i32.lt_s $push34=, $2, $pop105 - br_if $pop34, 0 # 0: down to label9 + br_if 0, $pop34 # 0: down to label9 .LBB0_9: # %for.body33 # Parent Loop BB0_8 Depth=1 # => This Inner Loop Header: Depth=2 @@ -209,7 +209,7 @@ foo: # @foo i32.add $9=, $9, $pop122 i32.const $push121=, -1 i32.add $8=, $8, $pop121 - br_if $8, 0 # 0: up to label10 + br_if 0, $8 # 0: up to label10 .LBB0_10: # %for.end56 # in Loop: Header=BB0_8 Depth=1 end_loop # label11: @@ -259,7 +259,7 @@ foo: # @foo i32.const $push136=, 16 i32.add $7=, $7, $pop136 i32.lt_s $push78=, $7, $26 - br_if $pop78, 0 # 0: up to label7 + br_if 0, $pop78 # 0: up to label7 # BB#11: # %for.cond73.preheader.loopexit end_loop # label8: i32.const $push79=, 16 @@ -268,7 +268,7 @@ foo: # @foo end_block # label6: block i32.ge_s $push80=, $7, $3 - br_if $pop80, 0 # 0: down to label12 + br_if 0, $pop80 # 0: down to label12 # BB#13: # %for.body75.lr.ph i32.load $27=, 0($1) i32.const $push104=, 4 @@ -289,7 +289,7 @@ foo: # @foo block i32.const $push150=, 2 i32.lt_s $push83=, $2, $pop150 - br_if $pop83, 0 # 0: down to label15 + br_if 0, $pop83 # 0: down to label15 .LBB0_15: # %for.body81 # Parent Loop BB0_14 Depth=1 # => This Inner Loop Header: Depth=2 @@ -302,7 +302,7 @@ foo: # @foo i32.add $8=, $8, $pop154 i32.const $push153=, -1 i32.add $28=, $28, $pop153 - br_if $28, 0 # 0: up to label16 + br_if 0, $28 # 0: up to label16 .LBB0_16: # %for.end87 # in Loop: Header=BB0_14 Depth=1 end_loop # label17: @@ -312,7 +312,7 @@ foo: # @foo i32.const $push155=, 1 i32.add $7=, $7, $pop155 i32.ne $push88=, $7, $3 - br_if $pop88, 0 # 0: up to label13 + br_if 0, $pop88 # 0: up to label13 .LBB0_17: # %for.end91 end_loop # label14: end_block # label12: @@ -368,7 +368,7 @@ main: # @main i32.add $1=, $1, $pop34 i32.const $push33=, 16 i32.ne $push13=, $2, $pop33 - br_if $pop13, 0 # 0: up to label18 + br_if 0, $pop13 # 0: up to label18 # BB#2: # %for.end end_loop # label19: i32.const $2=, 0 @@ -400,7 +400,7 @@ main: # @main f32.add $push23=, $0, $pop22 f32.add $push25=, $pop24, $pop23 f32.ne $push27=, $pop26, $pop25 - br_if $pop27, 2 # 2: down to label20 + br_if 2, $pop27 # 2: down to label20 # BB#4: # %for.cond13 # in Loop: Header=BB1_3 Depth=1 i32.const $push44=, 1 @@ -409,7 +409,7 @@ main: # @main i32.add $1=, $1, $pop43 i32.const $push42=, 15 i32.le_s $push28=, $2, $pop42 - br_if $pop28, 0 # 0: up to label21 + br_if 0, $pop28 # 0: up to label21 # BB#5: # %for.end31 end_loop # label22: i32.const $push29=, 0 diff --git a/test/torture-s/20060905-1.c.s b/test/torture-s/20060905-1.c.s index 5ded7e428..b6fef0e2b 100644 --- a/test/torture-s/20060905-1.c.s +++ b/test/torture-s/20060905-1.c.s @@ -17,7 +17,7 @@ main: # @main block i32.const $push6=, 128 i32.lt_s $push0=, $1, $pop6 - br_if $pop0, 0 # 0: down to label2 + br_if 0, $pop0 # 0: down to label2 # BB#2: # %if.then.i # in Loop: Header=BB0_1 Depth=1 i32.const $push8=, 0 @@ -34,13 +34,13 @@ main: # @main i32.add $0=, $0, $pop10 i32.const $push9=, 256 i32.ne $push2=, $1, $pop9 - br_if $pop2, 0 # 0: up to label0 + br_if 0, $pop2 # 0: up to label0 # BB#4: # %foo.exit end_loop # label1: block i32.const $push3=, 128 i32.ne $push4=, $2, $pop3 - br_if $pop4, 0 # 0: down to label3 + br_if 0, $pop4 # 0: down to label3 # BB#5: # %if.end i32.const $push5=, 0 return $pop5 diff --git a/test/torture-s/20060910-1.c.s b/test/torture-s/20060910-1.c.s index 64bf01aad..6d884316f 100644 --- a/test/torture-s/20060910-1.c.s +++ b/test/torture-s/20060910-1.c.s @@ -29,7 +29,7 @@ check_header: # @check_header i32.load $push0=, 4($0) tee_local $push21=, $1=, $pop0 i32.ge_u $push6=, $pop22, $pop21 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %cond.true i32.const $push7=, 1 i32.add $push1=, $2, $pop7 @@ -38,7 +38,7 @@ check_header: # @check_header end_block # label0: block i32.ge_u $push8=, $2, $1 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#3: # %cond.true.1 i32.const $push9=, 1 i32.add $push2=, $2, $pop9 @@ -47,7 +47,7 @@ check_header: # @check_header end_block # label1: block i32.ge_u $push10=, $2, $1 - br_if $pop10, 0 # 0: down to label2 + br_if 0, $pop10 # 0: down to label2 # BB#5: # %cond.true.2 i32.const $push11=, 1 i32.add $push3=, $2, $pop11 @@ -56,7 +56,7 @@ check_header: # @check_header end_block # label2: block i32.ge_u $push12=, $2, $1 - br_if $pop12, 0 # 0: down to label3 + br_if 0, $pop12 # 0: down to label3 # BB#7: # %cond.true.3 i32.const $push13=, 1 i32.add $push4=, $2, $pop13 @@ -65,7 +65,7 @@ check_header: # @check_header end_block # label3: block i32.ge_u $push14=, $2, $1 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#9: # %cond.true.4 i32.const $push15=, 1 i32.add $push5=, $2, $pop15 @@ -74,7 +74,7 @@ check_header: # @check_header end_block # label4: block i32.ge_u $push16=, $2, $1 - br_if $pop16, 0 # 0: down to label5 + br_if 0, $pop16 # 0: down to label5 # BB#11: # %cond.true.5 i32.const $push17=, 1 i32.add $push18=, $2, $pop17 diff --git a/test/torture-s/20060930-1.c.s b/test/torture-s/20060930-1.c.s index c8ab5350f..d8a177f7e 100644 --- a/test/torture-s/20060930-1.c.s +++ b/test/torture-s/20060930-1.c.s @@ -11,7 +11,7 @@ bar: # @bar block i32.const $push0=, 1 i32.ne $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return $1 .LBB0_2: # %if.then @@ -32,7 +32,7 @@ foo: # @foo block i32.const $push4=, 1 i32.lt_s $push5=, $1, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#1: # %for.body.lr.ph i32.const $push1=, 0 i32.const $push12=, 0 @@ -52,7 +52,7 @@ foo: # @foo i32.call $discard=, bar@FUNCTION, $1, $0 i32.const $push13=, -1 i32.add $1=, $1, $pop13 - br_if $1, 0 # 0: up to label2 + br_if 0, $1 # 0: up to label2 .LBB1_3: # %for.end end_loop # label3: end_block # label1: diff --git a/test/torture-s/20060930-2.c.s b/test/torture-s/20060930-2.c.s index e8c1d2b17..4946c8163 100644 --- a/test/torture-s/20060930-2.c.s +++ b/test/torture-s/20060930-2.c.s @@ -34,7 +34,7 @@ main: # @main i32.const $push5=, s i32.call $push3=, bar@FUNCTION, $pop2, $pop5 i32.ne $push4=, $pop1, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push7=, 0 return $pop7 diff --git a/test/torture-s/20061031-1.c.s b/test/torture-s/20061031-1.c.s index fdae7fd32..0592716b9 100644 --- a/test/torture-s/20061031-1.c.s +++ b/test/torture-s/20061031-1.c.s @@ -29,7 +29,7 @@ f: # @f tee_local $push6=, $1=, $pop0 i32.const $push5=, 65535 i32.and $push2=, $pop6, $pop5 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then #APP #NO_APP @@ -40,7 +40,7 @@ f: # @f i32.add $push3=, $1, $0 i32.const $push7=, 65535 i32.and $push4=, $pop3, $pop7 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#3: # %if.then.1 #APP #NO_APP diff --git a/test/torture-s/20061101-1.c.s b/test/torture-s/20061101-1.c.s index fba815bb6..80733eeab 100644 --- a/test/torture-s/20061101-1.c.s +++ b/test/torture-s/20061101-1.c.s @@ -11,7 +11,7 @@ tar: # @tar block i32.const $push0=, 36863 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, -1 return $pop2 @@ -43,7 +43,7 @@ bug: # @bug i32.and $push1=, $3, $pop6 i32.const $push9=, 0 i32.eq $push10=, $pop1, $pop9 - br_if $pop10, 2 # 2: down to label1 + br_if 2, $pop10 # 2: down to label1 # BB#2: # %while.body # in Loop: Header=BB1_1 Depth=1 i32.const $push8=, 1 @@ -54,7 +54,7 @@ bug: # @bug i32.mul $push4=, $0, $1 i32.const $push7=, 36863 i32.eq $push5=, $pop4, $pop7 - br_if $pop5, 0 # 0: up to label2 + br_if 0, $pop5 # 0: up to label2 # BB#3: # %if.then.i end_loop # label3: call abort@FUNCTION diff --git a/test/torture-s/20061101-2.c.s b/test/torture-s/20061101-2.c.s index f6f3e9e03..c23cdd870 100644 --- a/test/torture-s/20061101-2.c.s +++ b/test/torture-s/20061101-2.c.s @@ -11,7 +11,7 @@ tar: # @tar block i32.const $push0=, 36863 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, -1 return $pop2 @@ -43,7 +43,7 @@ bug: # @bug i32.and $push1=, $3, $pop6 i32.const $push9=, 0 i32.eq $push10=, $pop1, $pop9 - br_if $pop10, 2 # 2: down to label1 + br_if 2, $pop10 # 2: down to label1 # BB#2: # %while.body # in Loop: Header=BB1_1 Depth=1 i32.const $push8=, 1 @@ -54,7 +54,7 @@ bug: # @bug i32.mul $push4=, $0, $1 i32.const $push7=, 36863 i32.eq $push5=, $pop4, $pop7 - br_if $pop5, 0 # 0: up to label2 + br_if 0, $pop5 # 0: up to label2 # BB#3: # %if.then.i end_loop # label3: call abort@FUNCTION diff --git a/test/torture-s/20070212-3.c.s b/test/torture-s/20070212-3.c.s index a030e0be8..0dc761d96 100644 --- a/test/torture-s/20070212-3.c.s +++ b/test/torture-s/20070212-3.c.s @@ -19,7 +19,7 @@ bar: # @bar block i32.const $push6=, 0 i32.eq $push7=, $3, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.then3 i32.load $1=, 0($4) .LBB0_2: # %if.end5 diff --git a/test/torture-s/20070424-1.c.s b/test/torture-s/20070424-1.c.s index dce2eba4c..30933d125 100644 --- a/test/torture-s/20070424-1.c.s +++ b/test/torture-s/20070424-1.c.s @@ -34,7 +34,7 @@ foo: # @foo # BB#0: # %entry block i32.ge_s $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %doit call do_abort@FUNCTION unreachable diff --git a/test/torture-s/20070517-1.c.s b/test/torture-s/20070517-1.c.s index 2337708df..823aabe3f 100644 --- a/test/torture-s/20070517-1.c.s +++ b/test/torture-s/20070517-1.c.s @@ -13,7 +13,7 @@ main: # @main tee_local $push12=, $0=, $pop1 i32.const $push3=, 10 i32.gt_u $push4=, $pop12, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %entry i32.const $push5=, 1 i32.shl $push6=, $pop5, $0 @@ -21,13 +21,13 @@ main: # @main i32.and $push8=, $pop6, $pop7 i32.const $push13=, 0 i32.eq $push14=, $pop8, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#2: # %if.then.i i32.const $push2=, -9 i32.add $push0=, $0, $pop2 i32.const $push9=, 2 i32.lt_u $push10=, $pop0, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#3: # %if.else.i call abort@FUNCTION unreachable diff --git a/test/torture-s/20070614-1.c.s b/test/torture-s/20070614-1.c.s index 67faacf8c..bdeb9aa6b 100644 --- a/test/torture-s/20070614-1.c.s +++ b/test/torture-s/20070614-1.c.s @@ -12,13 +12,13 @@ foo: # @foo i32.const $push6=, 0 f64.load $push3=, v($pop6) f64.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %entry f64.load $push0=, 8($0) i32.const $push7=, 0 f64.load $push1=, v+8($pop7) f64.ne $push5=, $pop0, $pop1 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then @@ -66,7 +66,7 @@ baz: # @baz tee_local $push5=, $0=, $pop1 f64.ne $push2=, $pop5, $0 i32.or $push4=, $pop3, $pop2 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#1: # %for.body.preheader i32.const $push9=, 0 return $pop9 @@ -98,7 +98,7 @@ main: # @main i32.and $push4=, $pop3, $pop2 i32.const $push10=, 0 i32.eq $push11=, $pop4, $pop10 - br_if $pop11, 0 # 0: down to label2 + br_if 0, $pop11 # 0: down to label2 # BB#1: # %baz.exit i32.const $push9=, 0 return $pop9 diff --git a/test/torture-s/20070623-1.c.s b/test/torture-s/20070623-1.c.s index 1c33952f5..04d6b6923 100644 --- a/test/torture-s/20070623-1.c.s +++ b/test/torture-s/20070623-1.c.s @@ -181,7 +181,7 @@ main: # @main i32.const $push34=, -2147483648 i32.const $push33=, 2147483647 i32.call $push0=, nge@FUNCTION, $pop34, $pop33 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end block i32.const $push36=, 2147483647 @@ -189,13 +189,13 @@ main: # @main i32.call $push1=, nge@FUNCTION, $pop36, $pop35 i32.const $push2=, -1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %if.end4 block i32.const $push38=, -2147483648 i32.const $push37=, 2147483647 i32.call $push4=, ngt@FUNCTION, $pop38, $pop37 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#3: # %if.end8 block i32.const $push41=, 2147483647 @@ -203,7 +203,7 @@ main: # @main i32.call $push5=, ngt@FUNCTION, $pop41, $pop40 i32.const $push39=, -1 i32.ne $push6=, $pop5, $pop39 - br_if $pop6, 0 # 0: down to label3 + br_if 0, $pop6 # 0: down to label3 # BB#4: # %if.end12 block i32.const $push44=, -2147483648 @@ -211,13 +211,13 @@ main: # @main i32.call $push7=, nle@FUNCTION, $pop44, $pop43 i32.const $push42=, -1 i32.ne $push8=, $pop7, $pop42 - br_if $pop8, 0 # 0: down to label4 + br_if 0, $pop8 # 0: down to label4 # BB#5: # %if.end16 block i32.const $push46=, 2147483647 i32.const $push45=, -2147483648 i32.call $push9=, nle@FUNCTION, $pop46, $pop45 - br_if $pop9, 0 # 0: down to label5 + br_if 0, $pop9 # 0: down to label5 # BB#6: # %if.end20 block i32.const $push48=, -2147483648 @@ -225,25 +225,25 @@ main: # @main i32.call $push10=, nlt@FUNCTION, $pop48, $pop47 i32.const $push11=, -1 i32.ne $push12=, $pop10, $pop11 - br_if $pop12, 0 # 0: down to label6 + br_if 0, $pop12 # 0: down to label6 # BB#7: # %if.end24 block i32.const $push50=, 2147483647 i32.const $push49=, -2147483648 i32.call $push13=, nlt@FUNCTION, $pop50, $pop49 - br_if $pop13, 0 # 0: down to label7 + br_if 0, $pop13 # 0: down to label7 # BB#8: # %if.end28 block i32.const $push52=, -2147483648 i32.const $push51=, 2147483647 i32.call $push14=, neq@FUNCTION, $pop52, $pop51 - br_if $pop14, 0 # 0: down to label8 + br_if 0, $pop14 # 0: down to label8 # BB#9: # %if.end32 block i32.const $push54=, 2147483647 i32.const $push53=, -2147483648 i32.call $push15=, neq@FUNCTION, $pop54, $pop53 - br_if $pop15, 0 # 0: down to label9 + br_if 0, $pop15 # 0: down to label9 # BB#10: # %if.end36 block i32.const $push57=, -2147483648 @@ -251,7 +251,7 @@ main: # @main i32.call $push16=, nne@FUNCTION, $pop57, $pop56 i32.const $push55=, -1 i32.ne $push17=, $pop16, $pop55 - br_if $pop17, 0 # 0: down to label10 + br_if 0, $pop17 # 0: down to label10 # BB#11: # %if.end40 block i32.const $push60=, 2147483647 @@ -259,13 +259,13 @@ main: # @main i32.call $push18=, nne@FUNCTION, $pop60, $pop59 i32.const $push58=, -1 i32.ne $push19=, $pop18, $pop58 - br_if $pop19, 0 # 0: down to label11 + br_if 0, $pop19 # 0: down to label11 # BB#12: # %if.end44 block i32.const $push62=, 0 i32.const $push61=, -1 i32.call $push20=, ngeu@FUNCTION, $pop62, $pop61 - br_if $pop20, 0 # 0: down to label12 + br_if 0, $pop20 # 0: down to label12 # BB#13: # %if.end48 block i32.const $push65=, -1 @@ -273,13 +273,13 @@ main: # @main i32.call $push21=, ngeu@FUNCTION, $pop65, $pop64 i32.const $push63=, -1 i32.ne $push22=, $pop21, $pop63 - br_if $pop22, 0 # 0: down to label13 + br_if 0, $pop22 # 0: down to label13 # BB#14: # %if.end52 block i32.const $push67=, 0 i32.const $push66=, -1 i32.call $push23=, ngtu@FUNCTION, $pop67, $pop66 - br_if $pop23, 0 # 0: down to label14 + br_if 0, $pop23 # 0: down to label14 # BB#15: # %if.end56 block i32.const $push70=, -1 @@ -287,7 +287,7 @@ main: # @main i32.call $push24=, ngtu@FUNCTION, $pop70, $pop69 i32.const $push68=, -1 i32.ne $push25=, $pop24, $pop68 - br_if $pop25, 0 # 0: down to label15 + br_if 0, $pop25 # 0: down to label15 # BB#16: # %if.end60 block i32.const $push73=, 0 @@ -295,13 +295,13 @@ main: # @main i32.call $push26=, nleu@FUNCTION, $pop73, $pop72 i32.const $push71=, -1 i32.ne $push27=, $pop26, $pop71 - br_if $pop27, 0 # 0: down to label16 + br_if 0, $pop27 # 0: down to label16 # BB#17: # %if.end64 block i32.const $push75=, -1 i32.const $push74=, 0 i32.call $push28=, nleu@FUNCTION, $pop75, $pop74 - br_if $pop28, 0 # 0: down to label17 + br_if 0, $pop28 # 0: down to label17 # BB#18: # %if.end68 block i32.const $push78=, 0 @@ -309,13 +309,13 @@ main: # @main i32.call $push29=, nltu@FUNCTION, $pop78, $pop77 i32.const $push76=, -1 i32.ne $push30=, $pop29, $pop76 - br_if $pop30, 0 # 0: down to label18 + br_if 0, $pop30 # 0: down to label18 # BB#19: # %if.end72 block i32.const $push80=, -1 i32.const $push79=, 0 i32.call $push31=, nltu@FUNCTION, $pop80, $pop79 - br_if $pop31, 0 # 0: down to label19 + br_if 0, $pop31 # 0: down to label19 # BB#20: # %if.end76 i32.const $push32=, 0 call exit@FUNCTION, $pop32 diff --git a/test/torture-s/20071011-1.c.s b/test/torture-s/20071011-1.c.s index 6f7c7cb8e..9a9e4699d 100644 --- a/test/torture-s/20071011-1.c.s +++ b/test/torture-s/20071011-1.c.s @@ -14,7 +14,7 @@ foo: # @foo block i32.const $push1=, 0 i32.eq $push2=, $1, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then return .LBB0_2: # %if.end diff --git a/test/torture-s/20071018-1.c.s b/test/torture-s/20071018-1.c.s index 04de9588a..2f2946687 100644 --- a/test/torture-s/20071018-1.c.s +++ b/test/torture-s/20071018-1.c.s @@ -52,7 +52,7 @@ main: # @main i32.call $push1=, foo@FUNCTION, $pop0 i32.const $push3=, 0 i32.eq $push4=, $pop1, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 return $pop2 diff --git a/test/torture-s/20071029-1.c.s b/test/torture-s/20071029-1.c.s index 26001546a..ec9736970 100644 --- a/test/torture-s/20071029-1.c.s +++ b/test/torture-s/20071029-1.c.s @@ -18,43 +18,43 @@ test: # @test i32.store $2=, test.i($pop1), $pop0 block i32.ne $push4=, $1, $3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end block i32.load $push5=, 4($0) - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %lor.lhs.false i32.load $push6=, 8($0) - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#3: # %lor.lhs.false6 i32.load $push7=, 12($0) - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#4: # %lor.lhs.false10 i32.load $push8=, 16($0) - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#5: # %lor.lhs.false13 i32.load $push9=, 20($0) - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#6: # %lor.lhs.false16 i32.load $push10=, 24($0) - br_if $pop10, 0 # 0: down to label1 + br_if 0, $pop10 # 0: down to label1 # BB#7: # %lor.lhs.false20 i32.load $push11=, 28($0) - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#8: # %lor.lhs.false23 i32.load $push12=, 32($0) - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#9: # %lor.lhs.false26 i32.load $push13=, 36($0) - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#10: # %lor.lhs.false29 i32.load $push14=, 40($0) - br_if $pop14, 0 # 0: down to label1 + br_if 0, $pop14 # 0: down to label1 # BB#11: # %if.end34 block i32.const $push15=, 20 i32.eq $push16=, $2, $pop15 - br_if $pop16, 0 # 0: down to label2 + br_if 0, $pop16 # 0: down to label2 # BB#12: # %if.end37 return .LBB0_13: # %if.then36 diff --git a/test/torture-s/20071030-1.c.s b/test/torture-s/20071030-1.c.s index 7f14bc6e3..1d481fa1f 100644 --- a/test/torture-s/20071030-1.c.s +++ b/test/torture-s/20071030-1.c.s @@ -19,7 +19,7 @@ CalcPing: # @CalcPing i32.wrap/i64 $push1=, $pop17 i32.const $push2=, 1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %if.then i64.const $push15=, 32 i64.shr_u $push16=, $4, $pop15 @@ -42,13 +42,13 @@ CalcPing: # @CalcPing i32.add $1=, $1, $pop8 i32.const $push9=, 1552 i32.ne $push10=, $1, $pop9 - br_if $pop10, 0 # 0: up to label2 + br_if 0, $pop10 # 0: up to label2 # BB#3: # %for.end end_loop # label3: i32.const $1=, 9999 i32.const $push21=, 0 i32.eq $push22=, $2, $pop21 - br_if $pop22, 0 # 0: down to label0 + br_if 0, $pop22 # 0: down to label0 # BB#4: # %if.end9 f32.convert_s/i32 $push11=, $2 f32.div $push12=, $3, $pop11 @@ -108,13 +108,13 @@ main: # @main i32.add $0=, $0, $pop19 i32.const $push18=, 1552 i32.ne $push7=, $0, $pop18 - br_if $pop7, 0 # 0: up to label4 + br_if 0, $pop7 # 0: up to label4 # BB#2: # %for.end.i end_loop # label5: block i32.const $push23=, 0 i32.eq $push24=, $1, $pop23 - br_if $pop24, 0 # 0: down to label6 + br_if 0, $pop24 # 0: down to label6 # BB#3: # %CalcPing.exit f32.convert_s/i32 $push8=, $1 f32.div $push9=, $2, $pop8 @@ -123,7 +123,7 @@ main: # @main i32.trunc_s/f32 $push12=, $pop11 i32.const $push13=, 1000 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label6 + br_if 0, $pop14 # 0: down to label6 # BB#4: # %if.end i32.const $push15=, 0 i32.const $7=, 1552 diff --git a/test/torture-s/20071108-1.c.s b/test/torture-s/20071108-1.c.s index adecc724d..7595ba10f 100644 --- a/test/torture-s/20071108-1.c.s +++ b/test/torture-s/20071108-1.c.s @@ -69,23 +69,23 @@ main: # @main i32.add $6=, $8, $6 block i32.ne $push2=, $pop1, $6 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false2 i32.load $push3=, 4($0) i32.const $7=, 8 i32.add $7=, $8, $7 i32.ne $push4=, $pop3, $7 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#2: # %lor.lhs.false4 i32.load16_u $push5=, 8($0):p2align=2 tee_local $push12=, $0=, $pop5 i32.const $push6=, 255 i32.and $push7=, $pop12, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#3: # %lor.lhs.false4 i32.const $push8=, 256 i32.ge_u $push9=, $0, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#4: # %if.end i32.const $push10=, 0 i32.const $3=, 16 diff --git a/test/torture-s/20071120-1.c.s b/test/torture-s/20071120-1.c.s index d119b9770..d84dd2cea 100644 --- a/test/torture-s/20071120-1.c.s +++ b/test/torture-s/20071120-1.c.s @@ -42,7 +42,7 @@ pop_to_parent_deferring_access_checks: # @pop_to_parent_deferring_access_checks tee_local $push14=, $0=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop14, $pop20 - br_if $pop21, 0 # 0: down to label4 + br_if 0, $pop21 # 0: down to label4 # BB#1: # %if.then i32.const $push16=, 0 i32.const $push3=, -1 @@ -56,20 +56,20 @@ pop_to_parent_deferring_access_checks: # @pop_to_parent_deferring_access_checks tee_local $push17=, $0=, $pop1 i32.const $push22=, 0 i32.eq $push23=, $pop17, $pop22 - br_if $pop23, 3 # 3: down to label0 + br_if 3, $pop23 # 3: down to label0 # BB#3: # %land.lhs.true.i i32.load $push2=, 0($0) tee_local $push19=, $1=, $pop2 i32.const $push24=, 0 i32.eq $push25=, $pop19, $pop24 - br_if $pop25, 3 # 3: down to label0 + br_if 3, $pop25 # 3: down to label0 # BB#4: # %land.lhs.true.i25 i32.const $push5=, -1 i32.add $push6=, $1, $pop5 i32.store $push7=, 0($0), $pop6 i32.const $push26=, 0 i32.eq $push27=, $pop7, $pop26 - br_if $pop27, 2 # 2: down to label1 + br_if 2, $pop27 # 2: down to label1 # BB#5: # %VEC_deferred_access_base_last.exit29 i32.const $push8=, 3 i32.shl $push9=, $1, $pop8 @@ -79,7 +79,7 @@ pop_to_parent_deferring_access_checks: # @pop_to_parent_deferring_access_checks i32.load $push13=, 0($pop12) i32.const $push28=, 0 i32.eq $push29=, $pop13, $pop28 - br_if $pop29, 1 # 1: down to label2 + br_if 1, $pop29 # 1: down to label2 .LBB2_6: # %if.end16 end_block # label3: return diff --git a/test/torture-s/20071202-1.c.s b/test/torture-s/20071202-1.c.s index cd585cff6..68cf538ac 100644 --- a/test/torture-s/20071202-1.c.s +++ b/test/torture-s/20071202-1.c.s @@ -55,7 +55,7 @@ main: # @main i32.load $push2=, 8($19):p2align=3 i32.const $push3=, 12 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $push5=, 4 i32.const $5=, 8 @@ -64,51 +64,51 @@ main: # @main i32.load $push7=, 0($pop6) i32.const $push8=, 6 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.load $push10=, 16($19):p2align=3 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#3: # %lor.lhs.false3 i32.const $push11=, 12 i32.const $6=, 8 i32.add $6=, $19, $6 i32.add $push12=, $6, $pop11 i32.load $push13=, 0($pop12) - br_if $pop13, 0 # 0: down to label0 + br_if 0, $pop13 # 0: down to label0 # BB#4: # %lor.lhs.false7 i32.const $push14=, 16 i32.const $7=, 8 i32.add $7=, $19, $7 i32.add $push15=, $7, $pop14 i32.load $push16=, 0($pop15):p2align=3 - br_if $pop16, 0 # 0: down to label0 + br_if 0, $pop16 # 0: down to label0 # BB#5: # %lor.lhs.false11 i32.const $push17=, 20 i32.const $8=, 8 i32.add $8=, $19, $8 i32.add $push18=, $8, $pop17 i32.load $push19=, 0($pop18) - br_if $pop19, 0 # 0: down to label0 + br_if 0, $pop19 # 0: down to label0 # BB#6: # %lor.lhs.false15 i32.const $push20=, 24 i32.const $9=, 8 i32.add $9=, $19, $9 i32.add $push21=, $9, $pop20 i32.load $push22=, 0($pop21):p2align=3 - br_if $pop22, 0 # 0: down to label0 + br_if 0, $pop22 # 0: down to label0 # BB#7: # %lor.lhs.false19 i32.const $push23=, 28 i32.const $10=, 8 i32.add $10=, $19, $10 i32.add $push24=, $10, $pop23 i32.load $push25=, 0($pop24) - br_if $pop25, 0 # 0: down to label0 + br_if 0, $pop25 # 0: down to label0 # BB#8: # %if.end block i32.load $push26=, 40($19):p2align=3 i32.const $push27=, 7 i32.ne $push28=, $pop26, $pop27 - br_if $pop28, 0 # 0: down to label1 + br_if 0, $pop28 # 0: down to label1 # BB#9: # %lor.lhs.false24 i32.const $push29=, 36 i32.const $11=, 8 @@ -117,7 +117,7 @@ main: # @main i32.load $push31=, 0($pop30) i32.const $push32=, 8 i32.ne $push33=, $pop31, $pop32 - br_if $pop33, 0 # 0: down to label1 + br_if 0, $pop33 # 0: down to label1 # BB#10: # %lor.lhs.false28 i32.const $push34=, 40 i32.const $12=, 8 @@ -126,7 +126,7 @@ main: # @main i32.load $push36=, 0($pop35):p2align=3 i32.const $push37=, 9 i32.ne $push38=, $pop36, $pop37 - br_if $pop38, 0 # 0: down to label1 + br_if 0, $pop38 # 0: down to label1 # BB#11: # %lor.lhs.false33 i32.const $push39=, 44 i32.const $13=, 8 @@ -135,7 +135,7 @@ main: # @main i32.load $push41=, 0($pop40) i32.const $push42=, 10 i32.ne $push43=, $pop41, $pop42 - br_if $pop43, 0 # 0: down to label1 + br_if 0, $pop43 # 0: down to label1 # BB#12: # %lor.lhs.false38 i32.const $push44=, 48 i32.const $14=, 8 @@ -144,7 +144,7 @@ main: # @main i32.load $push46=, 0($pop45):p2align=3 i32.const $push47=, 11 i32.ne $push48=, $pop46, $pop47 - br_if $pop48, 0 # 0: down to label1 + br_if 0, $pop48 # 0: down to label1 # BB#13: # %lor.lhs.false43 i32.const $push49=, 52 i32.const $15=, 8 @@ -153,7 +153,7 @@ main: # @main i32.load $push51=, 0($pop50) i32.const $push52=, 12 i32.ne $push53=, $pop51, $pop52 - br_if $pop53, 0 # 0: down to label1 + br_if 0, $pop53 # 0: down to label1 # BB#14: # %lor.lhs.false48 i32.const $push54=, 56 i32.const $16=, 8 @@ -162,7 +162,7 @@ main: # @main i32.load $push56=, 0($pop55):p2align=3 i32.const $push57=, 13 i32.ne $push58=, $pop56, $pop57 - br_if $pop58, 0 # 0: down to label1 + br_if 0, $pop58 # 0: down to label1 # BB#15: # %lor.lhs.false53 i32.const $push59=, 60 i32.const $17=, 8 @@ -171,7 +171,7 @@ main: # @main i32.load $push61=, 0($pop60) i32.const $push62=, 14 i32.ne $push63=, $pop61, $pop62 - br_if $pop63, 0 # 0: down to label1 + br_if 0, $pop63 # 0: down to label1 # BB#16: # %lor.lhs.false58 i32.const $push64=, 64 i32.const $18=, 8 @@ -180,7 +180,7 @@ main: # @main i32.load $push66=, 0($pop65):p2align=3 i32.const $push67=, 15 i32.ne $push68=, $pop66, $pop67 - br_if $pop68, 0 # 0: down to label1 + br_if 0, $pop68 # 0: down to label1 # BB#17: # %if.end64 i32.const $push69=, 0 i32.const $2=, 80 diff --git a/test/torture-s/20071211-1.c.s b/test/torture-s/20071211-1.c.s index e4baa0548..ad6b6a683 100644 --- a/test/torture-s/20071211-1.c.s +++ b/test/torture-s/20071211-1.c.s @@ -35,7 +35,7 @@ main: # @main i64.and $push10=, $2, $pop9 i64.const $push11=, 0 i64.ne $push12=, $pop10, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#1: # %if.end i32.const $push18=, 0 return $pop18 diff --git a/test/torture-s/20071213-1.c.s b/test/torture-s/20071213-1.c.s index ad3366708..050ca66fb 100644 --- a/test/torture-s/20071213-1.c.s +++ b/test/torture-s/20071213-1.c.s @@ -20,12 +20,12 @@ h: # @h block i32.const $push0=, 5 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label2 + br_if 0, $pop1 # 0: down to label2 # BB#1: # %entry block i32.const $push2=, 1 i32.ne $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label3 + br_if 0, $pop3 # 0: down to label3 # BB#2: # %sw.bb i32.load $push18=, 12($5) i32.const $push34=, 3 @@ -40,7 +40,7 @@ h: # @h i32.load $push22=, 0($0) i32.const $push30=, 3 i32.ne $push23=, $pop22, $pop30 - br_if $pop23, 0 # 0: down to label4 + br_if 0, $pop23 # 0: down to label4 # BB#3: # %lor.lhs.false i32.load $push24=, 12($5) i32.const $push39=, 3 @@ -54,7 +54,7 @@ h: # @h i32.load $push28=, 0($0) i32.const $push35=, 4 i32.eq $push29=, $pop28, $pop35 - br_if $pop29, 3 # 3: down to label1 + br_if 3, $pop29 # 3: down to label1 .LBB0_4: # %if.then end_block # label4: call abort@FUNCTION @@ -77,7 +77,7 @@ h: # @h i32.load $push8=, 0($0) i32.const $push9=, 9 i32.ne $push10=, $pop8, $pop9 - br_if $pop10, 1 # 1: down to label0 + br_if 1, $pop10 # 1: down to label0 # BB#7: # %lor.lhs.false4 i32.load $push11=, 12($5) i32.const $push47=, 3 @@ -91,7 +91,7 @@ h: # @h i32.load $push15=, 0($0) i32.const $push16=, 10 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 1 # 1: down to label0 + br_if 1, $pop17 # 1: down to label0 .LBB0_8: # %return end_block # label1: i32.const $4=, 16 @@ -130,7 +130,7 @@ f1: # @f1 block i32.const $push1=, 1 i32.ne $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label8 + br_if 0, $pop2 # 0: down to label8 # BB#1: # %sw.bb.i i32.load $push19=, 12($5) i32.const $push37=, 3 @@ -145,7 +145,7 @@ f1: # @f1 i32.load $push23=, 0($0) i32.const $push33=, 3 i32.ne $push24=, $pop23, $pop33 - br_if $pop24, 0 # 0: down to label9 + br_if 0, $pop24 # 0: down to label9 # BB#2: # %lor.lhs.false.i i32.load $push25=, 12($5) i32.const $push42=, 3 @@ -159,11 +159,11 @@ f1: # @f1 i32.load $push29=, 0($0) i32.const $push38=, 4 i32.ne $push30=, $pop29, $pop38 - br_if $pop30, 0 # 0: down to label9 + br_if 0, $pop30 # 0: down to label9 # BB#3: # %h.exit i64.const $push31=, 2 i64.ne $push32=, $1, $pop31 - br_if $pop32, 2 # 2: down to label7 + br_if 2, $pop32 # 2: down to label7 # BB#4: # %if.end i32.const $4=, 16 i32.add $5=, $6, $4 @@ -178,7 +178,7 @@ f1: # @f1 end_block # label8: i32.const $push3=, 5 i32.ne $push4=, $0, $pop3 - br_if $pop4, 2 # 2: down to label5 + br_if 2, $pop4 # 2: down to label5 # BB#7: # %sw.bb2.i i32.load $push5=, 12($5) i32.const $push46=, 3 @@ -192,7 +192,7 @@ f1: # @f1 i32.load $push9=, 0($0) i32.const $push10=, 9 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 1 # 1: down to label6 + br_if 1, $pop11 # 1: down to label6 # BB#8: # %lor.lhs.false4.i i32.load $push12=, 12($5) i32.const $push50=, 3 @@ -206,7 +206,7 @@ f1: # @f1 i32.load $push16=, 0($0) i32.const $push17=, 10 i32.ne $push18=, $pop16, $pop17 - br_if $pop18, 1 # 1: down to label6 + br_if 1, $pop18 # 1: down to label6 .LBB1_9: # %if.then end_block # label7: call abort@FUNCTION @@ -245,12 +245,12 @@ f2: # @f2 block i32.const $push1=, 5 i32.eq $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label12 + br_if 0, $pop2 # 0: down to label12 # BB#1: # %entry block i32.const $push3=, 1 i32.ne $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label13 + br_if 0, $pop4 # 0: down to label13 # BB#2: # %sw.bb.i i32.load $push19=, 12($8) i32.const $push43=, 3 @@ -265,7 +265,7 @@ f2: # @f2 i32.load $push23=, 0($4) i32.const $push39=, 3 i32.ne $push24=, $pop23, $pop39 - br_if $pop24, 0 # 0: down to label14 + br_if 0, $pop24 # 0: down to label14 # BB#3: # %lor.lhs.false.i i32.load $push25=, 12($8) i32.const $push48=, 3 @@ -279,7 +279,7 @@ f2: # @f2 i32.load $push29=, 0($4) i32.const $push44=, 4 i32.eq $push30=, $pop29, $pop44 - br_if $pop30, 3 # 3: down to label11 + br_if 3, $pop30 # 3: down to label11 .LBB2_4: # %if.then.i end_block # label14: call abort@FUNCTION @@ -302,7 +302,7 @@ f2: # @f2 i32.load $push9=, 0($4) i32.const $push10=, 9 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 1 # 1: down to label10 + br_if 1, $pop11 # 1: down to label10 # BB#7: # %lor.lhs.false4.i i32.load $push12=, 12($8) i32.const $push56=, 3 @@ -316,25 +316,25 @@ f2: # @f2 i32.load $push16=, 0($4) i32.const $push17=, 10 i32.ne $push18=, $pop16, $pop17 - br_if $pop18, 1 # 1: down to label10 + br_if 1, $pop18 # 1: down to label10 .LBB2_8: # %h.exit end_block # label11: block i32.const $push31=, 5 i32.ne $push32=, $0, $pop31 - br_if $pop32, 0 # 0: down to label15 + br_if 0, $pop32 # 0: down to label15 # BB#9: # %h.exit i32.const $push33=, 6 i32.ne $push34=, $1, $pop33 - br_if $pop34, 0 # 0: down to label15 + br_if 0, $pop34 # 0: down to label15 # BB#10: # %h.exit i32.const $push35=, 7 i32.ne $push36=, $2, $pop35 - br_if $pop36, 0 # 0: down to label15 + br_if 0, $pop36 # 0: down to label15 # BB#11: # %h.exit i64.const $push37=, 8 i64.ne $push38=, $3, $pop37 - br_if $pop38, 0 # 0: down to label15 + br_if 0, $pop38 # 0: down to label15 # BB#12: # %if.end i32.const $7=, 16 i32.add $8=, $9, $7 diff --git a/test/torture-s/20071216-1.c.s b/test/torture-s/20071216-1.c.s index 5fab54294..1ed6786cb 100644 --- a/test/torture-s/20071216-1.c.s +++ b/test/torture-s/20071216-1.c.s @@ -58,7 +58,7 @@ main: # @main i32.lt_u $push1=, $1, $pop21 i32.select $push4=, $1, $pop3, $pop1 i32.ne $push5=, $0, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push31=, 0 i32.const $push6=, -39 @@ -75,7 +75,7 @@ main: # @main i32.select $push10=, $1, $pop9, $pop7 i32.const $push26=, -1 i32.ne $push11=, $pop10, $pop26 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#2: # %if.end4 i32.const $push33=, 0 i32.const $push12=, -38 @@ -91,7 +91,7 @@ main: # @main i32.select $push19=, $1, $pop18, $pop14 i32.const $push32=, -37 i32.ne $push20=, $pop19, $pop32 - br_if $pop20, 0 # 0: down to label2 + br_if 0, $pop20 # 0: down to label2 # BB#3: # %if.end8 i32.const $push34=, 0 return $pop34 diff --git a/test/torture-s/20071219-1.c.s b/test/torture-s/20071219-1.c.s index ab1aee5fa..adde832be 100644 --- a/test/torture-s/20071219-1.c.s +++ b/test/torture-s/20071219-1.c.s @@ -16,13 +16,13 @@ foo: # @foo i32.add $push0=, $0, $2 tee_local $push4=, $3=, $pop0 i32.load8_u $push1=, 0($pop4) - br_if $pop1, 2 # 2: down to label0 + br_if 2, $pop1 # 2: down to label0 # BB#2: # %if.else # in Loop: Header=BB0_1 Depth=1 block i32.const $push7=, 0 i32.eq $push8=, $1, $pop7 - br_if $pop8, 0 # 0: down to label3 + br_if 0, $pop8 # 0: down to label3 # BB#3: # %if.then3 # in Loop: Header=BB0_1 Depth=1 i32.store8 $discard=, 0($3), $1 @@ -33,7 +33,7 @@ foo: # @foo i32.add $2=, $2, $pop6 i32.const $push5=, 25 i32.lt_u $push2=, $2, $pop5 - br_if $pop2, 0 # 0: up to label1 + br_if 0, $pop2 # 0: up to label1 # BB#5: # %for.end end_loop # label2: i32.const $push3=, 0 diff --git a/test/torture-s/20080222-1.c.s b/test/torture-s/20080222-1.c.s index b4541801e..00a272e25 100644 --- a/test/torture-s/20080222-1.c.s +++ b/test/torture-s/20080222-1.c.s @@ -26,7 +26,7 @@ main: # @main i32.load8_u $push0=, space+4($pop3) i32.const $push1=, 5 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20080424-1.c.s b/test/torture-s/20080424-1.c.s index a2b0f9773..102e260ad 100644 --- a/test/torture-s/20080424-1.c.s +++ b/test/torture-s/20080424-1.c.s @@ -18,7 +18,7 @@ bar: # @bar i32.const $push3=, g+288 i32.add $push4=, $pop11, $pop3 i32.ne $push5=, $pop4, $0 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $push14=, 0 i32.const $push6=, 1 @@ -27,7 +27,7 @@ bar: # @bar i32.const $push8=, g i32.add $push9=, $2, $pop8 i32.ne $push10=, $pop9, $1 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then diff --git a/test/torture-s/20080502-1.c.s b/test/torture-s/20080502-1.c.s index 7a3301910..5760f13a1 100644 --- a/test/torture-s/20080502-1.c.s +++ b/test/torture-s/20080502-1.c.s @@ -48,7 +48,7 @@ main: # @main i64.const $push7=, -8905435550453399112 i64.const $push6=, 4611846683310179025 i32.call $push8=, __eqtf2@FUNCTION, $pop5, $pop4, $pop7, $pop6 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %if.end i32.const $push9=, 0 i32.const $2=, 16 diff --git a/test/torture-s/20080506-2.c.s b/test/torture-s/20080506-2.c.s index ac1a57f20..80356a453 100644 --- a/test/torture-s/20080506-2.c.s +++ b/test/torture-s/20080506-2.c.s @@ -17,7 +17,7 @@ foo: # @foo i32.const $push2=, 2 i32.store $push3=, 0($1), $pop2 i32.ne $push5=, $pop4, $pop3 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20080519-1.c.s b/test/torture-s/20080519-1.c.s index bfc01075a..9f27c3d4c 100644 --- a/test/torture-s/20080519-1.c.s +++ b/test/torture-s/20080519-1.c.s @@ -11,12 +11,12 @@ merge_overlapping_regs: # @merge_overlapping_regs i32.load $push0=, 0($0) i32.const $push4=, -1 i32.ne $push1=, $pop0, $pop4 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push2=, 4($0) i32.const $push5=, -1 i32.ne $push3=, $pop2, $pop5 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then @@ -50,7 +50,7 @@ regrename_optimize: # @regrename_optimize block i32.const $push30=, 0 i32.eq $push31=, $2, $pop30 - br_if $pop31, 0 # 0: down to label1 + br_if 0, $pop31 # 0: down to label1 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: @@ -71,7 +71,7 @@ regrename_optimize: # @regrename_optimize i32.or $3=, $3, $pop9 i32.const $push10=, 1 i32.add $1=, $1, $pop10 - br_if $2, 0 # 0: up to label2 + br_if 0, $2 # 0: up to label2 # BB#2: # %for.end end_loop # label3: i32.store $2=, 8($11), $4 @@ -83,7 +83,7 @@ regrename_optimize: # @regrename_optimize i32.store $discard=, 0($pop27), $3 i32.const $push13=, 0 i32.lt_s $push14=, $1, $pop13 - br_if $pop14, 0 # 0: down to label1 + br_if 0, $pop14 # 0: down to label1 # BB#3: # %if.end i32.load $push15=, 4($0) i32.const $push16=, 3 diff --git a/test/torture-s/20080522-1.c.s b/test/torture-s/20080522-1.c.s index 2f174361d..04f8b819f 100644 --- a/test/torture-s/20080522-1.c.s +++ b/test/torture-s/20080522-1.c.s @@ -60,14 +60,14 @@ main: # @main i32.call $push1=, foo@FUNCTION, $pop16 i32.const $push2=, 2 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end block i32.const $push18=, i i32.call $push4=, bar@FUNCTION, $pop18 i32.const $push17=, 1 i32.ne $push5=, $pop4, $pop17 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end4 i32.const $3=, 12 i32.add $3=, $5, $3 @@ -75,13 +75,13 @@ main: # @main i32.call $push6=, foo@FUNCTION, $3 i32.const $push19=, 1 i32.ne $push7=, $pop6, $pop19 - br_if $pop7, 0 # 0: down to label2 + br_if 0, $pop7 # 0: down to label2 # BB#3: # %if.end8 block i32.load $push8=, 12($5) i32.const $push20=, 2 i32.ne $push9=, $pop8, $pop20 - br_if $pop9, 0 # 0: down to label3 + br_if 0, $pop9 # 0: down to label3 # BB#4: # %if.end11 i32.const $4=, 12 i32.add $4=, $5, $4 @@ -89,13 +89,13 @@ main: # @main i32.call $push10=, bar@FUNCTION, $4 i32.const $push21=, 2 i32.ne $push11=, $pop10, $pop21 - br_if $pop11, 0 # 0: down to label4 + br_if 0, $pop11 # 0: down to label4 # BB#5: # %if.end15 block i32.load $push12=, 12($5) i32.const $push13=, 2 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label5 + br_if 0, $pop14 # 0: down to label5 # BB#6: # %if.end18 i32.const $push15=, 0 i32.const $2=, 16 diff --git a/test/torture-s/20080604-1.c.s b/test/torture-s/20080604-1.c.s index f8bd3c163..74298cb20 100644 --- a/test/torture-s/20080604-1.c.s +++ b/test/torture-s/20080604-1.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.load $push1=, x($pop0) i32.const $push2=, 0 i32.eq $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/20080813-1.c.s b/test/torture-s/20080813-1.c.s index 68b6156f4..c8c0b417d 100644 --- a/test/torture-s/20080813-1.c.s +++ b/test/torture-s/20080813-1.c.s @@ -22,7 +22,7 @@ bar: # @bar block i32.const $push0=, 255 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB1_2: # %if.then diff --git a/test/torture-s/20081103-1.c.s b/test/torture-s/20081103-1.c.s index 08b7d36b9..a667c0dee 100644 --- a/test/torture-s/20081103-1.c.s +++ b/test/torture-s/20081103-1.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.const $push0=, 0 i32.load $push1=, A($pop0) i32.ne $push3=, $pop2, $pop1 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -46,7 +46,7 @@ main: # @main i32.load $push0=, A($pop6) i32.store $push3=, 0($pop2):p2align=0, $pop0 i32.ne $push5=, $pop4, $pop3 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#1: # %foo.exit i32.const $push8=, 0 i32.const $2=, 16 diff --git a/test/torture-s/20081117-1.c.s b/test/torture-s/20081117-1.c.s index 16c4d9ceb..86bfc7cda 100644 --- a/test/torture-s/20081117-1.c.s +++ b/test/torture-s/20081117-1.c.s @@ -42,7 +42,7 @@ main: # @main i32.call $push2=, f@FUNCTION, $3, $pop1 i32.const $push5=, 0 i32.eq $push6=, $pop2, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 i32.const $2=, 16 diff --git a/test/torture-s/20081218-1.c.s b/test/torture-s/20081218-1.c.s index cb3b07394..443c9eeb7 100644 --- a/test/torture-s/20081218-1.c.s +++ b/test/torture-s/20081218-1.c.s @@ -48,7 +48,7 @@ main: # @main i32.call $push0=, foo@FUNCTION i32.const $push1=, 640034342 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 .LBB2_1: # %for.body # =>This Inner Loop Header: Depth=1 block @@ -56,14 +56,14 @@ main: # @main i32.load8_u $push3=, a($0) i32.const $push4=, 38 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 2 # 2: down to label1 + br_if 2, $pop5 # 2: down to label1 # BB#2: # %for.cond # in Loop: Header=BB2_1 Depth=1 i32.const $push6=, 1 i32.add $0=, $0, $pop6 i32.const $push7=, 519 i32.le_u $push8=, $0, $pop7 - br_if $pop8, 0 # 0: up to label2 + br_if 0, $pop8 # 0: up to label2 # BB#3: # %for.end end_loop # label3: call bar@FUNCTION @@ -73,7 +73,7 @@ main: # @main i32.load $push9=, a+4($pop17) i32.const $push10=, 909588022 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label4 + br_if 0, $pop11 # 0: down to label4 # BB#4: # %if.end9 i32.const $push18=, 0 i32.const $push12=, 909522486 @@ -85,14 +85,14 @@ main: # @main i32.load8_u $push13=, a($0) i32.const $push21=, 54 i32.ne $push14=, $pop13, $pop21 - br_if $pop14, 2 # 2: down to label5 + br_if 2, $pop14 # 2: down to label5 # BB#6: # %for.cond10 # in Loop: Header=BB2_5 Depth=1 i32.const $push20=, 1 i32.add $0=, $0, $pop20 i32.const $push19=, 519 i32.le_u $push15=, $0, $pop19 - br_if $pop15, 0 # 0: up to label6 + br_if 0, $pop15 # 0: up to label6 # BB#7: # %for.end22 end_loop # label7: i32.const $push16=, 0 diff --git a/test/torture-s/20090527-1.c.s b/test/torture-s/20090527-1.c.s index 88a29001b..6f29cfa98 100644 --- a/test/torture-s/20090527-1.c.s +++ b/test/torture-s/20090527-1.c.s @@ -13,7 +13,7 @@ new_unit: # @new_unit tee_local $push9=, $1=, $pop7 i32.const $push8=, 1 i32.ne $push0=, $pop9, $pop8 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.then i32.const $push2=, 4 i32.add $push3=, $0, $pop2 @@ -25,14 +25,14 @@ new_unit: # @new_unit i32.load $push4=, 0($0) i32.const $push10=, 1 i32.ne $push5=, $pop4, $pop10 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#3: # %if.then3 i32.const $push6=, 0 i32.store $discard=, 0($0), $pop6 .LBB0_4: # %if.end5 end_block # label1: block - br_if $1, 0 # 0: down to label2 + br_if 0, $1 # 0: down to label2 # BB#5: # %sw.epilog return .LBB0_6: # %sw.default diff --git a/test/torture-s/20090711-1.c.s b/test/torture-s/20090711-1.c.s index 81add38e3..45923def4 100644 --- a/test/torture-s/20090711-1.c.s +++ b/test/torture-s/20090711-1.c.s @@ -32,7 +32,7 @@ main: # @main i64.call $push1=, div@FUNCTION, $pop0 i64.const $push2=, -30212 i64.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20090814-1.c.s b/test/torture-s/20090814-1.c.s index a951dd5d7..bc38bac20 100644 --- a/test/torture-s/20090814-1.c.s +++ b/test/torture-s/20090814-1.c.s @@ -51,7 +51,7 @@ main: # @main i32.call $push3=, foo@FUNCTION, $pop1 i32.const $push4=, 42 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/20100316-1.c.s b/test/torture-s/20100316-1.c.s index e991b9a85..d1852118c 100644 --- a/test/torture-s/20100316-1.c.s +++ b/test/torture-s/20100316-1.c.s @@ -38,7 +38,7 @@ main: # @main block i32.const $push1=, f i32.call $push6=, foo@FUNCTION, $pop1 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.const $push10=, 0 return $pop10 diff --git a/test/torture-s/20100416-1.c.s b/test/torture-s/20100416-1.c.s index 4af5ad7b7..e9bf2d3a3 100644 --- a/test/torture-s/20100416-1.c.s +++ b/test/torture-s/20100416-1.c.s @@ -38,7 +38,7 @@ main: # @main i32.const $push28=, 0 i32.load $push3=, tests+8($pop28):p2align=3 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %for.cond i32.const $push37=, -1 i32.const $push36=, 1 @@ -50,7 +50,7 @@ main: # @main i32.const $push33=, 0 i32.load $push8=, tests+24($pop33):p2align=3 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#2: # %for.cond.1 i32.const $push42=, -1 i32.const $push41=, 1 @@ -62,7 +62,7 @@ main: # @main i32.const $push38=, 0 i32.load $push13=, tests+40($pop38):p2align=3 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#3: # %for.cond.2 i32.const $push47=, -1 i32.const $push46=, 1 @@ -74,7 +74,7 @@ main: # @main i32.const $push43=, 0 i32.load $push18=, tests+56($pop43):p2align=3 i32.ne $push19=, $pop17, $pop18 - br_if $pop19, 0 # 0: down to label0 + br_if 0, $pop19 # 0: down to label0 # BB#4: # %for.cond.3 i32.const $push24=, -1 i32.const $push23=, 1 @@ -86,7 +86,7 @@ main: # @main i32.const $push48=, 0 i32.load $push26=, tests+72($pop48):p2align=3 i32.ne $push27=, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label0 + br_if 0, $pop27 # 0: down to label0 # BB#5: # %for.cond.4 i32.const $push50=, 0 return $pop50 diff --git a/test/torture-s/20100805-1.c.s b/test/torture-s/20100805-1.c.s index 753c62291..140ed3352 100644 --- a/test/torture-s/20100805-1.c.s +++ b/test/torture-s/20100805-1.c.s @@ -13,7 +13,7 @@ foo: # @foo block i32.const $push6=, 0 i32.eq $push7=, $1, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -24,7 +24,7 @@ foo: # @foo i32.or $0=, $pop0, $pop2 i32.const $push3=, -1 i32.add $1=, $1, $pop3 - br_if $1, 0 # 0: up to label1 + br_if 0, $1 # 0: up to label1 .LBB0_2: # %for.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/20100827-1.c.s b/test/torture-s/20100827-1.c.s index c51445731..c0ea85d0b 100644 --- a/test/torture-s/20100827-1.c.s +++ b/test/torture-s/20100827-1.c.s @@ -14,7 +14,7 @@ foo: # @foo i32.load8_u $push0=, 0($0) i32.const $push7=, 0 i32.eq $push8=, $pop0, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 .LBB0_1: # %if.end # =>This Inner Loop Header: Depth=1 loop # label1: @@ -22,7 +22,7 @@ foo: # @foo tee_local $push5=, $2=, $pop1 i32.const $push9=, 0 i32.eq $push10=, $pop5, $pop9 - br_if $pop10, 1 # 1: down to label2 + br_if 1, $pop10 # 1: down to label2 # BB#2: # %if.end5 # in Loop: Header=BB0_1 Depth=1 i32.const $push2=, 1 @@ -30,7 +30,7 @@ foo: # @foo i32.const $push6=, 1 i32.add $push3=, $2, $pop6 i32.load8_u $push4=, 0($pop3) - br_if $pop4, 0 # 0: up to label1 + br_if 0, $pop4 # 0: up to label1 br 2 # 2: down to label0 .LBB0_3: # %if.then4 end_loop # label2: @@ -55,7 +55,7 @@ main: # @main i32.call $push1=, foo@FUNCTION, $pop0 i32.const $push2=, 1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label3 + br_if 0, $pop3 # 0: down to label3 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20101013-1.c.s b/test/torture-s/20101013-1.c.s index 5c74248e8..8582f7bc5 100644 --- a/test/torture-s/20101013-1.c.s +++ b/test/torture-s/20101013-1.c.s @@ -61,7 +61,7 @@ build_int_cst: # @build_int_cst block i64.const $push0=, 4 i64.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB3_2: # %if.then diff --git a/test/torture-s/20101025-1.c.s b/test/torture-s/20101025-1.c.s index 0f599803c..0dbfd5503 100644 --- a/test/torture-s/20101025-1.c.s +++ b/test/torture-s/20101025-1.c.s @@ -47,7 +47,7 @@ main: # @main i32.load $push0=, g_3($pop3) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/20111208-1.c.s b/test/torture-s/20111208-1.c.s index 832072ad0..7dd085d1b 100644 --- a/test/torture-s/20111208-1.c.s +++ b/test/torture-s/20111208-1.c.s @@ -22,7 +22,7 @@ pack_unpack: # @pack_unpack block loop # label3: i32.ge_u $push1=, $3, $2 - br_if $pop1, 4 # 4: down to label1 + br_if 4, $pop1 # 4: down to label1 # BB#3: # %while.body # in Loop: Header=BB0_2 Depth=2 i32.const $push9=, 1 @@ -31,13 +31,13 @@ pack_unpack: # @pack_unpack tee_local $push8=, $4=, $pop3 i32.const $push7=, 108 i32.eq $push4=, $pop8, $pop7 - br_if $pop4, 2 # 2: down to label2 + br_if 2, $pop4 # 2: down to label2 # BB#4: # %while.body # in Loop: Header=BB0_2 Depth=2 copy_local $3=, $1 i32.const $push10=, 115 i32.ne $push5=, $4, $pop10 - br_if $pop5, 0 # 0: up to label3 + br_if 0, $pop5 # 0: up to label3 # BB#5: # %sw.bb4 # in Loop: Header=BB0_1 Depth=1 end_loop # label4: @@ -97,7 +97,7 @@ main: # @main loop # label8: i32.const $push7=, .L.str.1+2 i32.ge_u $push0=, $2, $pop7 - br_if $pop0, 4 # 4: down to label6 + br_if 4, $pop0 # 4: down to label6 # BB#3: # %while.body.i # in Loop: Header=BB2_2 Depth=2 i32.const $push10=, 1 @@ -106,13 +106,13 @@ main: # @main tee_local $push9=, $3=, $pop3 i32.const $push8=, 108 i32.eq $push4=, $pop9, $pop8 - br_if $pop4, 2 # 2: down to label7 + br_if 2, $pop4 # 2: down to label7 # BB#4: # %while.body.i # in Loop: Header=BB2_2 Depth=2 copy_local $2=, $0 i32.const $push11=, 115 i32.ne $push5=, $3, $pop11 - br_if $pop5, 0 # 0: up to label8 + br_if 0, $pop5 # 0: up to label8 # BB#5: # %sw.bb4.i # in Loop: Header=BB2_1 Depth=1 end_loop # label9: @@ -134,7 +134,7 @@ main: # @main end_loop # label6: block i32.load8_u $push1=, 0($1) - br_if $pop1, 0 # 0: down to label10 + br_if 0, $pop1 # 0: down to label10 # BB#8: # %if.end i32.const $push2=, 0 return $pop2 diff --git a/test/torture-s/20111212-1.c.s b/test/torture-s/20111212-1.c.s index 5c127ecb4..d581bdbce 100644 --- a/test/torture-s/20111212-1.c.s +++ b/test/torture-s/20111212-1.c.s @@ -11,7 +11,7 @@ frob_entry: # @frob_entry i32.load $push0=, 0($0):p2align=0 i32.const $push1=, 63 i32.gt_u $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then i32.const $push3=, -1 i32.store $discard=, 0($0):p2align=0, $pop3 diff --git a/test/torture-s/20111227-1.c.s b/test/torture-s/20111227-1.c.s index f7ad1be80..d981ea8f7 100644 --- a/test/torture-s/20111227-1.c.s +++ b/test/torture-s/20111227-1.c.s @@ -10,7 +10,7 @@ bar: # @bar block i32.const $push0=, -1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -33,7 +33,7 @@ foo: # @foo block i32.const $push4=, 0 i32.eq $push5=, $1, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#1: # %if.then call bar@FUNCTION, $0 br 1 # 1: down to label1 diff --git a/test/torture-s/20111227-2.c.s b/test/torture-s/20111227-2.c.s index 0de0edb99..a5cd76e8d 100644 --- a/test/torture-s/20111227-2.c.s +++ b/test/torture-s/20111227-2.c.s @@ -10,7 +10,7 @@ bar: # @bar block i32.const $push1=, 2 i32.ne $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry i32.const $push16=, 0 i32.load16_u $push0=, s($pop16) @@ -18,7 +18,7 @@ bar: # @bar i32.and $push4=, $pop0, $pop3 i32.const $push5=, 255 i32.eq $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#2: # %if.then call abort@FUNCTION unreachable @@ -27,26 +27,26 @@ bar: # @bar block i32.const $push8=, 1 i32.ne $push9=, $0, $pop8 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#4: # %if.end i32.const $push17=, 0 i32.load $push7=, i($pop17) i32.const $push10=, 255 i32.eq $push11=, $pop7, $pop10 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#5: # %if.then8 call abort@FUNCTION unreachable .LBB0_6: # %if.end9 end_block # label1: block - br_if $0, 0 # 0: down to label2 + br_if 0, $0 # 0: down to label2 # BB#7: # %if.end9 i32.const $push13=, 0 i32.load $push12=, l($pop13) i32.const $push14=, 255 i32.eq $push15=, $pop12, $pop14 - br_if $pop15, 0 # 0: down to label2 + br_if 0, $pop15 # 0: down to label2 # BB#8: # %if.then15 call abort@FUNCTION unreachable @@ -71,16 +71,16 @@ foo: # @foo block i32.const $push8=, 0 i32.eq $push9=, $1, $pop8 - br_if $pop9, 0 # 0: down to label4 + br_if 0, $pop9 # 0: down to label4 # BB#1: # %entry block i32.const $push0=, 1 i32.eq $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label5 + br_if 0, $pop1 # 0: down to label5 # BB#2: # %entry i32.const $push2=, 2 i32.ne $push3=, $1, $pop2 - br_if $pop3, 2 # 2: down to label3 + br_if 2, $pop3 # 2: down to label3 # BB#3: # %if.then i32.const $push5=, 0 i32.store16 $discard=, s($pop5), $2 diff --git a/test/torture-s/20111227-3.c.s b/test/torture-s/20111227-3.c.s index d99458a90..db1584669 100644 --- a/test/torture-s/20111227-3.c.s +++ b/test/torture-s/20111227-3.c.s @@ -10,7 +10,7 @@ bar: # @bar block i32.const $push1=, 2 i32.ne $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry i32.const $push16=, 0 i32.load16_u $push0=, s($pop16) @@ -18,7 +18,7 @@ bar: # @bar i32.and $push4=, $pop0, $pop3 i32.const $push15=, 65535 i32.eq $push5=, $pop4, $pop15 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.then call abort@FUNCTION unreachable @@ -27,26 +27,26 @@ bar: # @bar block i32.const $push7=, 1 i32.ne $push8=, $0, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#4: # %if.end i32.const $push17=, 0 i32.load $push6=, i($pop17) i32.const $push9=, -1 i32.eq $push10=, $pop6, $pop9 - br_if $pop10, 0 # 0: down to label1 + br_if 0, $pop10 # 0: down to label1 # BB#5: # %if.then8 call abort@FUNCTION unreachable .LBB0_6: # %if.end9 end_block # label1: block - br_if $0, 0 # 0: down to label2 + br_if 0, $0 # 0: down to label2 # BB#7: # %if.end9 i32.const $push12=, 0 i32.load $push11=, l($pop12) i32.const $push13=, -1 i32.eq $push14=, $pop11, $pop13 - br_if $pop14, 0 # 0: down to label2 + br_if 0, $pop14 # 0: down to label2 # BB#8: # %if.then15 call abort@FUNCTION unreachable @@ -71,16 +71,16 @@ foo: # @foo block i32.const $push8=, 0 i32.eq $push9=, $1, $pop8 - br_if $pop9, 0 # 0: down to label4 + br_if 0, $pop9 # 0: down to label4 # BB#1: # %entry block i32.const $push0=, 1 i32.eq $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label5 + br_if 0, $pop1 # 0: down to label5 # BB#2: # %entry i32.const $push2=, 2 i32.ne $push3=, $1, $pop2 - br_if $pop3, 2 # 2: down to label3 + br_if 2, $pop3 # 2: down to label3 # BB#3: # %if.then i32.const $push5=, 0 i32.store16 $discard=, s($pop5), $2 diff --git a/test/torture-s/20120111-1.c.s b/test/torture-s/20120111-1.c.s index 298d28e44..a026f39a5 100644 --- a/test/torture-s/20120111-1.c.s +++ b/test/torture-s/20120111-1.c.s @@ -29,7 +29,7 @@ main: # @main i32.call $push1=, f0a@FUNCTION, $pop0 i32.const $push2=, -1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/20120207-1.c.s b/test/torture-s/20120207-1.c.s index 73b52fa35..65cb70dc6 100644 --- a/test/torture-s/20120207-1.c.s +++ b/test/torture-s/20120207-1.c.s @@ -30,7 +30,7 @@ main: # @main i32.and $push3=, $pop1, $pop2 i32.const $push4=, 49 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 return $pop6 diff --git a/test/torture-s/20120427-1.c.s b/test/torture-s/20120427-1.c.s index e56fb553e..a3ed4316d 100644 --- a/test/torture-s/20120427-1.c.s +++ b/test/torture-s/20120427-1.c.s @@ -16,11 +16,11 @@ sreal_compare: # @sreal_compare i32.load $push1=, 4($1) tee_local $push10=, $3=, $pop1 i32.gt_s $push4=, $pop11, $pop10 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $2=, -1 i32.lt_s $push5=, $4, $3 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.end6 i32.const $2=, 1 i32.load $push2=, 0($0) @@ -28,7 +28,7 @@ sreal_compare: # @sreal_compare i32.load $push3=, 0($1) tee_local $push12=, $1=, $pop3 i32.gt_u $push6=, $pop13, $pop12 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#3: # %if.end10 i32.const $push9=, -1 i32.const $push8=, 0 @@ -79,19 +79,19 @@ main: # @main block i32.const $push61=, -1 i32.le_s $push8=, $6, $pop61 - br_if $pop8, 0 # 0: down to label7 + br_if 0, $pop8 # 0: down to label7 # BB#2: # %if.end # in Loop: Header=BB1_1 Depth=1 block block i32.const $push80=, 0 i32.eq $push81=, $6, $pop80 - br_if $pop81, 0 # 0: down to label9 + br_if 0, $pop81 # 0: down to label9 # BB#3: # %if.end14 # in Loop: Header=BB1_1 Depth=1 i32.const $push67=, 1 i32.lt_s $push9=, $6, $pop67 - br_if $pop9, 3 # 3: down to label6 + br_if 3, $pop9 # 3: down to label6 # BB#4: # %land.lhs.true16 # in Loop: Header=BB1_1 Depth=1 block @@ -99,81 +99,81 @@ main: # @main i32.load $push1=, 0($7) tee_local $push68=, $9=, $pop1 i32.gt_s $push10=, $pop68, $0 - br_if $pop10, 0 # 0: down to label11 + br_if 0, $pop10 # 0: down to label11 # BB#5: # %if.end.i45 # in Loop: Header=BB1_1 Depth=1 i32.lt_s $push11=, $9, $0 - br_if $pop11, 1 # 1: down to label10 + br_if 1, $pop11 # 1: down to label10 # BB#6: # %if.end6.i49 # in Loop: Header=BB1_1 Depth=1 i32.load $push12=, 0($8):p2align=3 i32.le_u $push13=, $pop12, $1 - br_if $pop13, 1 # 1: down to label10 + br_if 1, $pop13 # 1: down to label10 .LBB1_7: # %if.end.1 # in Loop: Header=BB1_1 Depth=1 end_block # label11: block i32.const $push70=, 1 i32.ne $push14=, $6, $pop70 - br_if $pop14, 0 # 0: down to label12 + br_if 0, $pop14 # 0: down to label12 # BB#8: # %land.lhs.true8.1 # in Loop: Header=BB1_1 Depth=1 i32.load $push33=, 0($7) i32.ne $push34=, $pop33, $2 - br_if $pop34, 3 # 3: down to label8 + br_if 3, $pop34 # 3: down to label8 # BB#9: # %if.end6.i63.1 # in Loop: Header=BB1_1 Depth=1 i32.load $push35=, 0($8):p2align=3 i32.eq $push36=, $pop35, $3 - br_if $pop36, 6 # 6: down to label5 + br_if 6, $pop36 # 6: down to label5 br 3 # 3: down to label8 .LBB1_10: # %if.end14.1 # in Loop: Header=BB1_1 Depth=1 end_block # label12: i32.const $push71=, 2 i32.lt_s $push15=, $6, $pop71 - br_if $pop15, 5 # 5: down to label5 + br_if 5, $pop15 # 5: down to label5 # BB#11: # %land.lhs.true16.1 # in Loop: Header=BB1_1 Depth=1 block i32.load $push3=, 0($7) tee_local $push72=, $9=, $pop3 i32.gt_s $push16=, $pop72, $2 - br_if $pop16, 0 # 0: down to label13 + br_if 0, $pop16 # 0: down to label13 # BB#12: # %if.end.i45.1 # in Loop: Header=BB1_1 Depth=1 i32.lt_s $push17=, $9, $2 - br_if $pop17, 1 # 1: down to label10 + br_if 1, $pop17 # 1: down to label10 # BB#13: # %if.end6.i49.1 # in Loop: Header=BB1_1 Depth=1 i32.load $push18=, 0($8):p2align=3 i32.le_u $push19=, $pop18, $3 - br_if $pop19, 1 # 1: down to label10 + br_if 1, $pop19 # 1: down to label10 .LBB1_14: # %if.end.2 # in Loop: Header=BB1_1 Depth=1 end_block # label13: block i32.const $push74=, 2 i32.ne $push20=, $6, $pop74 - br_if $pop20, 0 # 0: down to label14 + br_if 0, $pop20 # 0: down to label14 # BB#15: # %land.lhs.true8.2 # in Loop: Header=BB1_1 Depth=1 i32.load $push29=, 0($7) i32.ne $push30=, $pop29, $4 - br_if $pop30, 3 # 3: down to label8 + br_if 3, $pop30 # 3: down to label8 # BB#16: # %if.end6.i63.2 # in Loop: Header=BB1_1 Depth=1 i32.const $6=, 3 i32.load $push31=, 0($8):p2align=3 i32.eq $push32=, $pop31, $5 - br_if $pop32, 8 # 8: up to label2 + br_if 8, $pop32 # 8: up to label2 br 3 # 3: down to label8 .LBB1_17: # %if.end14.2 # in Loop: Header=BB1_1 Depth=1 end_block # label14: i32.const $push75=, 3 i32.lt_s $push21=, $6, $pop75 - br_if $pop21, 6 # 6: down to label4 + br_if 6, $pop21 # 6: down to label4 # BB#18: # %land.lhs.true16.2 i32.load $push5=, 0($7) tee_local $push77=, $6=, $pop5 @@ -181,16 +181,16 @@ main: # @main i32.load $push6=, a+20($pop22) tee_local $push76=, $7=, $pop6 i32.gt_s $push23=, $pop77, $pop76 - br_if $pop23, 8 # 8: down to label3 + br_if 8, $pop23 # 8: down to label3 # BB#19: # %if.end.i45.2 i32.lt_s $push24=, $6, $7 - br_if $pop24, 0 # 0: down to label10 + br_if 0, $pop24 # 0: down to label10 # BB#20: # %if.end6.i49.2 i32.load $push25=, 0($8):p2align=3 i32.const $push26=, 0 i32.load $push27=, a+16($pop26):p2align=4 i32.gt_u $push28=, $pop25, $pop27 - br_if $pop28, 8 # 8: down to label3 + br_if 8, $pop28 # 8: down to label3 .LBB1_21: # %if.then21 end_block # label10: call abort@FUNCTION @@ -200,12 +200,12 @@ main: # @main end_block # label9: i32.load $push37=, 0($7) i32.ne $push38=, $pop37, $0 - br_if $pop38, 0 # 0: down to label8 + br_if 0, $pop38 # 0: down to label8 # BB#23: # %if.end6.i63 # in Loop: Header=BB1_1 Depth=1 i32.load $push39=, 0($8):p2align=3 i32.eq $push40=, $pop39, $1 - br_if $pop40, 2 # 2: down to label6 + br_if 2, $pop40 # 2: down to label6 .LBB1_24: # %if.then13 end_block # label8: call abort@FUNCTION @@ -216,48 +216,48 @@ main: # @main i32.load $push0=, 0($7) tee_local $push66=, $9=, $pop0 i32.gt_s $push41=, $pop66, $0 - br_if $pop41, 5 # 5: down to label1 + br_if 5, $pop41 # 5: down to label1 # BB#26: # %if.end.i # in Loop: Header=BB1_1 Depth=1 i32.lt_s $push42=, $9, $0 - br_if $pop42, 0 # 0: down to label6 + br_if 0, $pop42 # 0: down to label6 # BB#27: # %if.end6.i # in Loop: Header=BB1_1 Depth=1 i32.load $push43=, 0($8):p2align=3 i32.ge_u $push44=, $pop43, $1 - br_if $pop44, 5 # 5: down to label1 + br_if 5, $pop44 # 5: down to label1 .LBB1_28: # %land.lhs.true.1 # in Loop: Header=BB1_1 Depth=1 end_block # label6: i32.load $push2=, 0($7) tee_local $push69=, $9=, $pop2 i32.gt_s $push45=, $pop69, $2 - br_if $pop45, 4 # 4: down to label1 + br_if 4, $pop45 # 4: down to label1 # BB#29: # %if.end.i.1 # in Loop: Header=BB1_1 Depth=1 i32.lt_s $push46=, $9, $2 - br_if $pop46, 0 # 0: down to label5 + br_if 0, $pop46 # 0: down to label5 # BB#30: # %if.end6.i.1 # in Loop: Header=BB1_1 Depth=1 i32.load $push47=, 0($8):p2align=3 i32.ge_u $push48=, $pop47, $3 - br_if $pop48, 4 # 4: down to label1 + br_if 4, $pop48 # 4: down to label1 .LBB1_31: # %land.lhs.true.2 # in Loop: Header=BB1_1 Depth=1 end_block # label5: i32.load $push4=, 0($7) tee_local $push73=, $7=, $pop4 i32.gt_s $push49=, $pop73, $4 - br_if $pop49, 3 # 3: down to label1 + br_if 3, $pop49 # 3: down to label1 # BB#32: # %if.end.i.2 # in Loop: Header=BB1_1 Depth=1 i32.lt_s $push50=, $7, $4 - br_if $pop50, 0 # 0: down to label4 + br_if 0, $pop50 # 0: down to label4 # BB#33: # %if.end6.i.2 # in Loop: Header=BB1_1 Depth=1 i32.load $push51=, 0($8):p2align=3 i32.ge_u $push52=, $pop51, $5 - br_if $pop52, 3 # 3: down to label1 + br_if 3, $pop52 # 3: down to label1 .LBB1_34: # %for.inc.2 # in Loop: Header=BB1_1 Depth=1 end_block # label4: @@ -265,7 +265,7 @@ main: # @main i32.add $6=, $6, $pop79 i32.const $push78=, 4 i32.lt_s $push53=, $6, $pop78 - br_if $pop53, 0 # 0: up to label2 + br_if 0, $pop53 # 0: up to label2 .LBB1_35: # %for.end25 end_loop # label3: i32.const $push54=, 0 diff --git a/test/torture-s/20120427-2.c.s b/test/torture-s/20120427-2.c.s index 299c6854a..5f29cdfa6 100644 --- a/test/torture-s/20120427-2.c.s +++ b/test/torture-s/20120427-2.c.s @@ -16,11 +16,11 @@ sreal_compare: # @sreal_compare i32.load $push1=, 4($1) tee_local $push10=, $3=, $pop1 i32.gt_s $push4=, $pop11, $pop10 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $2=, -1 i32.lt_s $push5=, $4, $3 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.end6 i32.const $2=, 1 i32.load $push2=, 0($0) @@ -28,7 +28,7 @@ sreal_compare: # @sreal_compare i32.load $push3=, 0($1) tee_local $push12=, $1=, $pop3 i32.gt_u $push6=, $pop13, $pop12 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#3: # %if.end10 i32.const $push9=, -1 i32.const $push8=, 0 @@ -79,19 +79,19 @@ main: # @main block i32.const $push61=, -1 i32.le_s $push8=, $6, $pop61 - br_if $pop8, 0 # 0: down to label7 + br_if 0, $pop8 # 0: down to label7 # BB#2: # %if.end # in Loop: Header=BB1_1 Depth=1 block block i32.const $push80=, 0 i32.eq $push81=, $6, $pop80 - br_if $pop81, 0 # 0: down to label9 + br_if 0, $pop81 # 0: down to label9 # BB#3: # %if.end14 # in Loop: Header=BB1_1 Depth=1 i32.const $push67=, 1 i32.lt_s $push9=, $6, $pop67 - br_if $pop9, 3 # 3: down to label6 + br_if 3, $pop9 # 3: down to label6 # BB#4: # %land.lhs.true16 # in Loop: Header=BB1_1 Depth=1 block @@ -99,81 +99,81 @@ main: # @main i32.load $push1=, 0($7) tee_local $push68=, $9=, $pop1 i32.gt_s $push10=, $pop68, $0 - br_if $pop10, 0 # 0: down to label11 + br_if 0, $pop10 # 0: down to label11 # BB#5: # %if.end.i45 # in Loop: Header=BB1_1 Depth=1 i32.lt_s $push11=, $9, $0 - br_if $pop11, 1 # 1: down to label10 + br_if 1, $pop11 # 1: down to label10 # BB#6: # %if.end6.i49 # in Loop: Header=BB1_1 Depth=1 i32.load $push12=, 0($8):p2align=3 i32.le_u $push13=, $pop12, $1 - br_if $pop13, 1 # 1: down to label10 + br_if 1, $pop13 # 1: down to label10 .LBB1_7: # %if.end.1 # in Loop: Header=BB1_1 Depth=1 end_block # label11: block i32.const $push70=, 1 i32.ne $push14=, $6, $pop70 - br_if $pop14, 0 # 0: down to label12 + br_if 0, $pop14 # 0: down to label12 # BB#8: # %land.lhs.true8.1 # in Loop: Header=BB1_1 Depth=1 i32.load $push33=, 0($7) i32.ne $push34=, $pop33, $2 - br_if $pop34, 3 # 3: down to label8 + br_if 3, $pop34 # 3: down to label8 # BB#9: # %if.end6.i63.1 # in Loop: Header=BB1_1 Depth=1 i32.load $push35=, 0($8):p2align=3 i32.eq $push36=, $pop35, $3 - br_if $pop36, 6 # 6: down to label5 + br_if 6, $pop36 # 6: down to label5 br 3 # 3: down to label8 .LBB1_10: # %if.end14.1 # in Loop: Header=BB1_1 Depth=1 end_block # label12: i32.const $push71=, 2 i32.lt_s $push15=, $6, $pop71 - br_if $pop15, 5 # 5: down to label5 + br_if 5, $pop15 # 5: down to label5 # BB#11: # %land.lhs.true16.1 # in Loop: Header=BB1_1 Depth=1 block i32.load $push3=, 0($7) tee_local $push72=, $9=, $pop3 i32.gt_s $push16=, $pop72, $2 - br_if $pop16, 0 # 0: down to label13 + br_if 0, $pop16 # 0: down to label13 # BB#12: # %if.end.i45.1 # in Loop: Header=BB1_1 Depth=1 i32.lt_s $push17=, $9, $2 - br_if $pop17, 1 # 1: down to label10 + br_if 1, $pop17 # 1: down to label10 # BB#13: # %if.end6.i49.1 # in Loop: Header=BB1_1 Depth=1 i32.load $push18=, 0($8):p2align=3 i32.le_u $push19=, $pop18, $3 - br_if $pop19, 1 # 1: down to label10 + br_if 1, $pop19 # 1: down to label10 .LBB1_14: # %if.end.2 # in Loop: Header=BB1_1 Depth=1 end_block # label13: block i32.const $push74=, 2 i32.ne $push20=, $6, $pop74 - br_if $pop20, 0 # 0: down to label14 + br_if 0, $pop20 # 0: down to label14 # BB#15: # %land.lhs.true8.2 # in Loop: Header=BB1_1 Depth=1 i32.load $push29=, 0($7) i32.ne $push30=, $pop29, $4 - br_if $pop30, 3 # 3: down to label8 + br_if 3, $pop30 # 3: down to label8 # BB#16: # %if.end6.i63.2 # in Loop: Header=BB1_1 Depth=1 i32.const $6=, 3 i32.load $push31=, 0($8):p2align=3 i32.eq $push32=, $pop31, $5 - br_if $pop32, 8 # 8: up to label2 + br_if 8, $pop32 # 8: up to label2 br 3 # 3: down to label8 .LBB1_17: # %if.end14.2 # in Loop: Header=BB1_1 Depth=1 end_block # label14: i32.const $push75=, 3 i32.lt_s $push21=, $6, $pop75 - br_if $pop21, 6 # 6: down to label4 + br_if 6, $pop21 # 6: down to label4 # BB#18: # %land.lhs.true16.2 i32.load $push5=, 0($7) tee_local $push77=, $6=, $pop5 @@ -181,16 +181,16 @@ main: # @main i32.load $push6=, a+20($pop22) tee_local $push76=, $7=, $pop6 i32.gt_s $push23=, $pop77, $pop76 - br_if $pop23, 8 # 8: down to label3 + br_if 8, $pop23 # 8: down to label3 # BB#19: # %if.end.i45.2 i32.lt_s $push24=, $6, $7 - br_if $pop24, 0 # 0: down to label10 + br_if 0, $pop24 # 0: down to label10 # BB#20: # %if.end6.i49.2 i32.load $push25=, 0($8):p2align=3 i32.const $push26=, 0 i32.load $push27=, a+16($pop26):p2align=4 i32.gt_u $push28=, $pop25, $pop27 - br_if $pop28, 8 # 8: down to label3 + br_if 8, $pop28 # 8: down to label3 .LBB1_21: # %if.then21 end_block # label10: call abort@FUNCTION @@ -200,12 +200,12 @@ main: # @main end_block # label9: i32.load $push37=, 0($7) i32.ne $push38=, $pop37, $0 - br_if $pop38, 0 # 0: down to label8 + br_if 0, $pop38 # 0: down to label8 # BB#23: # %if.end6.i63 # in Loop: Header=BB1_1 Depth=1 i32.load $push39=, 0($8):p2align=3 i32.eq $push40=, $pop39, $1 - br_if $pop40, 2 # 2: down to label6 + br_if 2, $pop40 # 2: down to label6 .LBB1_24: # %if.then13 end_block # label8: call abort@FUNCTION @@ -216,48 +216,48 @@ main: # @main i32.load $push0=, 0($7) tee_local $push66=, $9=, $pop0 i32.gt_s $push41=, $pop66, $0 - br_if $pop41, 5 # 5: down to label1 + br_if 5, $pop41 # 5: down to label1 # BB#26: # %if.end.i # in Loop: Header=BB1_1 Depth=1 i32.lt_s $push42=, $9, $0 - br_if $pop42, 0 # 0: down to label6 + br_if 0, $pop42 # 0: down to label6 # BB#27: # %if.end6.i # in Loop: Header=BB1_1 Depth=1 i32.load $push43=, 0($8):p2align=3 i32.ge_u $push44=, $pop43, $1 - br_if $pop44, 5 # 5: down to label1 + br_if 5, $pop44 # 5: down to label1 .LBB1_28: # %land.lhs.true.1 # in Loop: Header=BB1_1 Depth=1 end_block # label6: i32.load $push2=, 0($7) tee_local $push69=, $9=, $pop2 i32.gt_s $push45=, $pop69, $2 - br_if $pop45, 4 # 4: down to label1 + br_if 4, $pop45 # 4: down to label1 # BB#29: # %if.end.i.1 # in Loop: Header=BB1_1 Depth=1 i32.lt_s $push46=, $9, $2 - br_if $pop46, 0 # 0: down to label5 + br_if 0, $pop46 # 0: down to label5 # BB#30: # %if.end6.i.1 # in Loop: Header=BB1_1 Depth=1 i32.load $push47=, 0($8):p2align=3 i32.ge_u $push48=, $pop47, $3 - br_if $pop48, 4 # 4: down to label1 + br_if 4, $pop48 # 4: down to label1 .LBB1_31: # %land.lhs.true.2 # in Loop: Header=BB1_1 Depth=1 end_block # label5: i32.load $push4=, 0($7) tee_local $push73=, $7=, $pop4 i32.gt_s $push49=, $pop73, $4 - br_if $pop49, 3 # 3: down to label1 + br_if 3, $pop49 # 3: down to label1 # BB#32: # %if.end.i.2 # in Loop: Header=BB1_1 Depth=1 i32.lt_s $push50=, $7, $4 - br_if $pop50, 0 # 0: down to label4 + br_if 0, $pop50 # 0: down to label4 # BB#33: # %if.end6.i.2 # in Loop: Header=BB1_1 Depth=1 i32.load $push51=, 0($8):p2align=3 i32.ge_u $push52=, $pop51, $5 - br_if $pop52, 3 # 3: down to label1 + br_if 3, $pop52 # 3: down to label1 .LBB1_34: # %for.inc.2 # in Loop: Header=BB1_1 Depth=1 end_block # label4: @@ -265,7 +265,7 @@ main: # @main i32.add $6=, $6, $pop79 i32.const $push78=, 4 i32.lt_s $push53=, $6, $pop78 - br_if $pop53, 0 # 0: up to label2 + br_if 0, $pop53 # 0: up to label2 .LBB1_35: # %for.end25 end_loop # label3: i32.const $push54=, 0 diff --git a/test/torture-s/20120615-1.c.s b/test/torture-s/20120615-1.c.s index de11117b3..3dd352541 100644 --- a/test/torture-s/20120615-1.c.s +++ b/test/torture-s/20120615-1.c.s @@ -10,7 +10,7 @@ test1: # @test1 block i32.const $push0=, 17 i32.gt_u $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 1 i32.shl $push3=, $pop2, $0 @@ -18,7 +18,7 @@ test1: # @test1 i32.and $push5=, $pop3, $pop4 i32.const $push6=, 0 i32.eq $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#2: # %if.end6 return .LBB0_3: # %if.end5 diff --git a/test/torture-s/20120808-1.c.s b/test/torture-s/20120808-1.c.s index f6efc9368..f371725e0 100644 --- a/test/torture-s/20120808-1.c.s +++ b/test/torture-s/20120808-1.c.s @@ -40,19 +40,19 @@ main: # @main block i32.const $push45=, 25 i32.eq $push13=, $2, $pop45 - br_if $pop13, 0 # 0: down to label3 + br_if 0, $pop13 # 0: down to label3 # BB#2: # %for.body # in Loop: Header=BB0_1 Depth=1 block i32.const $push47=, 2 i32.eq $push14=, $2, $pop47 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#3: # %for.body # in Loop: Header=BB0_1 Depth=1 i32.const $3=, 255 i32.const $push48=, 1 i32.ne $push15=, $2, $pop48 - br_if $pop15, 2 # 2: down to label2 + br_if 2, $pop15 # 2: down to label2 # BB#4: # %sw.bb # in Loop: Header=BB0_1 Depth=1 i32.const $3=, 253 @@ -78,7 +78,7 @@ main: # @main i32.add $2=, $2, $pop50 i32.const $push49=, 30 i32.ne $push18=, $2, $pop49 - br_if $pop18, 0 # 0: up to label0 + br_if 0, $pop18 # 0: up to label0 # BB#8: # %for.end end_loop # label1: block @@ -88,7 +88,7 @@ main: # @main i64.and $push26=, $pop52, $pop25 i64.const $push28=, 65023 i64.ne $push29=, $pop26, $pop28 - br_if $pop29, 0 # 0: down to label5 + br_if 0, $pop29 # 0: down to label5 # BB#9: # %for.end i32.wrap/i64 $push23=, $5 i32.const $push24=, 16 @@ -97,29 +97,29 @@ main: # @main i32.and $push31=, $pop19, $pop30 i32.const $push32=, 251 i32.ne $push33=, $pop31, $pop32 - br_if $pop33, 0 # 0: down to label5 + br_if 0, $pop33 # 0: down to label5 # BB#10: # %for.end i32.load $push20=, 0($8):p2align=4 i32.const $push34=, -16777216 i32.lt_u $push35=, $pop20, $pop34 - br_if $pop35, 0 # 0: down to label5 + br_if 0, $pop35 # 0: down to label5 # BB#11: # %for.end i64.const $push27=, 1095216660480 i64.and $push21=, $5, $pop27 i64.const $push36=, 1095216660480 i64.ne $push37=, $pop21, $pop36 - br_if $pop37, 0 # 0: down to label5 + br_if 0, $pop37 # 0: down to label5 # BB#12: # %lor.lhs.false29 i32.load8_u $push38=, 25($8) i32.const $push39=, 254 i32.ne $push40=, $pop38, $pop39 - br_if $pop40, 0 # 0: down to label5 + br_if 0, $pop40 # 0: down to label5 # BB#13: # %lor.lhs.false34 i32.const $push53=, 0 i32.load $push41=, cp($pop53) i32.const $push42=, d+30 i32.ne $push43=, $pop41, $pop42 - br_if $pop43, 0 # 0: down to label5 + br_if 0, $pop43 # 0: down to label5 # BB#14: # %if.end i32.const $push54=, 0 call exit@FUNCTION, $pop54 diff --git a/test/torture-s/20120817-1.c.s b/test/torture-s/20120817-1.c.s index 0ce4b7547..bc1f36dfa 100644 --- a/test/torture-s/20120817-1.c.s +++ b/test/torture-s/20120817-1.c.s @@ -32,7 +32,7 @@ main: # @main i64.call $push0=, f@FUNCTION i64.const $push1=, 16 i64.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 call exit@FUNCTION, $pop3 diff --git a/test/torture-s/20120919-1.c.s b/test/torture-s/20120919-1.c.s index 5f231bf6e..6c76e5724 100644 --- a/test/torture-s/20120919-1.c.s +++ b/test/torture-s/20120919-1.c.s @@ -8,7 +8,7 @@ init: # @init .param i32, i32 # BB#0: # %entry block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.then i32.const $push0=, 0 i32.store $discard=, 0($1), $pop0 @@ -45,7 +45,7 @@ main: # @main tee_local $push15=, $6=, $pop0 i32.const $push14=, 0 i32.lt_s $push2=, $pop15, $pop14 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %while.body.lr.ph i32.const $push17=, 0 i32.load $0=, pd($pop17) @@ -57,7 +57,7 @@ main: # @main # =>This Inner Loop Header: Depth=1 loop # label2: block - br_if $4, 0 # 0: down to label4 + br_if 0, $4 # 0: down to label4 # BB#3: # %if.then # in Loop: Header=BB1_2 Depth=1 i32.load $2=, 0($1) @@ -68,7 +68,7 @@ main: # @main f64.le $push4=, $pop19, $pop18 f64.ne $push5=, $7, $7 i32.or $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label5 + br_if 0, $pop6 # 0: down to label5 # BB#4: # %if.then3 # in Loop: Header=BB1_2 Depth=1 i32.const $push21=, 0 @@ -86,12 +86,12 @@ main: # @main end_block # label4: i32.add $4=, $4, $3 i32.lt_s $push10=, $4, $6 - br_if $pop10, 0 # 0: up to label2 + br_if 0, $pop10 # 0: up to label2 # BB#7: # %while.end end_loop # label3: i32.const $push11=, 1234567890 i32.ne $push12=, $5, $pop11 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#8: # %if.end15 i32.const $push13=, 0 i32.const $10=, 6144 diff --git a/test/torture-s/20121108-1.c.s b/test/torture-s/20121108-1.c.s index e2e2b2f1c..c909ba5f5 100644 --- a/test/torture-s/20121108-1.c.s +++ b/test/torture-s/20121108-1.c.s @@ -15,22 +15,22 @@ strtoul1: # @strtoul1 block i32.const $push2=, temp i32.eq $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.else i32.const $1=, 168 i32.const $push4=, temp+4 i32.eq $push5=, $0, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.else3 i32.const $1=, 190 i32.const $push6=, temp+8 i32.eq $push7=, $0, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#3: # %if.else6 i32.const $1=, 160 i32.const $push8=, temp+12 i32.eq $push9=, $0, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#4: # %if.end11 call abort@FUNCTION unreachable @@ -60,7 +60,7 @@ string_to_ip: # @string_to_ip block i32.const $push40=, 0 i32.eq $push41=, $0, $pop40 - br_if $pop41, 0 # 0: down to label1 + br_if 0, $pop41 # 0: down to label1 # BB#1: # %if.end9 i32.const $5=, 12 i32.add $5=, $9, $5 @@ -80,7 +80,7 @@ string_to_ip: # @string_to_ip tee_local $push26=, $1=, $pop0 i32.const $push42=, 0 i32.eq $push43=, $pop26, $pop42 - br_if $pop43, 0 # 0: down to label3 + br_if 0, $pop43 # 0: down to label3 # BB#2: # %if.end9.1 i32.const $6=, 12 i32.add $6=, $9, $6 @@ -97,7 +97,7 @@ string_to_ip: # @string_to_ip tee_local $push30=, $1=, $pop1 i32.const $push44=, 0 i32.eq $push45=, $pop30, $pop44 - br_if $pop45, 0 # 0: down to label3 + br_if 0, $pop45 # 0: down to label3 # BB#3: # %if.end9.2 i32.const $7=, 12 i32.add $7=, $9, $7 @@ -116,7 +116,7 @@ string_to_ip: # @string_to_ip tee_local $push35=, $1=, $pop2 i32.const $push46=, 0 i32.eq $push47=, $pop35, $pop46 - br_if $pop47, 1 # 1: down to label2 + br_if 1, $pop47 # 1: down to label2 # BB#4: # %if.then3.3 i32.const $8=, 12 i32.add $8=, $9, $8 @@ -198,7 +198,7 @@ main: # @main i32.const $push6=, 0 i32.load $push3=, result($pop6) i32.ne $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label4 + br_if 0, $pop4 # 0: down to label4 # BB#1: # %if.end i32.const $push5=, .Lstr i32.call $discard=, puts@FUNCTION, $pop5 diff --git a/test/torture-s/20140212-1.c.s b/test/torture-s/20140212-1.c.s index f53207a7c..2317ec871 100644 --- a/test/torture-s/20140212-1.c.s +++ b/test/torture-s/20140212-1.c.s @@ -33,7 +33,7 @@ fn1: # @fn1 block i32.const $push22=, 0 i32.eq $push23=, $1, $pop22 - br_if $pop23, 0 # 0: down to label3 + br_if 0, $pop23 # 0: down to label3 # BB#2: # %if.then # in Loop: Header=BB0_1 Depth=1 i32.const $push18=, 1 @@ -50,7 +50,7 @@ fn1: # @fn1 end_block # label2: i32.const $push24=, 0 i32.eq $push25=, $2, $pop24 - br_if $pop25, 0 # 0: up to label0 + br_if 0, $pop25 # 0: up to label0 # BB#5: # %if.then15 end_loop # label1: i32.const $push12=, 0 @@ -96,7 +96,7 @@ main: # @main block i32.const $push24=, 0 i32.eq $push25=, $1, $pop24 - br_if $pop25, 0 # 0: down to label7 + br_if 0, $pop25 # 0: down to label7 # BB#2: # %if.then.i # in Loop: Header=BB1_1 Depth=1 i32.const $push9=, 1 @@ -113,7 +113,7 @@ main: # @main end_block # label6: i32.const $push26=, 0 i32.eq $push27=, $2, $pop26 - br_if $pop27, 0 # 0: up to label4 + br_if 0, $pop27 # 0: up to label4 # BB#5: # %fn1.exit end_loop # label5: i32.const $push22=, 0 @@ -127,7 +127,7 @@ main: # @main block i32.const $push13=, 1 i32.ne $push14=, $3, $pop13 - br_if $pop14, 0 # 0: down to label8 + br_if 0, $pop14 # 0: down to label8 # BB#6: # %if.end i32.const $push23=, 0 return $pop23 diff --git a/test/torture-s/20140425-1.c.s b/test/torture-s/20140425-1.c.s index e392714b5..90b8611db 100644 --- a/test/torture-s/20140425-1.c.s +++ b/test/torture-s/20140425-1.c.s @@ -25,7 +25,7 @@ main: # @main block i32.const $push3=, 30 i32.le_u $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 i32.const $3=, 16 diff --git a/test/torture-s/920428-1.c.s b/test/torture-s/920428-1.c.s index 88548d055..85321a16e 100644 --- a/test/torture-s/920428-1.c.s +++ b/test/torture-s/920428-1.c.s @@ -25,7 +25,7 @@ main: # @main i32.const $push0=, 1 i32.const $push2=, 0 i32.eq $push3=, $pop0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push1=, 0 call exit@FUNCTION, $pop1 diff --git a/test/torture-s/920501-1.c.s b/test/torture-s/920501-1.c.s index a735865f1..8af61d88c 100644 --- a/test/torture-s/920501-1.c.s +++ b/test/torture-s/920501-1.c.s @@ -11,7 +11,7 @@ x: # @x block i32.const $push5=, 0 i32.load $push0=, s($pop5) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.then i32.const $push7=, 0 i32.load $push1=, s+4($pop7) diff --git a/test/torture-s/920501-2.c.s b/test/torture-s/920501-2.c.s index 2ecf64744..24766fb3e 100644 --- a/test/torture-s/920501-2.c.s +++ b/test/torture-s/920501-2.c.s @@ -13,7 +13,7 @@ gcd_ll: # @gcd_ll block i64.const $push5=, 0 i64.eq $push0=, $1, $pop5 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 .LBB0_1: # %if.end # =>This Inner Loop Header: Depth=1 loop # label1: @@ -21,14 +21,14 @@ gcd_ll: # @gcd_ll copy_local $2=, $1 i64.const $push6=, 0 i64.eq $push1=, $0, $pop6 - br_if $pop1, 1 # 1: down to label2 + br_if 1, $pop1 # 1: down to label2 # BB#2: # %if.end5 # in Loop: Header=BB0_1 Depth=1 i64.rem_u $1=, $1, $0 copy_local $2=, $0 i64.const $push2=, 0 i64.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: up to label1 + br_if 0, $pop3 # 0: up to label1 .LBB0_3: # %return end_loop # label2: end_block # label0: @@ -53,7 +53,7 @@ powmod_ll: # @powmod_ll block i32.const $push15=, 0 i32.eq $push16=, $1, $pop15 - br_if $pop16, 0 # 0: down to label3 + br_if 0, $pop16 # 0: down to label3 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label4: @@ -61,13 +61,13 @@ powmod_ll: # @powmod_ll i32.shr_u $4=, $4, $pop8 i32.const $push7=, 1 i32.add $3=, $3, $pop7 - br_if $4, 0 # 0: up to label4 + br_if 0, $4 # 0: up to label4 # BB#2: # %for.end end_loop # label5: copy_local $5=, $0 i32.const $push9=, 1 i32.lt_s $push0=, $3, $pop9 - br_if $pop0, 0 # 0: down to label3 + br_if 0, $pop0 # 0: down to label3 # BB#3: # %for.body4.preheader i32.const $push10=, 1 i32.add $4=, $3, $pop10 @@ -85,7 +85,7 @@ powmod_ll: # @powmod_ll i32.and $push4=, $pop3, $1 i32.const $push17=, 0 i32.eq $push18=, $pop4, $pop17 - br_if $pop18, 0 # 0: down to label8 + br_if 0, $pop18 # 0: down to label8 # BB#5: # %if.then5 # in Loop: Header=BB1_4 Depth=1 i64.mul $push5=, $5, $0 @@ -97,7 +97,7 @@ powmod_ll: # @powmod_ll i32.add $4=, $4, $pop14 i32.const $push13=, 1 i32.gt_s $push6=, $4, $pop13 - br_if $pop6, 0 # 0: up to label6 + br_if 0, $pop6 # 0: up to label6 .LBB1_7: # %cleanup end_loop # label7: end_block # label3: @@ -143,7 +143,7 @@ facts: # @facts block i32.const $push78=, 0 i32.eq $push79=, $3, $pop78 - br_if $pop79, 0 # 0: down to label11 + br_if 0, $pop79 # 0: down to label11 .LBB2_2: # %for.body.i # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 @@ -152,7 +152,7 @@ facts: # @facts i32.shr_u $2=, $2, $pop41 i32.const $push40=, 1 i32.add $1=, $1, $pop40 - br_if $2, 0 # 0: up to label12 + br_if 0, $2 # 0: up to label12 # BB#3: # %for.end.i # in Loop: Header=BB2_1 Depth=1 end_loop # label13: @@ -160,7 +160,7 @@ facts: # @facts block i32.const $push42=, 1 i32.lt_s $push2=, $1, $pop42 - br_if $pop2, 0 # 0: down to label14 + br_if 0, $pop2 # 0: down to label14 # BB#4: # %for.body4.i.preheader # in Loop: Header=BB2_1 Depth=1 i32.const $push43=, 1 @@ -180,7 +180,7 @@ facts: # @facts i32.and $push6=, $pop5, $3 i32.const $push80=, 0 i32.eq $push81=, $pop6, $pop80 - br_if $pop81, 0 # 0: down to label17 + br_if 0, $pop81 # 0: down to label17 # BB#6: # %if.then5.i # in Loop: Header=BB2_5 Depth=2 i64.mul $push7=, $9, $10 @@ -192,7 +192,7 @@ facts: # @facts i32.add $2=, $2, $pop47 i32.const $push46=, 1 i32.gt_s $push8=, $2, $pop46 - br_if $pop8, 0 # 0: up to label15 + br_if 0, $pop8 # 0: up to label15 .LBB2_8: # %for.body.i114.preheader # in Loop: Header=BB2_1 Depth=1 end_loop # label16: @@ -208,7 +208,7 @@ facts: # @facts i32.shr_u $2=, $2, $pop49 i32.const $push48=, 1 i32.add $1=, $1, $pop48 - br_if $2, 0 # 0: up to label18 + br_if 0, $2 # 0: up to label18 # BB#10: # %for.end.i116 # in Loop: Header=BB2_1 Depth=1 end_loop # label19: @@ -216,7 +216,7 @@ facts: # @facts block i32.const $push50=, 1 i32.lt_s $push9=, $1, $pop50 - br_if $pop9, 0 # 0: down to label20 + br_if 0, $pop9 # 0: down to label20 # BB#11: # %for.body4.i125.preheader # in Loop: Header=BB2_1 Depth=1 i32.const $push51=, 1 @@ -236,7 +236,7 @@ facts: # @facts i32.and $push13=, $pop12, $3 i32.const $push82=, 0 i32.eq $push83=, $pop13, $pop82 - br_if $pop83, 0 # 0: down to label23 + br_if 0, $pop83 # 0: down to label23 # BB#13: # %if.then5.i128 # in Loop: Header=BB2_12 Depth=2 i64.mul $push14=, $9, $7 @@ -248,7 +248,7 @@ facts: # @facts i32.add $2=, $2, $pop55 i32.const $push54=, 1 i32.gt_s $push15=, $2, $pop54 - br_if $pop15, 0 # 0: up to label21 + br_if 0, $pop15 # 0: up to label21 .LBB2_15: # %for.body.i88.preheader # in Loop: Header=BB2_1 Depth=1 end_loop # label22: @@ -264,14 +264,14 @@ facts: # @facts i32.shr_u $2=, $2, $pop57 i32.const $push56=, 1 i32.add $1=, $1, $pop56 - br_if $2, 0 # 0: up to label24 + br_if 0, $2 # 0: up to label24 # BB#17: # %for.end.i90 # in Loop: Header=BB2_1 Depth=1 end_loop # label25: copy_local $9=, $10 i32.const $push58=, 1 i32.lt_s $push16=, $1, $pop58 - br_if $pop16, 0 # 0: down to label11 + br_if 0, $pop16 # 0: down to label11 # BB#18: # %for.body4.i99.preheader # in Loop: Header=BB2_1 Depth=1 i32.const $push59=, 1 @@ -291,7 +291,7 @@ facts: # @facts i32.and $push20=, $pop19, $3 i32.const $push84=, 0 i32.eq $push85=, $pop20, $pop84 - br_if $pop85, 0 # 0: down to label28 + br_if 0, $pop85 # 0: down to label28 # BB#20: # %if.then5.i102 # in Loop: Header=BB2_19 Depth=2 i64.mul $push21=, $9, $10 @@ -303,7 +303,7 @@ facts: # @facts i32.add $2=, $2, $pop63 i32.const $push62=, 1 i32.gt_s $push22=, $2, $pop62 - br_if $pop22, 0 # 0: up to label26 + br_if 0, $pop22 # 0: up to label26 .LBB2_22: # %powmod_ll.exit107 # in Loop: Header=BB2_1 Depth=1 end_loop # label27: @@ -321,7 +321,7 @@ facts: # @facts i64.rem_u $6=, $pop29, $0 block i32.ne $push30=, $5, $13 - br_if $pop30, 0 # 0: down to label29 + br_if 0, $pop30 # 0: down to label29 # BB#23: # %if.then19 # in Loop: Header=BB2_1 Depth=1 i64.const $push68=, 4294967295 @@ -333,7 +333,7 @@ facts: # @facts block i64.const $push66=, 0 i64.eq $push31=, $0, $pop66 - br_if $pop31, 0 # 0: down to label30 + br_if 0, $pop31 # 0: down to label30 .LBB2_24: # %if.end.i # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 @@ -342,14 +342,14 @@ facts: # @facts copy_local $11=, $10 i64.const $push69=, 0 i64.eq $push32=, $9, $pop69 - br_if $pop32, 1 # 1: down to label32 + br_if 1, $pop32 # 1: down to label32 # BB#25: # %if.end5.i # in Loop: Header=BB2_24 Depth=2 i64.rem_u $10=, $10, $9 copy_local $11=, $9 i64.const $push70=, 0 i64.ne $push33=, $10, $pop70 - br_if $pop33, 0 # 0: up to label31 + br_if 0, $pop33 # 0: up to label31 .LBB2_26: # %gcd_ll.exit # in Loop: Header=BB2_1 Depth=1 end_loop # label32: @@ -359,7 +359,7 @@ facts: # @facts tee_local $push72=, $2=, $pop1 i32.const $push71=, 1 i32.eq $push34=, $pop72, $pop71 - br_if $pop34, 0 # 0: down to label29 + br_if 0, $pop34 # 0: down to label29 # BB#27: # %if.then26 # in Loop: Header=BB2_1 Depth=1 i32.store $discard=, 0($12), $2 @@ -371,7 +371,7 @@ facts: # @facts copy_local $12=, $2 i64.const $push73=, 1 i64.eq $push36=, $0, $pop73 - br_if $pop36, 2 # 2: down to label10 + br_if 2, $pop36 # 2: down to label10 .LBB2_28: # %for.inc # in Loop: Header=BB2_1 Depth=1 end_block # label29: @@ -379,7 +379,7 @@ facts: # @facts i32.add $5=, $5, $pop77 i32.const $push76=, 10000 i32.lt_s $push37=, $5, $pop76 - br_if $pop37, 0 # 0: up to label9 + br_if 0, $pop37 # 0: up to label9 .LBB2_29: # %cleanup end_loop # label10: return @@ -407,19 +407,19 @@ main: # @main i32.wrap/i64 $push7=, $pop16 i32.const $push8=, 7 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label33 + br_if 0, $pop9 # 0: down to label33 # BB#1: # %entry i64.const $push10=, -4294967296 i64.and $push0=, $0, $pop10 i64.const $push11=, 313532612608 i64.ne $push12=, $pop0, $pop11 - br_if $pop12, 0 # 0: down to label33 + br_if 0, $pop12 # 0: down to label33 # BB#2: # %entry i32.const $push18=, 0 i32.load $push1=, factab+8($pop18):p2align=3 i32.const $push13=, 262657 i32.ne $push14=, $pop1, $pop13 - br_if $pop14, 0 # 0: down to label33 + br_if 0, $pop14 # 0: down to label33 # BB#3: # %if.end i32.const $push15=, 0 call exit@FUNCTION, $pop15 diff --git a/test/torture-s/920501-8.c.s b/test/torture-s/920501-8.c.s index 6e2be77b3..f797bed04 100644 --- a/test/torture-s/920501-8.c.s +++ b/test/torture-s/920501-8.c.s @@ -264,7 +264,7 @@ main: # @main i32.const $push16=, buf i32.call $0=, strcmp@FUNCTION, $pop17, $pop16 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end i32.const $push18=, 0 call exit@FUNCTION, $pop18 diff --git a/test/torture-s/920501-9.c.s b/test/torture-s/920501-9.c.s index 5c56a0c94..f122e13bd 100644 --- a/test/torture-s/920501-9.c.s +++ b/test/torture-s/920501-9.c.s @@ -89,7 +89,7 @@ print_longlong: # @print_longlong tee_local $push6=, $3=, $pop0 i32.const $push7=, 0 i32.eq $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#1: # %if.then i32.const $4=, __stack_pointer i32.load $4=, 0($4) @@ -175,7 +175,7 @@ main: # @main i32.add $24=, $33, $24 i32.call $0=, strcmp@FUNCTION, $pop1, $24 block - br_if $0, 0 # 0: down to label2 + br_if 0, $0 # 0: down to label2 # BB#1: # %if.end i32.const $5=, __stack_pointer i32.load $5=, 0($5) @@ -200,7 +200,7 @@ main: # @main i32.add $26=, $33, $26 i32.call $0=, strcmp@FUNCTION, $pop3, $26 block - br_if $0, 0 # 0: down to label3 + br_if 0, $0 # 0: down to label3 # BB#2: # %if.end11 i32.const $9=, __stack_pointer i32.load $9=, 0($9) @@ -225,7 +225,7 @@ main: # @main i32.add $28=, $33, $28 i32.call $0=, strcmp@FUNCTION, $pop5, $28 block - br_if $0, 0 # 0: down to label4 + br_if 0, $0 # 0: down to label4 # BB#3: # %if.end19 i32.const $13=, __stack_pointer i32.load $13=, 0($13) @@ -250,7 +250,7 @@ main: # @main i32.add $30=, $33, $30 i32.call $0=, strcmp@FUNCTION, $pop7, $30 block - br_if $0, 0 # 0: down to label5 + br_if 0, $0 # 0: down to label5 # BB#4: # %if.end27 i32.const $17=, __stack_pointer i32.load $17=, 0($17) @@ -275,7 +275,7 @@ main: # @main i32.add $32=, $33, $32 i32.call $0=, strcmp@FUNCTION, $pop10, $32 block - br_if $0, 0 # 0: down to label6 + br_if 0, $0 # 0: down to label6 # BB#5: # %if.end35 i32.const $push11=, 0 call exit@FUNCTION, $pop11 diff --git a/test/torture-s/920506-1.c.s b/test/torture-s/920506-1.c.s index 582553225..7804eb0c4 100644 --- a/test/torture-s/920506-1.c.s +++ b/test/torture-s/920506-1.c.s @@ -10,7 +10,7 @@ main: # @main block i32.const $push1=, 0 i32.load $push0=, l($pop1) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %sw.bb i32.const $push2=, 0 call exit@FUNCTION, $pop2 diff --git a/test/torture-s/920603-1.c.s b/test/torture-s/920603-1.c.s index eaa7e3bb0..d46c73d50 100644 --- a/test/torture-s/920603-1.c.s +++ b/test/torture-s/920603-1.c.s @@ -11,7 +11,7 @@ f: # @f block i32.const $push0=, 65535 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return $0 .LBB0_2: # %if.then diff --git a/test/torture-s/920721-3.c.s b/test/torture-s/920721-3.c.s index d3ae38d92..881423912 100644 --- a/test/torture-s/920721-3.c.s +++ b/test/torture-s/920721-3.c.s @@ -13,7 +13,7 @@ ru: # @ru i32.and $push0=, $0, $pop8 i32.const $push1=, 5 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.const $push3=, 2 @@ -22,7 +22,7 @@ ru: # @ru i32.and $push5=, $pop4, $pop9 i32.const $push6=, 7 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %if.end8 return $0 .LBB0_3: # %if.then7 @@ -50,7 +50,7 @@ rs: # @rs i32.and $push1=, $0, $pop0 i32.const $push2=, 5 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#1: # %if.end8 return $0 .LBB1_2: # %if.then diff --git a/test/torture-s/920726-1.c.s b/test/torture-s/920726-1.c.s index 1580f4560..ecbc507a1 100644 --- a/test/torture-s/920726-1.c.s +++ b/test/torture-s/920726-1.c.s @@ -26,13 +26,13 @@ first: # @first tee_local $push9=, $3=, $pop0 i32.const $push8=, 105 i32.eq $push1=, $pop9, $pop8 - br_if $pop1, 0 # 0: down to label3 + br_if 0, $pop1 # 0: down to label3 # BB#2: # %for.cond # in Loop: Header=BB0_1 Depth=1 block i32.const $push17=, 0 i32.eq $push18=, $3, $pop17 - br_if $pop18, 0 # 0: down to label4 + br_if 0, $pop18 # 0: down to label4 # BB#3: # %if.else # in Loop: Header=BB0_1 Depth=1 i32.const $push15=, 1 @@ -117,13 +117,13 @@ second: # @second tee_local $push9=, $3=, $pop0 i32.const $push8=, 105 i32.eq $push1=, $pop9, $pop8 - br_if $pop1, 0 # 0: down to label8 + br_if 0, $pop1 # 0: down to label8 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 block i32.const $push17=, 0 i32.eq $push18=, $3, $pop17 - br_if $pop18, 0 # 0: down to label9 + br_if 0, $pop18 # 0: down to label9 # BB#3: # %if.else # in Loop: Header=BB1_1 Depth=1 i32.const $push15=, 1 @@ -236,13 +236,13 @@ main: # @main i32.add $14=, $16, $14 i32.call $1=, strcmp@FUNCTION, $pop3, $14 block - br_if $1, 0 # 0: down to label10 + br_if 0, $1 # 0: down to label10 # BB#1: # %lor.lhs.false i32.const $push5=, .L.str.2 i32.const $15=, 16 i32.add $15=, $16, $15 i32.call $1=, strcmp@FUNCTION, $pop5, $15 - br_if $1, 0 # 0: down to label10 + br_if 0, $1 # 0: down to label10 # BB#2: # %if.end i32.const $push2=, 0 call exit@FUNCTION, $pop2 diff --git a/test/torture-s/920731-1.c.s b/test/torture-s/920731-1.c.s index fe2f715e6..0f0a1fbab 100644 --- a/test/torture-s/920731-1.c.s +++ b/test/torture-s/920731-1.c.s @@ -13,7 +13,7 @@ f: # @f block i32.const $push4=, 1 i32.and $push0=, $0, $pop4 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 .LBB0_1: # %for.inc # =>This Inner Loop Header: Depth=1 loop # label1: @@ -21,7 +21,7 @@ f: # @f i32.add $1=, $1, $pop5 i32.const $push2=, 7 i32.gt_s $push3=, $1, $pop2 - br_if $pop3, 1 # 1: down to label2 + br_if 1, $pop3 # 1: down to label2 # BB#2: # %for.inc # in Loop: Header=BB0_1 Depth=1 i32.const $push7=, 1 @@ -30,7 +30,7 @@ f: # @f i32.and $push1=, $0, $pop6 i32.const $push8=, 0 i32.eq $push9=, $pop1, $pop8 - br_if $pop9, 0 # 0: up to label1 + br_if 0, $pop9 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/920829-1.c.s b/test/torture-s/920829-1.c.s index 02509bad3..7b604b8e8 100644 --- a/test/torture-s/920829-1.c.s +++ b/test/torture-s/920829-1.c.s @@ -15,7 +15,7 @@ main: # @main i32.const $push5=, 0 i64.load $push3=, c3($pop5) i64.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push7=, 0 call exit@FUNCTION, $pop7 diff --git a/test/torture-s/920909-1.c.s b/test/torture-s/920909-1.c.s index 05b6ba6ad..844f65f44 100644 --- a/test/torture-s/920909-1.c.s +++ b/test/torture-s/920909-1.c.s @@ -14,7 +14,7 @@ f: # @f tee_local $push8=, $0=, $pop0 i32.const $push2=, 5 i32.gt_u $push3=, $pop8, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %switch.lookup i32.const $push5=, 2 i32.shl $push6=, $0, $pop5 diff --git a/test/torture-s/921013-1.c.s b/test/torture-s/921013-1.c.s index 749e527bb..1fd493ad9 100644 --- a/test/torture-s/921013-1.c.s +++ b/test/torture-s/921013-1.c.s @@ -11,7 +11,7 @@ f: # @f block i32.const $push7=, 0 i32.eq $push8=, $3, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 .LBB0_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -27,7 +27,7 @@ f: # @f i32.add $0=, $0, $pop5 i32.const $push0=, -1 i32.add $3=, $3, $pop0 - br_if $3, 0 # 0: up to label1 + br_if 0, $3 # 0: up to label1 .LBB0_2: # %while.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/921019-1.c.s b/test/torture-s/921019-1.c.s index 65c0714da..0fc4540e4 100644 --- a/test/torture-s/921019-1.c.s +++ b/test/torture-s/921019-1.c.s @@ -13,7 +13,7 @@ main: # @main i32.load8_u $push1=, 0($pop0) i32.const $push2=, 88 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 call exit@FUNCTION, $pop5 diff --git a/test/torture-s/921112-1.c.s b/test/torture-s/921112-1.c.s index 1960e6921..7a78ebfa5 100644 --- a/test/torture-s/921112-1.c.s +++ b/test/torture-s/921112-1.c.s @@ -29,12 +29,12 @@ main: # @main i64.store $discard=, x+8($pop2), $pop3 block i32.const $push6=, 0 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %entry i64.const $push0=, 8589934592 i64.const $push8=, 8589934592 i64.ne $push4=, $pop0, $pop8 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#2: # %if.end i32.const $push5=, 0 call exit@FUNCTION, $pop5 diff --git a/test/torture-s/921113-1.c.s b/test/torture-s/921113-1.c.s index b49c8cf80..dc179834c 100644 --- a/test/torture-s/921113-1.c.s +++ b/test/torture-s/921113-1.c.s @@ -26,11 +26,11 @@ f1: # @f1 block f32.const $push2=, 0x0p0 f32.ne $push0=, $0, $pop2 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %entry f32.const $push3=, 0x0p0 f32.ne $push1=, $1, $pop3 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#2: # %if.end return $2 .LBB1_3: # %if.then @@ -53,11 +53,11 @@ f2: # @f2 block f32.const $push2=, 0x1p0 f32.ne $push0=, $0, $pop2 - br_if $pop0, 0 # 0: down to label1 + br_if 0, $pop0 # 0: down to label1 # BB#1: # %entry f32.const $push3=, 0x1p0 f32.ne $push1=, $1, $pop3 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#2: # %if.end return $2 .LBB2_3: # %if.then @@ -81,25 +81,25 @@ gitter: # @gitter f32.load $push1=, 0($4) f32.const $push25=, 0x0p0 f32.ne $push2=, $pop1, $pop25 - br_if $pop2, 0 # 0: down to label2 + br_if 0, $pop2 # 0: down to label2 # BB#1: # %entry f32.load $push0=, 4($4) f32.const $push26=, 0x0p0 f32.ne $push3=, $pop0, $pop26 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#2: # %f1.exit block f32.load $push5=, 8($4) f32.const $push27=, 0x1p0 f32.ne $push8=, $pop5, $pop27 - br_if $pop8, 0 # 0: down to label3 + br_if 0, $pop8 # 0: down to label3 # BB#3: # %f1.exit i32.const $push6=, 12 i32.add $push7=, $4, $pop6 f32.load $push4=, 0($pop7) f32.const $push28=, 0x1p0 f32.ne $push9=, $pop4, $pop28 - br_if $pop9, 0 # 0: down to label3 + br_if 0, $pop9 # 0: down to label3 # BB#4: # %f2.exit f32.load $6=, 0($1) i32.const $push10=, 0 @@ -109,7 +109,7 @@ gitter: # @gitter f32.gt $push12=, $6, $pop11 f32.ne $push13=, $6, $6 i32.or $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#5: # %if.then f64.promote/f32 $push15=, $6 tee_local $push30=, $8=, $pop15 @@ -122,7 +122,7 @@ gitter: # @gitter f64.ne $push20=, $7, $7 i32.or $push22=, $pop21, $pop20 i32.or $push23=, $pop19, $pop22 - br_if $pop23, 0 # 0: down to label4 + br_if 0, $pop23 # 0: down to label4 # BB#6: # %if.then15 i32.const $push24=, 1065353216 i32.store $discard=, 0($2), $pop24 @@ -153,26 +153,26 @@ main: # @main f32.load $push1=, limit($pop10):p2align=4 f32.const $push9=, 0x0p0 f32.ne $push2=, $pop1, $pop9 - br_if $pop2, 0 # 0: down to label5 + br_if 0, $pop2 # 0: down to label5 # BB#1: # %entry i32.const $push12=, 0 f32.load $push0=, limit+4($pop12) f32.const $push11=, 0x0p0 f32.ne $push3=, $pop0, $pop11 - br_if $pop3, 0 # 0: down to label5 + br_if 0, $pop3 # 0: down to label5 # BB#2: # %f1.exit.i block i32.const $push14=, 0 f32.load $push5=, limit+8($pop14):p2align=3 f32.const $push13=, 0x1p0 f32.ne $push6=, $pop5, $pop13 - br_if $pop6, 0 # 0: down to label6 + br_if 0, $pop6 # 0: down to label6 # BB#3: # %f1.exit.i i32.const $push16=, 0 f32.load $push4=, limit+12($pop16) f32.const $push15=, 0x1p0 f32.ne $push7=, $pop4, $pop15 - br_if $pop7, 0 # 0: down to label6 + br_if 0, $pop7 # 0: down to label6 # BB#4: # %f2.exit.i i32.const $push8=, 0 call exit@FUNCTION, $pop8 diff --git a/test/torture-s/921117-1.c.s b/test/torture-s/921117-1.c.s index 1fa4c582c..549ebe1a6 100644 --- a/test/torture-s/921117-1.c.s +++ b/test/torture-s/921117-1.c.s @@ -14,7 +14,7 @@ check: # @check i32.load $push0=, 12($0) i32.const $push1=, 99 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, .L.str i32.call $1=, strcmp@FUNCTION, $0, $pop3 @@ -51,7 +51,7 @@ main: # @main i32.const $push1=, cell i32.const $push5=, .L.str i32.call $push6=, strcmp@FUNCTION, $pop1, $pop5 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#1: # %if.end i32.const $push14=, 0 call exit@FUNCTION, $pop14 diff --git a/test/torture-s/921124-1.c.s b/test/torture-s/921124-1.c.s index 726639110..f58363775 100644 --- a/test/torture-s/921124-1.c.s +++ b/test/torture-s/921124-1.c.s @@ -24,19 +24,19 @@ g: # @g block f64.const $push0=, 0x1p0 f64.ne $push1=, $2, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry f64.const $push2=, 0x1p1 f64.ne $push3=, $3, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %entry i32.const $push4=, 3 i32.ne $push5=, $4, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#3: # %entry i32.const $push6=, 4 i32.ne $push7=, $5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#4: # %if.end return $4 .LBB1_5: # %if.then diff --git a/test/torture-s/930111-1.c.s b/test/torture-s/930111-1.c.s index 611aa5a82..d07860153 100644 --- a/test/torture-s/930111-1.c.s +++ b/test/torture-s/930111-1.c.s @@ -28,7 +28,7 @@ wwrite: # @wwrite block i64.const $push0=, 28 i64.gt_u $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry i64.const $push2=, 1 i64.shl $push3=, $pop2, $0 @@ -36,12 +36,12 @@ wwrite: # @wwrite i64.and $push5=, $pop3, $pop4 i64.const $push6=, 0 i64.ne $push7=, $pop5, $pop6 - br_if $pop7, 1 # 1: down to label0 + br_if 1, $pop7 # 1: down to label0 .LBB1_2: # %entry end_block # label1: i64.const $push8=, 47 i64.eq $push9=, $0, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#3: # %sw.default i32.const $1=, 123 .LBB1_4: # %return diff --git a/test/torture-s/930126-1.c.s b/test/torture-s/930126-1.c.s index fb297a2ec..5f7bf1b92 100644 --- a/test/torture-s/930126-1.c.s +++ b/test/torture-s/930126-1.c.s @@ -44,7 +44,7 @@ main: # @main i64.and $push5=, $pop3, $pop4 i64.const $push6=, 884479243276 i64.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push12=, 0 call exit@FUNCTION, $pop12 diff --git a/test/torture-s/930408-1.c.s b/test/torture-s/930408-1.c.s index 883cd7fe0..8d85c5154 100644 --- a/test/torture-s/930408-1.c.s +++ b/test/torture-s/930408-1.c.s @@ -26,7 +26,7 @@ f: # @f i32.load $push1=, s($pop0) i32.const $push2=, 0 i32.eq $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %sw.epilog return $0 .LBB1_2: # %sw.bb diff --git a/test/torture-s/930513-1.c.s b/test/torture-s/930513-1.c.s index 362048ee6..d6616b5fe 100644 --- a/test/torture-s/930513-1.c.s +++ b/test/torture-s/930513-1.c.s @@ -77,13 +77,13 @@ main: # @main i32.load8_u $push4=, buf($pop10) i32.const $push5=, 53 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %entry i32.const $push11=, 0 i32.load8_u $push0=, buf+1($pop11) i32.const $push7=, 255 i32.and $push8=, $pop0, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#2: # %if.end i32.const $push9=, 0 call exit@FUNCTION, $pop9 diff --git a/test/torture-s/930513-2.c.s b/test/torture-s/930513-2.c.s index 2ae92d612..abea8e300 100644 --- a/test/torture-s/930513-2.c.s +++ b/test/torture-s/930513-2.c.s @@ -26,7 +26,7 @@ eq: # @eq i32.const $push4=, 0 i32.load $push0=, eq.i($pop4) i32.ne $push1=, $pop0, $0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 i32.const $push2=, 1 @@ -51,7 +51,7 @@ main: # @main block i32.const $push2=, 0 i32.load $push0=, eq.i($pop2) - br_if $pop0, 0 # 0: down to label1 + br_if 0, $pop0 # 0: down to label1 # BB#1: # %eq.exit.3 i32.const $push4=, 0 i32.const $push1=, 4 diff --git a/test/torture-s/930603-2.c.s b/test/torture-s/930603-2.c.s index a50f5a7fe..968f028e3 100644 --- a/test/torture-s/930603-2.c.s +++ b/test/torture-s/930603-2.c.s @@ -37,7 +37,7 @@ main: # @main i32.store $discard=, w+12($pop4), $pop1 block i32.or $push2=, $1, $0 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push7=, 0 call exit@FUNCTION, $pop7 diff --git a/test/torture-s/930603-3.c.s b/test/torture-s/930603-3.c.s index 7be42d151..214b0a004 100644 --- a/test/torture-s/930603-3.c.s +++ b/test/torture-s/930603-3.c.s @@ -12,12 +12,12 @@ f: # @f block i32.const $push0=, 107 i32.eq $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry block i32.const $push2=, 100 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#2: # %sw.bb i32.load8_u $push6=, 0($0) i32.const $push7=, 1 diff --git a/test/torture-s/930630-1.c.s b/test/torture-s/930630-1.c.s index a5e463331..64cd9bf6b 100644 --- a/test/torture-s/930630-1.c.s +++ b/test/torture-s/930630-1.c.s @@ -25,7 +25,7 @@ f: # @f block i32.const $push0=, 7 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return $0 .LBB1_2: # %if.then diff --git a/test/torture-s/930702-1.c.s b/test/torture-s/930702-1.c.s index 220e999ff..14ad9090b 100644 --- a/test/torture-s/930702-1.c.s +++ b/test/torture-s/930702-1.c.s @@ -11,11 +11,11 @@ fp: # @fp block f64.const $push0=, 0x1.08p5 f64.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 11 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.end return $1 .LBB0_3: # %if.then diff --git a/test/torture-s/930719-1.c.s b/test/torture-s/930719-1.c.s index d114312d4..289f92ba4 100644 --- a/test/torture-s/930719-1.c.s +++ b/test/torture-s/930719-1.c.s @@ -9,14 +9,14 @@ f: # @f .result i32 # BB#0: # %entry block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %while.body.preheader block i32.const $push0=, 1 i32.ne $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#2: # %sw.bb.split - br_if $2, 1 # 1: down to label0 + br_if 1, $2 # 1: down to label0 # BB#3: # %if.end2 unreachable unreachable diff --git a/test/torture-s/930916-1.c.s b/test/torture-s/930916-1.c.s index dbbd18d3a..937a708b1 100644 --- a/test/torture-s/930916-1.c.s +++ b/test/torture-s/930916-1.c.s @@ -11,7 +11,7 @@ f: # @f block i32.const $push0=, 0 i32.ge_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return $0 .LBB0_2: # %if.then diff --git a/test/torture-s/930921-1.c.s b/test/torture-s/930921-1.c.s index 32329afca..a4c5adf50 100644 --- a/test/torture-s/930921-1.c.s +++ b/test/torture-s/930921-1.c.s @@ -41,14 +41,14 @@ main: # @main i32.const $push10=, 3 i32.div_u $push4=, $0, $pop10 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 2 # 2: down to label0 + br_if 2, $pop5 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 i32.const $push9=, 1 i32.add $0=, $0, $pop9 i32.const $push8=, 9999 i32.le_u $push6=, $0, $pop8 - br_if $pop6, 0 # 0: up to label1 + br_if 0, $pop6 # 0: up to label1 # BB#3: # %for.end end_loop # label2: i32.const $push7=, 0 diff --git a/test/torture-s/930930-1.c.s b/test/torture-s/930930-1.c.s index 6c00ff8c4..bc5727586 100644 --- a/test/torture-s/930930-1.c.s +++ b/test/torture-s/930930-1.c.s @@ -12,7 +12,7 @@ f: # @f copy_local $5=, $0 block i32.lt_u $push1=, $3, $4 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 .LBB0_1: # %if.end # =>This Inner Loop Header: Depth=1 loop # label1: @@ -20,11 +20,11 @@ f: # @f i32.load $push0=, 0($3) tee_local $push8=, $6=, $pop0 i32.ge_u $push2=, $pop8, $2 - br_if $pop2, 0 # 0: down to label3 + br_if 0, $pop2 # 0: down to label3 # BB#2: # %if.end # in Loop: Header=BB0_1 Depth=1 i32.lt_u $push3=, $6, $1 - br_if $pop3, 0 # 0: down to label3 + br_if 0, $pop3 # 0: down to label3 # BB#3: # %if.then3 # in Loop: Header=BB0_1 Depth=1 i32.const $push4=, -4 @@ -36,11 +36,11 @@ f: # @f i32.const $push5=, -4 i32.add $3=, $3, $pop5 i32.ge_u $push6=, $3, $4 - br_if $pop6, 0 # 0: up to label1 + br_if 0, $pop6 # 0: up to label1 # BB#5: # %out end_loop # label2: i32.eq $push7=, $5, $0 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#6: # %if.then7 call abort@FUNCTION unreachable diff --git a/test/torture-s/930930-2.c.s b/test/torture-s/930930-2.c.s index df4378b9d..09f70faf0 100644 --- a/test/torture-s/930930-2.c.s +++ b/test/torture-s/930930-2.c.s @@ -59,7 +59,7 @@ main: # @main i64.store $discard=, 8($2), $pop0 block i32.load $push1=, 8($2):p2align=3 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 call exit@FUNCTION, $pop2 diff --git a/test/torture-s/931004-1.c.s b/test/torture-s/931004-1.c.s index a64606cb3..9da6f37dc 100644 --- a/test/torture-s/931004-1.c.s +++ b/test/torture-s/931004-1.c.s @@ -11,22 +11,22 @@ f: # @f block i32.const $push0=, 10 i32.ne $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end block i32.const $push2=, 11 i32.ne $push3=, $2, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %if.end6 block i32.const $push4=, 12 i32.ne $push5=, $3, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#3: # %if.end10 block i32.const $push6=, 123 i32.ne $push7=, $4, $pop6 - br_if $pop7, 0 # 0: down to label3 + br_if 0, $pop7 # 0: down to label3 # BB#4: # %if.end13 return $1 .LBB0_5: # %if.then12 diff --git a/test/torture-s/931004-11.c.s b/test/torture-s/931004-11.c.s index 1eb52a649..8b3cd04ab 100644 --- a/test/torture-s/931004-11.c.s +++ b/test/torture-s/931004-11.c.s @@ -12,60 +12,60 @@ f: # @f i32.load8_u $push0=, 0($1) i32.const $push1=, 10 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.load8_u $push3=, 1($1) i32.const $push4=, 20 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end6 block i32.load8_u $push6=, 2($1) i32.const $push7=, 30 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end11 block i32.load8_u $push9=, 0($2) i32.const $push10=, 11 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.end17 block i32.load8_u $push12=, 1($2) i32.const $push13=, 21 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#5: # %if.end23 block i32.load8_u $push15=, 2($2) i32.const $push16=, 31 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label5 + br_if 0, $pop17 # 0: down to label5 # BB#6: # %if.end29 block i32.load8_u $push18=, 0($3) i32.const $push19=, 12 i32.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label6 + br_if 0, $pop20 # 0: down to label6 # BB#7: # %if.end35 block i32.load8_u $push21=, 1($3) i32.const $push22=, 22 i32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label7 + br_if 0, $pop23 # 0: down to label7 # BB#8: # %if.end41 block i32.load8_u $push24=, 2($3) i32.const $push25=, 32 i32.ne $push26=, $pop24, $pop25 - br_if $pop26, 0 # 0: down to label8 + br_if 0, $pop26 # 0: down to label8 # BB#9: # %if.end47 block i32.const $push27=, 123 i32.ne $push28=, $4, $pop27 - br_if $pop28, 0 # 0: down to label9 + br_if 0, $pop28 # 0: down to label9 # BB#10: # %if.end51 return $1 .LBB0_11: # %if.then50 diff --git a/test/torture-s/931004-13.c.s b/test/torture-s/931004-13.c.s index 1f2ade41d..8e8b49fe3 100644 --- a/test/torture-s/931004-13.c.s +++ b/test/torture-s/931004-13.c.s @@ -12,78 +12,78 @@ f: # @f i32.load8_u $push0=, 0($1) i32.const $push1=, 10 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.load8_u $push3=, 1($1) i32.const $push4=, 20 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end6 block i32.load8_u $push6=, 2($1) i32.const $push7=, 30 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end11 block i32.load8_u $push9=, 3($1) i32.const $push10=, 40 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.end16 block i32.load8_u $push12=, 0($2) i32.const $push13=, 11 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#5: # %if.end22 block i32.load8_u $push15=, 1($2) i32.const $push16=, 21 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label5 + br_if 0, $pop17 # 0: down to label5 # BB#6: # %if.end28 block i32.load8_u $push18=, 2($2) i32.const $push19=, 31 i32.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label6 + br_if 0, $pop20 # 0: down to label6 # BB#7: # %if.end34 block i32.load8_u $push21=, 3($2) i32.const $push22=, 41 i32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label7 + br_if 0, $pop23 # 0: down to label7 # BB#8: # %if.end40 block i32.load8_u $push24=, 0($3) i32.const $push25=, 12 i32.ne $push26=, $pop24, $pop25 - br_if $pop26, 0 # 0: down to label8 + br_if 0, $pop26 # 0: down to label8 # BB#9: # %if.end46 block i32.load8_u $push27=, 1($3) i32.const $push28=, 22 i32.ne $push29=, $pop27, $pop28 - br_if $pop29, 0 # 0: down to label9 + br_if 0, $pop29 # 0: down to label9 # BB#10: # %if.end52 block i32.load8_u $push30=, 2($3) i32.const $push31=, 32 i32.ne $push32=, $pop30, $pop31 - br_if $pop32, 0 # 0: down to label10 + br_if 0, $pop32 # 0: down to label10 # BB#11: # %if.end58 block i32.load8_u $push33=, 3($3) i32.const $push34=, 42 i32.ne $push35=, $pop33, $pop34 - br_if $pop35, 0 # 0: down to label11 + br_if 0, $pop35 # 0: down to label11 # BB#12: # %if.end64 block i32.const $push36=, 123 i32.ne $push37=, $4, $pop36 - br_if $pop37, 0 # 0: down to label12 + br_if 0, $pop37 # 0: down to label12 # BB#13: # %if.end68 return $1 .LBB0_14: # %if.then67 diff --git a/test/torture-s/931004-3.c.s b/test/torture-s/931004-3.c.s index e52eebbf9..200580c5b 100644 --- a/test/torture-s/931004-3.c.s +++ b/test/torture-s/931004-3.c.s @@ -13,26 +13,26 @@ f: # @f i32.and $push0=, $1, $pop12 i32.const $push1=, 10 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.const $push13=, 65535 i32.and $push3=, $2, $pop13 i32.const $push4=, 11 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end9 block i32.const $push6=, 65535 i32.and $push7=, $3, $pop6 i32.const $push8=, 12 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label2 + br_if 0, $pop9 # 0: down to label2 # BB#3: # %if.end15 block i32.const $push10=, 123 i32.ne $push11=, $4, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.end19 return $1 .LBB0_5: # %if.then18 diff --git a/test/torture-s/931004-5.c.s b/test/torture-s/931004-5.c.s index c5c98b7da..4530b18a2 100644 --- a/test/torture-s/931004-5.c.s +++ b/test/torture-s/931004-5.c.s @@ -12,42 +12,42 @@ f: # @f i32.load16_u $push0=, 0($1) i32.const $push1=, 10 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.load16_u $push3=, 2($1) i32.const $push4=, 20 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end6 block i32.load16_u $push6=, 0($2) i32.const $push7=, 11 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end12 block i32.load16_u $push9=, 2($2) i32.const $push10=, 21 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.end18 block i32.load16_u $push12=, 0($3) i32.const $push13=, 12 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#5: # %if.end24 block i32.load16_u $push15=, 2($3) i32.const $push16=, 22 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label5 + br_if 0, $pop17 # 0: down to label5 # BB#6: # %if.end30 block i32.const $push18=, 123 i32.ne $push19=, $4, $pop18 - br_if $pop19, 0 # 0: down to label6 + br_if 0, $pop19 # 0: down to label6 # BB#7: # %if.end34 return $1 .LBB0_8: # %if.then33 diff --git a/test/torture-s/931004-7.c.s b/test/torture-s/931004-7.c.s index 694dcb223..28029cfbb 100644 --- a/test/torture-s/931004-7.c.s +++ b/test/torture-s/931004-7.c.s @@ -13,26 +13,26 @@ f: # @f i32.and $push0=, $1, $pop12 i32.const $push1=, 10 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.const $push13=, 255 i32.and $push3=, $2, $pop13 i32.const $push4=, 11 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end9 block i32.const $push6=, 255 i32.and $push7=, $3, $pop6 i32.const $push8=, 12 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label2 + br_if 0, $pop9 # 0: down to label2 # BB#3: # %if.end15 block i32.const $push10=, 123 i32.ne $push11=, $4, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.end19 return $1 .LBB0_5: # %if.then18 diff --git a/test/torture-s/931004-9.c.s b/test/torture-s/931004-9.c.s index 400c85e16..8bc7e29ad 100644 --- a/test/torture-s/931004-9.c.s +++ b/test/torture-s/931004-9.c.s @@ -12,42 +12,42 @@ f: # @f i32.load8_u $push0=, 0($1) i32.const $push1=, 10 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.load8_u $push3=, 1($1) i32.const $push4=, 20 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end6 block i32.load8_u $push6=, 0($2) i32.const $push7=, 11 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end12 block i32.load8_u $push9=, 1($2) i32.const $push10=, 21 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.end18 block i32.load8_u $push12=, 0($3) i32.const $push13=, 12 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#5: # %if.end24 block i32.load8_u $push15=, 1($3) i32.const $push16=, 22 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label5 + br_if 0, $pop17 # 0: down to label5 # BB#6: # %if.end30 block i32.const $push18=, 123 i32.ne $push19=, $4, $pop18 - br_if $pop19, 0 # 0: down to label6 + br_if 0, $pop19 # 0: down to label6 # BB#7: # %if.end34 return $1 .LBB0_8: # %if.then33 diff --git a/test/torture-s/931017-1.c.s b/test/torture-s/931017-1.c.s index 9696cae38..2c3044b51 100644 --- a/test/torture-s/931017-1.c.s +++ b/test/torture-s/931017-1.c.s @@ -38,7 +38,7 @@ h2: # @h2 block i32.const $push0=, v i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 return $pop2 diff --git a/test/torture-s/931018-1.c.s b/test/torture-s/931018-1.c.s index 8f00f6dfa..101b551a2 100644 --- a/test/torture-s/931018-1.c.s +++ b/test/torture-s/931018-1.c.s @@ -25,7 +25,7 @@ f: # @f block i32.const $push0=, -559038737 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return $0 .LBB1_2: # %if.then diff --git a/test/torture-s/931102-1.c.s b/test/torture-s/931102-1.c.s index fa8eb3266..cba2e73c9 100644 --- a/test/torture-s/931102-1.c.s +++ b/test/torture-s/931102-1.c.s @@ -13,7 +13,7 @@ f: # @f block i32.const $push5=, 1 i32.and $push0=, $0, $pop5 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 .LBB0_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -27,7 +27,7 @@ f: # @f i32.and $push4=, $0, $pop6 i32.const $push8=, 0 i32.eq $push9=, $pop4, $pop8 - br_if $pop9, 0 # 0: up to label1 + br_if 0, $pop9 # 0: up to label1 .LBB0_2: # %while.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/931102-2.c.s b/test/torture-s/931102-2.c.s index 159386196..5a3e5e84b 100644 --- a/test/torture-s/931102-2.c.s +++ b/test/torture-s/931102-2.c.s @@ -13,7 +13,7 @@ f: # @f block i32.const $push5=, 1 i32.and $push0=, $0, $pop5 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 .LBB0_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -27,7 +27,7 @@ f: # @f i32.and $push4=, $0, $pop6 i32.const $push8=, 0 i32.eq $push9=, $pop4, $pop8 - br_if $pop9, 0 # 0: up to label1 + br_if 0, $pop9 # 0: up to label1 .LBB0_2: # %while.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/940122-1.c.s b/test/torture-s/940122-1.c.s index 2ae29ac00..1a7ea4348 100644 --- a/test/torture-s/940122-1.c.s +++ b/test/torture-s/940122-1.c.s @@ -19,7 +19,7 @@ g: # @g i32.const $push6=, 0 i32.ne $push4=, $pop3, $pop6 i32.ne $push5=, $pop2, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end return $1 .LBB0_2: # %if.then @@ -49,7 +49,7 @@ f: # @f i32.const $push6=, 0 i32.ne $push4=, $pop3, $pop6 i32.ne $push5=, $pop2, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#1: # %g.exit return $1 .LBB1_2: # %if.then.i diff --git a/test/torture-s/941014-2.c.s b/test/torture-s/941014-2.c.s index 9b955017b..ddae9e22f 100644 --- a/test/torture-s/941014-2.c.s +++ b/test/torture-s/941014-2.c.s @@ -32,7 +32,7 @@ f: # @f i32.load16_u $push1=, 0($0) i32.const $push2=, 4096 i32.lt_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.then i32.const $1=, __stack_pointer i32.load $1=, 0($1) @@ -83,7 +83,7 @@ main: # @main i32.load16_u $push1=, 0($0) i32.const $push2=, 4096 i32.lt_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %if.then.i i32.const $1=, __stack_pointer i32.load $1=, 0($1) @@ -108,7 +108,7 @@ main: # @main i32.store16 $push7=, 2($0), $pop6 i32.load16_u $push8=, 2($0) i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label2 + br_if 0, $pop9 # 0: down to label2 # BB#3: # %if.end i32.const $push10=, 0 call exit@FUNCTION, $pop10 diff --git a/test/torture-s/941202-1.c.s b/test/torture-s/941202-1.c.s index fd138787d..cfcd23f81 100644 --- a/test/torture-s/941202-1.c.s +++ b/test/torture-s/941202-1.c.s @@ -11,7 +11,7 @@ g: # @g block i32.const $push0=, 3 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return $0 .LBB0_2: # %if.then diff --git a/test/torture-s/950221-1.c.s b/test/torture-s/950221-1.c.s index aad3a600e..00981470f 100644 --- a/test/torture-s/950221-1.c.s +++ b/test/torture-s/950221-1.c.s @@ -25,7 +25,7 @@ g2: # @g2 block i32.const $push0=, -559038737 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 call exit@FUNCTION, $pop2 @@ -51,13 +51,13 @@ f: # @f i32.load $push2=, parsefile($pop4) i32.load $push0=, 0($pop2) tee_local $push3=, $0=, $pop0 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %entry i32.const $push5=, 0 i32.load $push1=, el($pop5) i32.const $push6=, 0 i32.eq $push7=, $pop1, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %if.end return $0 .LBB2_3: # %alabel diff --git a/test/torture-s/950605-1.c.s b/test/torture-s/950605-1.c.s index 739438e9e..68e38806e 100644 --- a/test/torture-s/950605-1.c.s +++ b/test/torture-s/950605-1.c.s @@ -13,7 +13,7 @@ f: # @f i32.and $push1=, $0, $pop0 i32.const $push3=, 255 i32.ne $push2=, $pop1, $pop3 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end return $0 .LBB0_2: # %if.then diff --git a/test/torture-s/950621-1.c.s b/test/torture-s/950621-1.c.s index a35f01e82..3da3af2a6 100644 --- a/test/torture-s/950621-1.c.s +++ b/test/torture-s/950621-1.c.s @@ -13,12 +13,12 @@ f: # @f block i32.const $push5=, 0 i32.eq $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %land.lhs.true i32.load $push0=, 0($0) i32.const $push3=, -1 i32.ne $push1=, $pop0, $pop3 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#2: # %land.rhs i32.load $push2=, 4($0) i32.const $push4=, -1 diff --git a/test/torture-s/950704-1.c.s b/test/torture-s/950704-1.c.s index 9c9737f35..cc6901423 100644 --- a/test/torture-s/950704-1.c.s +++ b/test/torture-s/950704-1.c.s @@ -18,25 +18,25 @@ f: # @f block i64.const $push10=, 0 i64.lt_s $push1=, $0, $pop10 - br_if $pop1, 0 # 0: down to label2 + br_if 0, $pop1 # 0: down to label2 # BB#1: # %if.then i64.const $push12=, 0 i64.lt_s $push5=, $1, $pop12 - br_if $pop5, 2 # 2: down to label0 + br_if 2, $pop5 # 2: down to label0 # BB#2: # %if.then i64.const $push6=, -1 i64.le_s $push7=, $2, $pop6 - br_if $pop7, 1 # 1: down to label1 + br_if 1, $pop7 # 1: down to label1 br 2 # 2: down to label0 .LBB0_3: # %if.else end_block # label2: i64.const $push13=, 0 i64.gt_s $push2=, $1, $pop13 - br_if $pop2, 1 # 1: down to label0 + br_if 1, $pop2 # 1: down to label0 # BB#4: # %if.else i64.const $push3=, 0 i64.lt_s $push4=, $2, $pop3 - br_if $pop4, 1 # 1: down to label0 + br_if 1, $pop4 # 1: down to label0 .LBB0_5: # %if.end9 end_block # label1: i32.const $push8=, 0 diff --git a/test/torture-s/950710-1.c.s b/test/torture-s/950710-1.c.s index 6f5a08078..77ebae179 100644 --- a/test/torture-s/950710-1.c.s +++ b/test/torture-s/950710-1.c.s @@ -37,7 +37,7 @@ main: # @main i32.xor $push3=, $pop2, $1 i32.const $push4=, 11 i32.gt_u $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.then.i call abort@FUNCTION unreachable diff --git a/test/torture-s/950714-1.c.s b/test/torture-s/950714-1.c.s index e36513f6a..2fd3c7907 100644 --- a/test/torture-s/950714-1.c.s +++ b/test/torture-s/950714-1.c.s @@ -32,52 +32,52 @@ main: # @main block loop # label1: i32.eq $push0=, $0, $9 - br_if $pop0, 1 # 1: down to label2 + br_if 1, $pop0 # 1: down to label2 # BB#2: # %for.cond1.preheader # in Loop: Header=BB0_1 Depth=1 i32.eq $push1=, $1, $9 - br_if $pop1, 1 # 1: down to label2 + br_if 1, $pop1 # 1: down to label2 # BB#3: # %for.cond1.preheader # in Loop: Header=BB0_1 Depth=1 i32.eq $push2=, $2, $9 - br_if $pop2, 1 # 1: down to label2 + br_if 1, $pop2 # 1: down to label2 # BB#4: # %for.cond1.preheader # in Loop: Header=BB0_1 Depth=1 i32.eq $push3=, $3, $9 - br_if $pop3, 1 # 1: down to label2 + br_if 1, $pop3 # 1: down to label2 # BB#5: # %for.cond1.preheader # in Loop: Header=BB0_1 Depth=1 i32.eq $push4=, $4, $9 - br_if $pop4, 1 # 1: down to label2 + br_if 1, $pop4 # 1: down to label2 # BB#6: # %for.cond1.preheader # in Loop: Header=BB0_1 Depth=1 i32.eq $push5=, $5, $9 - br_if $pop5, 1 # 1: down to label2 + br_if 1, $pop5 # 1: down to label2 # BB#7: # %for.cond1.preheader # in Loop: Header=BB0_1 Depth=1 i32.eq $push6=, $6, $9 - br_if $pop6, 1 # 1: down to label2 + br_if 1, $pop6 # 1: down to label2 # BB#8: # %for.cond1.preheader # in Loop: Header=BB0_1 Depth=1 i32.eq $push7=, $7, $9 - br_if $pop7, 1 # 1: down to label2 + br_if 1, $pop7 # 1: down to label2 # BB#9: # %for.cond1.preheader # in Loop: Header=BB0_1 Depth=1 i32.eq $push8=, $8, $9 - br_if $pop8, 1 # 1: down to label2 + br_if 1, $pop8 # 1: down to label2 # BB#10: # %for.cond1.8 # in Loop: Header=BB0_1 Depth=1 i32.const $push23=, 1 i32.add $9=, $9, $pop23 i32.const $push22=, 10 i32.lt_s $push9=, $9, $pop22 - br_if $pop9, 0 # 0: up to label1 + br_if 0, $pop9 # 0: up to label1 br 2 # 2: down to label0 .LBB0_11: # %label end_loop # label2: i32.const $push10=, 1 i32.ne $push11=, $9, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#12: # %if.end9 i32.const $push12=, 0 call exit@FUNCTION, $pop12 diff --git a/test/torture-s/950809-1.c.s b/test/torture-s/950809-1.c.s index e2d9d4bf5..47f264c3c 100644 --- a/test/torture-s/950809-1.c.s +++ b/test/torture-s/950809-1.c.s @@ -48,7 +48,7 @@ main: # @main i32.store $push0=, main.sc+8($pop4), $0 i32.const $push2=, 2 i32.ne $push3=, $pop0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push7=, 0 call exit@FUNCTION, $pop7 diff --git a/test/torture-s/950915-1.c.s b/test/torture-s/950915-1.c.s index 781e45a7d..575f3fd6a 100644 --- a/test/torture-s/950915-1.c.s +++ b/test/torture-s/950915-1.c.s @@ -38,7 +38,7 @@ main: # @main i32.wrap/i64 $push5=, $pop4 i32.const $push6=, -1 i32.gt_s $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/960116-1.c.s b/test/torture-s/960116-1.c.s index 4136fcb47..418b610ec 100644 --- a/test/torture-s/960116-1.c.s +++ b/test/torture-s/960116-1.c.s @@ -14,10 +14,10 @@ f: # @f block i32.const $push2=, 1 i32.and $push0=, $0, $pop2 - br_if $pop0, 0 # 0: down to label1 + br_if 0, $pop0 # 0: down to label1 # BB#1: # %land.lhs.true i32.load $push1=, 0($0) - br_if $pop1, 1 # 1: down to label0 + br_if 1, $pop1 # 1: down to label0 .LBB0_2: # %if.end end_block # label1: i32.const $1=, 0 diff --git a/test/torture-s/960209-1.c.s b/test/torture-s/960209-1.c.s index 7ad832cc5..0f6d7e13c 100644 --- a/test/torture-s/960209-1.c.s +++ b/test/torture-s/960209-1.c.s @@ -14,7 +14,7 @@ f: # @f block i32.const $push6=, 0 i32.load $push0=, yabba($pop6) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end24 i32.const $push8=, 0 i32.const $push2=, 255 @@ -39,7 +39,7 @@ main: # @main block i32.const $push2=, 0 i32.load $push0=, yabba($pop2) - br_if $pop0, 0 # 0: down to label1 + br_if 0, $pop0 # 0: down to label1 # BB#1: # %if.end24.i i32.const $push3=, 0 i32.const $push1=, an_array+1 diff --git a/test/torture-s/960215-1.c.s b/test/torture-s/960215-1.c.s index 30bbf61f1..e9e0efad5 100644 --- a/test/torture-s/960215-1.c.s +++ b/test/torture-s/960215-1.c.s @@ -256,7 +256,7 @@ main: # @main i32.call $push51=, __eqtf2@FUNCTION, $2, $3, $pop52, $pop50 i32.const $push109=, 0 i32.eq $push110=, $pop51, $pop109 - br_if $pop110, 0 # 0: down to label0 + br_if 0, $pop110 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/960218-1.c.s b/test/torture-s/960218-1.c.s index 78312d213..082a8852e 100644 --- a/test/torture-s/960218-1.c.s +++ b/test/torture-s/960218-1.c.s @@ -27,7 +27,7 @@ f: # @f block i32.const $push3=, -1 i32.eq $push0=, $0, $pop3 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %while.cond.while.end_crit_edge i32.const $push2=, 0 i32.const $push4=, -1 diff --git a/test/torture-s/960219-1.c.s b/test/torture-s/960219-1.c.s index a634e777f..6165d7427 100644 --- a/test/torture-s/960219-1.c.s +++ b/test/torture-s/960219-1.c.s @@ -9,7 +9,7 @@ f: # @f .result i32 # BB#0: # %entry block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end return $0 .LBB0_2: # %if.then diff --git a/test/torture-s/960302-1.c.s b/test/torture-s/960302-1.c.s index 8414bc2c7..670fef2fe 100644 --- a/test/torture-s/960302-1.c.s +++ b/test/torture-s/960302-1.c.s @@ -48,7 +48,7 @@ main: # @main i32.sub $push5=, $0, $pop4 i32.const $push6=, 1 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push9=, 0 call exit@FUNCTION, $pop9 diff --git a/test/torture-s/960311-1.c.s b/test/torture-s/960311-1.c.s index 400a4192a..58b8bfc98 100644 --- a/test/torture-s/960311-1.c.s +++ b/test/torture-s/960311-1.c.s @@ -29,7 +29,7 @@ b: # @b i32.and $push1=, $0, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop1, $pop21 - br_if $pop22, 0 # 0: down to label0 + br_if 0, $pop22 # 0: down to label0 # BB#1: # %if.then i32.const $push2=, 0 i32.const $push18=, 0 @@ -44,7 +44,7 @@ b: # @b i32.and $push7=, $0, $pop6 i32.const $push23=, 0 i32.eq $push24=, $pop7, $pop23 - br_if $pop24, 0 # 0: down to label1 + br_if 0, $pop24 # 0: down to label1 # BB#3: # %if.then6 i32.const $push8=, 0 i32.const $push19=, 0 @@ -59,7 +59,7 @@ b: # @b i32.and $push13=, $0, $pop12 i32.const $push25=, 0 i32.eq $push26=, $pop13, $pop25 - br_if $pop26, 0 # 0: down to label2 + br_if 0, $pop26 # 0: down to label2 # BB#5: # %if.then14 i32.const $push14=, 0 i32.const $push20=, 0 diff --git a/test/torture-s/960311-2.c.s b/test/torture-s/960311-2.c.s index 5a164a23f..e1d7fa52c 100644 --- a/test/torture-s/960311-2.c.s +++ b/test/torture-s/960311-2.c.s @@ -29,7 +29,7 @@ b: # @b i32.and $push1=, $0, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop1, $pop21 - br_if $pop22, 0 # 0: down to label0 + br_if 0, $pop22 # 0: down to label0 # BB#1: # %if.then i32.const $push2=, 0 i32.const $push18=, 0 @@ -44,7 +44,7 @@ b: # @b i32.and $push7=, $0, $pop6 i32.const $push23=, 0 i32.eq $push24=, $pop7, $pop23 - br_if $pop24, 0 # 0: down to label1 + br_if 0, $pop24 # 0: down to label1 # BB#3: # %if.then6 i32.const $push8=, 0 i32.const $push19=, 0 @@ -59,7 +59,7 @@ b: # @b i32.and $push13=, $0, $pop12 i32.const $push25=, 0 i32.eq $push26=, $pop13, $pop25 - br_if $pop26, 0 # 0: down to label2 + br_if 0, $pop26 # 0: down to label2 # BB#5: # %if.then14 i32.const $push14=, 0 i32.const $push20=, 0 diff --git a/test/torture-s/960311-3.c.s b/test/torture-s/960311-3.c.s index 2304e52e2..2a6d809f8 100644 --- a/test/torture-s/960311-3.c.s +++ b/test/torture-s/960311-3.c.s @@ -27,7 +27,7 @@ b: # @b block i32.const $push0=, -1 i32.gt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.then i32.const $push2=, 0 i32.const $push18=, 0 @@ -42,7 +42,7 @@ b: # @b i32.and $push7=, $0, $pop6 i32.const $push21=, 0 i32.eq $push22=, $pop7, $pop21 - br_if $pop22, 0 # 0: down to label1 + br_if 0, $pop22 # 0: down to label1 # BB#3: # %if.then3 i32.const $push8=, 0 i32.const $push19=, 0 @@ -57,7 +57,7 @@ b: # @b i32.and $push13=, $0, $pop12 i32.const $push23=, 0 i32.eq $push24=, $pop13, $pop23 - br_if $pop24, 0 # 0: down to label2 + br_if 0, $pop24 # 0: down to label2 # BB#5: # %if.then8 i32.const $push14=, 0 i32.const $push20=, 0 diff --git a/test/torture-s/960312-1.c.s b/test/torture-s/960312-1.c.s index 27e87062d..4dd0b5eaa 100644 --- a/test/torture-s/960312-1.c.s +++ b/test/torture-s/960312-1.c.s @@ -52,7 +52,7 @@ main: # @main i32.store $push0=, main.sc+8($pop4), $2 i32.const $push2=, 2 i32.ne $push3=, $pop0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/960317-1.c.s b/test/torture-s/960317-1.c.s index 67918c399..7dbafb79c 100644 --- a/test/torture-s/960317-1.c.s +++ b/test/torture-s/960317-1.c.s @@ -17,7 +17,7 @@ f: # @f i32.and $push2=, $1, $pop1 i32.const $push12=, 0 i32.eq $push13=, $pop2, $pop12 - br_if $pop13, 0 # 0: down to label0 + br_if 0, $pop13 # 0: down to label0 # BB#1: # %if.end i32.const $push10=, -1 i32.xor $push3=, $0, $pop10 diff --git a/test/torture-s/960321-1.c.s b/test/torture-s/960321-1.c.s index 314a12267..a05b92c7f 100644 --- a/test/torture-s/960321-1.c.s +++ b/test/torture-s/960321-1.c.s @@ -28,7 +28,7 @@ main: # @main i32.load8_u $push0=, a($pop3) i32.const $push1=, 100 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/960326-1.c.s b/test/torture-s/960326-1.c.s index ad5277d87..b1ad151ff 100644 --- a/test/torture-s/960326-1.c.s +++ b/test/torture-s/960326-1.c.s @@ -12,7 +12,7 @@ main: # @main i32.load $push0=, s+4($pop3) i32.const $push1=, 3 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/960327-1.c.s b/test/torture-s/960327-1.c.s index 79a4b9094..7b61d4883 100644 --- a/test/torture-s/960327-1.c.s +++ b/test/torture-s/960327-1.c.s @@ -52,7 +52,7 @@ f: # @f i32.load8_u $push9=, 0($0) i32.const $push19=, 48 i32.eq $push10=, $pop9, $pop19 - br_if $pop10, 0 # 0: up to label0 + br_if 0, $pop10 # 0: up to label0 # BB#2: # %while.end end_loop # label1: block @@ -62,7 +62,7 @@ f: # @f i32.const $push11=, 88 i32.store16 $push12=, 0($1):p2align=0, $pop11 i32.ne $push16=, $pop15, $pop12 - br_if $pop16, 0 # 0: down to label2 + br_if 0, $pop16 # 0: down to label2 # BB#3: # %if.end i32.const $4=, 16 i32.add $5=, $5, $4 diff --git a/test/torture-s/960405-1.c.s b/test/torture-s/960405-1.c.s index e2d294ba6..f11bdd48f 100644 --- a/test/torture-s/960405-1.c.s +++ b/test/torture-s/960405-1.c.s @@ -19,7 +19,7 @@ main: # @main i32.call $push4=, __eqtf2@FUNCTION, $pop1, $pop0, $pop3, $pop2 i32.const $push10=, 0 i32.eq $push11=, $pop4, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/960419-1.c.s b/test/torture-s/960419-1.c.s index 79203bd34..2b70c19ae 100644 --- a/test/torture-s/960419-1.c.s +++ b/test/torture-s/960419-1.c.s @@ -10,7 +10,7 @@ check: # @check block i32.const $push0=, 0 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/960521-1.c.s b/test/torture-s/960521-1.c.s index 6da3e874b..2113781a2 100644 --- a/test/torture-s/960521-1.c.s +++ b/test/torture-s/960521-1.c.s @@ -13,7 +13,7 @@ foo: # @foo i32.load $push0=, n($pop8) i32.const $push7=, 1 i32.lt_s $push1=, $pop0, $pop7 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.lr.ph i32.const $push9=, 0 i32.load $0=, a($pop9) @@ -30,7 +30,7 @@ foo: # @foo i32.const $push11=, 0 i32.load $push2=, n($pop11) i32.lt_s $push3=, $1, $pop2 - br_if $pop3, 0 # 0: up to label1 + br_if 0, $pop3 # 0: up to label1 .LBB0_3: # %for.cond1.preheader end_loop # label2: end_block # label0: @@ -80,7 +80,7 @@ main: # @main i32.const $push18=, 4 i32.add $2=, $2, $pop18 i32.lt_s $push6=, $3, $0 - br_if $pop6, 0 # 0: up to label3 + br_if 0, $pop6 # 0: up to label3 # BB#2: # %foo.exit end_loop # label4: i32.load $2=, 0($4) @@ -88,7 +88,7 @@ main: # @main i32.const $push7=, 131068 i32.call $discard=, memset@FUNCTION, $1, $pop8, $pop7 block - br_if $2, 0 # 0: down to label5 + br_if 0, $2 # 0: down to label5 # BB#3: # %if.end i32.const $push9=, 0 call exit@FUNCTION, $pop9 diff --git a/test/torture-s/960909-1.c.s b/test/torture-s/960909-1.c.s index ac7cfcd6d..3eb9d1700 100644 --- a/test/torture-s/960909-1.c.s +++ b/test/torture-s/960909-1.c.s @@ -13,13 +13,13 @@ ffs: # @ffs block i32.const $push5=, 0 i32.eq $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %for.cond.preheader i32.const $1=, 1 i32.const $2=, 1 i32.const $push2=, 1 i32.and $push0=, $0, $pop2 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 .LBB0_2: # %for.inc # =>This Inner Loop Header: Depth=1 loop # label1: @@ -30,7 +30,7 @@ ffs: # @ffs i32.and $push1=, $1, $0 i32.const $push7=, 0 i32.eq $push8=, $pop1, $pop7 - br_if $pop8, 0 # 0: up to label1 + br_if 0, $pop8 # 0: up to label1 .LBB0_3: # %cleanup end_loop # label2: end_block # label0: @@ -50,7 +50,7 @@ f: # @f block i32.const $push0=, 0 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label3 + br_if 0, $pop1 # 0: down to label3 # BB#1: # %if.end return $0 .LBB1_2: # %if.then diff --git a/test/torture-s/961004-1.c.s b/test/torture-s/961004-1.c.s index b08e86c4e..04feecd9e 100644 --- a/test/torture-s/961004-1.c.s +++ b/test/torture-s/961004-1.c.s @@ -10,7 +10,7 @@ main: # @main block i32.const $push2=, 0 i32.load $push0=, k($pop2) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.else i32.const $push3=, 0 i32.const $push1=, 1 diff --git a/test/torture-s/961017-2.c.s b/test/torture-s/961017-2.c.s index bc0a7d36f..841de6e4d 100644 --- a/test/torture-s/961017-2.c.s +++ b/test/torture-s/961017-2.c.s @@ -14,7 +14,7 @@ main: # @main loop # label0: i32.const $push1=, 16384 i32.add $0=, $0, $pop1 - br_if $0, 0 # 0: up to label0 + br_if 0, $0 # 0: up to label0 # BB#2: # %do.end end_loop # label1: i32.const $push0=, 0 diff --git a/test/torture-s/961125-1.c.s b/test/torture-s/961125-1.c.s index c535e0453..2253673e1 100644 --- a/test/torture-s/961125-1.c.s +++ b/test/torture-s/961125-1.c.s @@ -16,13 +16,13 @@ main: # @main loop # label0: i32.const $push17=, 0 i32.eq $push18=, $1, $pop17 - br_if $pop18, 1 # 1: down to label1 + br_if 1, $pop18 # 1: down to label1 # BB#2: # %while.cond2.preheader.i # in Loop: Header=BB0_1 Depth=1 block i32.const $push11=, .L.str+3 i32.ge_u $push0=, $2, $pop11 - br_if $pop0, 0 # 0: down to label2 + br_if 0, $pop0 # 0: down to label2 .LBB0_3: # %land.rhs4.i # Parent Loop BB0_1 Depth=1 # => This Inner Loop Header: Depth=2 @@ -32,12 +32,12 @@ main: # @main i32.add $2=, $2, $pop13 i32.const $push12=, 58 i32.eq $push1=, $0, $pop12 - br_if $pop1, 1 # 1: down to label4 + br_if 1, $pop1 # 1: down to label4 # BB#4: # %land.rhs4.i # in Loop: Header=BB0_3 Depth=2 i32.const $push14=, .L.str+3 i32.lt_u $push2=, $2, $pop14 - br_if $pop2, 0 # 0: up to label3 + br_if 0, $pop2 # 0: up to label3 .LBB0_5: # %while.end.thread.i # in Loop: Header=BB0_1 Depth=1 end_loop # label4: @@ -46,7 +46,7 @@ main: # @main i32.add $1=, $1, $pop16 i32.const $push15=, .L.str+3 i32.lt_u $push3=, $2, $pop15 - br_if $pop3, 0 # 0: up to label0 + br_if 0, $pop3 # 0: up to label0 .LBB0_6: # %begfield.exit end_loop # label1: i32.const $push4=, 1 @@ -57,7 +57,7 @@ main: # @main i32.select $push7=, $2, $0, $pop6 i32.const $push8=, .L.str+2 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label5 + br_if 0, $pop9 # 0: down to label5 # BB#7: # %if.end i32.const $push10=, 0 call exit@FUNCTION, $pop10 diff --git a/test/torture-s/961213-1.c.s b/test/torture-s/961213-1.c.s index bf425b7c3..ffd0a8bc1 100644 --- a/test/torture-s/961213-1.c.s +++ b/test/torture-s/961213-1.c.s @@ -14,7 +14,7 @@ g: # @g block i32.const $push1=, 1 i32.lt_s $push2=, $1, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.body.lr.ph i64.extend_s/i32 $4=, $3 copy_local $3=, $1 @@ -28,7 +28,7 @@ g: # @g i32.add $2=, $2, $pop6 i32.const $push5=, -1 i32.add $3=, $3, $pop5 - br_if $3, 0 # 0: up to label1 + br_if 0, $3 # 0: up to label1 # BB#3: # %for.cond.for.end_crit_edge end_loop # label2: i64.store $discard=, 0($0), $5 diff --git a/test/torture-s/980205.c.s b/test/torture-s/980205.c.s index 61e2bdd0d..24cefe181 100644 --- a/test/torture-s/980205.c.s +++ b/test/torture-s/980205.c.s @@ -27,12 +27,12 @@ fdouble: # @fdouble block f64.const $push8=, 0x1p0 f64.ne $push9=, $0, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %entry f64.load $push0=, 0($1) f64.const $push10=, 0x1p1 f64.ne $push11=, $pop0, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#2: # %if.end i32.const $4=, 16 i32.add $5=, $6, $4 diff --git a/test/torture-s/980223.c.s b/test/torture-s/980223.c.s index 4c4b08821..d8928ebd2 100644 --- a/test/torture-s/980223.c.s +++ b/test/torture-s/980223.c.s @@ -35,7 +35,7 @@ foo: # @foo i32.load8_u $push3=, 4($pop8):p2align=2 i32.const $push7=, 64 i32.and $push4=, $pop3, $pop7 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#1: # %entry.if.end7_crit_edge i64.load $4=, 0($2):p2align=2 br 1 # 1: down to label1 @@ -48,7 +48,7 @@ foo: # @foo i64.store $4=, 0($2):p2align=2, $pop1 i32.const $push9=, 64 i32.and $push5=, $3, $pop9 - br_if $pop5, 1 # 1: down to label0 + br_if 1, $pop5 # 1: down to label0 .LBB1_3: # %if.end7 end_block # label1: i64.store $discard=, 0($0):p2align=2, $4 @@ -93,7 +93,7 @@ main: # @main i32.and $push2=, $0, $pop6 i32.const $push13=, 0 i32.eq $push14=, $pop2, $pop13 - br_if $pop14, 0 # 0: down to label3 + br_if 0, $pop14 # 0: down to label3 # BB#1: # %if.then.i i32.const $push11=, 0 i32.load $push0=, cons2($pop11):p2align=4 @@ -105,7 +105,7 @@ main: # @main i32.and $push4=, $1, $pop9 i32.const $push15=, 0 i32.eq $push16=, $pop4, $pop15 - br_if $pop16, 0 # 0: down to label3 + br_if 0, $pop16 # 0: down to label3 # BB#2: # %if.then6.i i64.load $push5=, 8($5) i64.store $discard=, 0($5):p2align=2, $pop5 diff --git a/test/torture-s/980424-1.c.s b/test/torture-s/980424-1.c.s index da2082ae2..5dadb9b95 100644 --- a/test/torture-s/980424-1.c.s +++ b/test/torture-s/980424-1.c.s @@ -10,7 +10,7 @@ f: # @f block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -37,7 +37,7 @@ g: # @g i32.load $push6=, a($pop5) i32.const $push7=, 1 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#1: # %f.exit return .LBB1_2: # %if.then.i diff --git a/test/torture-s/980526-2.c.s b/test/torture-s/980526-2.c.s index 6c2b2770b..62cc20ab6 100644 --- a/test/torture-s/980526-2.c.s +++ b/test/torture-s/980526-2.c.s @@ -10,7 +10,7 @@ do_mknod: # @do_mknod block i32.const $push0=, 360710264 i32.ne $push1=, $2, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.then i32.const $push2=, 0 call exit@FUNCTION, $pop2 @@ -98,7 +98,7 @@ sys_mknod: # @sys_mknod i32.or $push6=, $pop3, $pop5 i32.const $push7=, 360710264 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#1: # %if.then.i i32.const $push9=, 0 call exit@FUNCTION, $pop9 diff --git a/test/torture-s/980602-2.c.s b/test/torture-s/980602-2.c.s index 5b1ca82eb..f86478987 100644 --- a/test/torture-s/980602-2.c.s +++ b/test/torture-s/980602-2.c.s @@ -23,7 +23,7 @@ main: # @main block i32.const $push9=, 1073741823 i32.and $push2=, $0, $pop9 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then i32.const $push13=, 0 call exit@FUNCTION, $pop13 diff --git a/test/torture-s/980604-1.c.s b/test/torture-s/980604-1.c.s index 9956e4fc1..ad403cddf 100644 --- a/test/torture-s/980604-1.c.s +++ b/test/torture-s/980604-1.c.s @@ -17,7 +17,7 @@ main: # @main i32.lt_s $push4=, $pop2, $pop3 i32.select $push5=, $pop0, $pop1, $pop4 i32.load $push6=, 0($pop5) - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.const $push9=, 0 call exit@FUNCTION, $pop9 diff --git a/test/torture-s/980605-1.c.s b/test/torture-s/980605-1.c.s index 9e44427a2..54df999d1 100644 --- a/test/torture-s/980605-1.c.s +++ b/test/torture-s/980605-1.c.s @@ -92,7 +92,7 @@ f: # @f block i32.const $push11=, 227 i32.ne $push12=, $0, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#1: # %if.end i32.const $7=, 16 i32.add $8=, $8, $7 diff --git a/test/torture-s/980608-1.c.s b/test/torture-s/980608-1.c.s index a3ff5a986..b6ce1e75f 100644 --- a/test/torture-s/980608-1.c.s +++ b/test/torture-s/980608-1.c.s @@ -40,7 +40,7 @@ debug: # @debug i32.load $push4=, 0($1) i32.const $push5=, 101 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.load $push7=, 12($5) i32.const $push49=, 3 @@ -55,7 +55,7 @@ debug: # @debug i32.load $push11=, 0($1) i32.const $push12=, 102 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %if.end4 i32.load $push14=, 12($5) i32.const $push53=, 3 @@ -70,7 +70,7 @@ debug: # @debug i32.load $push18=, 0($1) i32.const $push19=, 103 i32.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label2 + br_if 0, $pop20 # 0: down to label2 # BB#3: # %if.end7 i32.load $push21=, 12($5) i32.const $push57=, 3 @@ -85,7 +85,7 @@ debug: # @debug i32.load $push25=, 0($1) i32.const $push26=, 104 i32.ne $push27=, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label3 + br_if 0, $pop27 # 0: down to label3 # BB#4: # %if.end10 i32.load $push28=, 12($5) i32.const $push61=, 3 @@ -100,7 +100,7 @@ debug: # @debug i32.load $push32=, 0($1) i32.const $push33=, 105 i32.ne $push34=, $pop32, $pop33 - br_if $pop34, 0 # 0: down to label4 + br_if 0, $pop34 # 0: down to label4 # BB#5: # %if.end13 i32.load $push35=, 12($5) i32.const $push65=, 3 @@ -115,7 +115,7 @@ debug: # @debug i32.load $push39=, 0($1) i32.const $push40=, 106 i32.ne $push41=, $pop39, $pop40 - br_if $pop41, 0 # 0: down to label5 + br_if 0, $pop41 # 0: down to label5 # BB#6: # %if.end16 i32.const $4=, 16 i32.add $5=, $6, $4 diff --git a/test/torture-s/980612-1.c.s b/test/torture-s/980612-1.c.s index 50e59b32e..bc1c1f293 100644 --- a/test/torture-s/980612-1.c.s +++ b/test/torture-s/980612-1.c.s @@ -44,7 +44,7 @@ main: # @main i32.and $push2=, $0, $pop1 i32.const $push3=, 2 i32.gt_u $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/980617-1.c.s b/test/torture-s/980617-1.c.s index 0a02dfffe..5853a2f80 100644 --- a/test/torture-s/980617-1.c.s +++ b/test/torture-s/980617-1.c.s @@ -13,7 +13,7 @@ foo: # @foo i32.add $push2=, $pop0, $pop1 i32.const $push3=, 1 i32.gt_u $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.then return .LBB0_2: # %if.else diff --git a/test/torture-s/980618-1.c.s b/test/torture-s/980618-1.c.s index c4da81e81..30e626528 100644 --- a/test/torture-s/980618-1.c.s +++ b/test/torture-s/980618-1.c.s @@ -23,7 +23,7 @@ func: # @func # BB#0: # %entry block i32.ne $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.then return .LBB1_2: # %if.else diff --git a/test/torture-s/980701-1.c.s b/test/torture-s/980701-1.c.s index 10d7ed821..7a4059ee6 100644 --- a/test/torture-s/980701-1.c.s +++ b/test/torture-s/980701-1.c.s @@ -39,7 +39,7 @@ main: # @main # BB#0: # %entry block i32.const $push0=, a - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/980716-1.c.s b/test/torture-s/980716-1.c.s index 9831e682f..b7cf6efc5 100644 --- a/test/torture-s/980716-1.c.s +++ b/test/torture-s/980716-1.c.s @@ -29,7 +29,7 @@ stub: # @stub i32.add $push3=, $pop11, $pop10 i32.store $discard=, 12($5), $pop3 i32.load $push4=, 0($1) - br_if $pop4, 0 # 0: up to label0 + br_if 0, $pop4 # 0: up to label0 # BB#2: # %while.end end_loop # label1: i32.store $discard=, 12($5), $6 @@ -46,7 +46,7 @@ stub: # @stub i32.add $push8=, $pop15, $pop14 i32.store $discard=, 12($5), $pop8 i32.load $push9=, 0($1) - br_if $pop9, 0 # 0: up to label2 + br_if 0, $pop9 # 0: up to label2 # BB#4: # %while.end.1 end_loop # label3: i32.const $4=, 16 diff --git a/test/torture-s/980929-1.c.s b/test/torture-s/980929-1.c.s index a4cac35aa..5583199a6 100644 --- a/test/torture-s/980929-1.c.s +++ b/test/torture-s/980929-1.c.s @@ -10,7 +10,7 @@ f: # @f block i32.const $push0=, 1000 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/981001-1.c.s b/test/torture-s/981001-1.c.s index badecfc23..71c15c302 100644 --- a/test/torture-s/981001-1.c.s +++ b/test/torture-s/981001-1.c.s @@ -12,7 +12,7 @@ sub: # @sub block i32.const $push0=, 2 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.then i32.const $push3=, 31 i32.shr_u $push4=, $0, $pop3 @@ -22,7 +22,7 @@ sub: # @sub block i32.const $push17=, 1 i32.and $push2=, $0, $pop17 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#2: # %if.then2 i32.call $0=, sub@FUNCTION, $1 i32.const $push11=, -1 @@ -67,9 +67,9 @@ main: # @main i32.call $push1=, sub@FUNCTION, $pop0 i32.const $push2=, 832040 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label3 + br_if 0, $pop3 # 0: down to label3 # BB#1: # %if.end - br_if $0, 1 # 1: down to label2 + br_if 1, $0 # 1: down to label2 # BB#2: # %if.end2 i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/981019-1.c.s b/test/torture-s/981019-1.c.s index af4f2a498..421079efe 100644 --- a/test/torture-s/981019-1.c.s +++ b/test/torture-s/981019-1.c.s @@ -11,11 +11,11 @@ ff: # @ff block i32.const $push6=, 0 i32.eq $push7=, $0, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %entry i32.const $push8=, 0 i32.eq $push9=, $2, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#2: # %if.then2 call f1@FUNCTION unreachable @@ -31,12 +31,12 @@ ff: # @ff tee_local $push5=, $3=, $pop0 i32.const $push4=, 0 i32.eq $0=, $pop5, $pop4 - br_if $3, 2 # 2: down to label1 + br_if 2, $3 # 2: down to label1 # BB#5: # %while.body # in Loop: Header=BB0_4 Depth=1 i32.const $push10=, 0 i32.eq $push11=, $2, $pop10 - br_if $pop11, 0 # 0: up to label2 + br_if 0, $pop11 # 0: up to label2 # BB#6: # %land.lhs.true end_loop # label3: i32.const $push2=, 0 @@ -48,7 +48,7 @@ ff: # @ff i32.const $push1=, 0 i32.store $discard=, f3.x($pop1), $0 block - br_if $2, 0 # 0: down to label4 + br_if 0, $2 # 0: down to label4 # BB#8: # %if.end16 return .LBB0_9: # %if.then15 @@ -121,7 +121,7 @@ main: # @main i32.eq $0=, $pop4, $pop3 i32.const $push6=, 0 i32.eq $push7=, $1, $pop6 - br_if $pop7, 0 # 0: up to label5 + br_if 0, $pop7 # 0: up to label5 # BB#2: # %ff.exit end_loop # label6: i32.const $push1=, 0 diff --git a/test/torture-s/981130-1.c.s b/test/torture-s/981130-1.c.s index 7b4e4ede1..013b6642e 100644 --- a/test/torture-s/981130-1.c.s +++ b/test/torture-s/981130-1.c.s @@ -9,7 +9,7 @@ check: # @check # BB#0: # %entry block i32.ne $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.then i32.const $push1=, 0 call exit@FUNCTION, $pop1 @@ -37,7 +37,7 @@ main: # @main i32.wrap/i64 $push2=, $pop1 i32.const $push3=, 1 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#1: # %if.then.i i32.const $push7=, 0 call exit@FUNCTION, $pop7 diff --git a/test/torture-s/990127-2.c.s b/test/torture-s/990127-2.c.s index 79a1f88f1..f5c957c33 100644 --- a/test/torture-s/990127-2.c.s +++ b/test/torture-s/990127-2.c.s @@ -9,7 +9,7 @@ fpEq: # @fpEq # BB#0: # %entry block f64.ne $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -33,7 +33,7 @@ fpTest: # @fpTest f64.div $push2=, $pop1, $1 f64.const $push3=, 0x1.3d55555555556p6 f64.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#1: # %fpEq.exit return .LBB1_2: # %if.then.i diff --git a/test/torture-s/990128-1.c.s b/test/torture-s/990128-1.c.s index b7b90ac45..a69267606 100644 --- a/test/torture-s/990128-1.c.s +++ b/test/torture-s/990128-1.c.s @@ -56,14 +56,14 @@ main: # @main # => This Inner Loop Header: Depth=2 loop # label2: i32.load $2=, 0($2) - br_if $2, 0 # 0: up to label2 + br_if 0, $2 # 0: up to label2 # BB#3: # %if.then.i # in Loop: Header=BB0_1 Depth=1 end_loop # label3: i32.load $1=, 0($1) i32.const $push30=, 1 i32.add $2=, $0, $pop30 - br_if $1, 0 # 0: up to label0 + br_if 0, $1 # 0: up to label0 # BB#4: # %sub.exit end_loop # label1: block @@ -73,7 +73,7 @@ main: # @main i32.store $push15=, count($pop31), $pop14 i32.const $push16=, 12 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label4 + br_if 0, $pop17 # 0: down to label4 # BB#5: # %if.end i32.const $push32=, 0 call exit@FUNCTION, $pop32 @@ -99,7 +99,7 @@ sub: # @sub block i32.const $push7=, 0 i32.eq $push8=, $0, $pop7 - br_if $pop8, 0 # 0: down to label5 + br_if 0, $pop8 # 0: down to label5 .LBB1_1: # %for.inc.i.preheader # =>This Loop Header: Depth=1 # Child Loop BB1_2 Depth 2 @@ -110,7 +110,7 @@ sub: # @sub # => This Inner Loop Header: Depth=2 loop # label8: i32.load $3=, 0($3) - br_if $3, 0 # 0: up to label8 + br_if 0, $3 # 0: up to label8 # BB#3: # %if.then # in Loop: Header=BB1_1 Depth=1 end_loop # label9: @@ -119,7 +119,7 @@ sub: # @sub i32.load $0=, 0($0) i32.const $push1=, 1 i32.add $2=, $2, $pop1 - br_if $0, 0 # 0: up to label6 + br_if 0, $0 # 0: up to label6 # BB#4: # %for.cond.look.exit.thread_crit_edge end_loop # label7: i32.store $discard=, count($3), $2 @@ -146,12 +146,12 @@ look: # @look block i32.const $push5=, 0 i32.eq $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label10 + br_if 0, $pop6 # 0: down to label10 .LBB2_1: # %for.inc # =>This Inner Loop Header: Depth=1 loop # label11: i32.load $0=, 0($0) - br_if $0, 0 # 0: up to label11 + br_if 0, $0 # 0: up to label11 .LBB2_2: # %for.end end_loop # label12: end_block # label10: diff --git a/test/torture-s/990130-1.c.s b/test/torture-s/990130-1.c.s index 1347901c5..4d10028c7 100644 --- a/test/torture-s/990130-1.c.s +++ b/test/torture-s/990130-1.c.s @@ -19,7 +19,7 @@ main: # @main i32.const $push0=, 0 i32.store $discard=, dummy($pop0), $0 block - br_if $2, 0 # 0: down to label0 + br_if 0, $2 # 0: down to label0 # BB#1: # %if.end i32.const $push1=, 0 call exit@FUNCTION, $pop1 diff --git a/test/torture-s/990222-1.c.s b/test/torture-s/990222-1.c.s index e31beb1ec..7c2375e61 100644 --- a/test/torture-s/990222-1.c.s +++ b/test/torture-s/990222-1.c.s @@ -24,7 +24,7 @@ main: # @main tee_local $push24=, $0=, $pop23 i32.const $push3=, 58 i32.lt_s $push4=, $pop24, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 .LBB0_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -45,7 +45,7 @@ main: # @main i32.shr_s $push9=, $pop8, $pop31 i32.const $push10=, 57 i32.gt_s $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: up to label1 + br_if 0, $pop11 # 0: up to label1 # BB#2: # %while.end.loopexit end_loop # label2: i32.const $push13=, 0 @@ -57,7 +57,7 @@ main: # @main i32.load8_u $push15=, line($pop36) i32.const $push16=, 50 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label3 + br_if 0, $pop17 # 0: down to label3 # BB#4: # %while.end i32.const $push39=, 0 i32.load8_u $push14=, line+1($pop39) @@ -65,13 +65,13 @@ main: # @main i32.and $push18=, $pop14, $pop38 i32.const $push37=, 48 i32.ne $push19=, $pop18, $pop37 - br_if $pop19, 0 # 0: down to label3 + br_if 0, $pop19 # 0: down to label3 # BB#5: # %while.end i32.const $push41=, 255 i32.and $push20=, $0, $pop41 i32.const $push40=, 48 i32.ne $push21=, $pop20, $pop40 - br_if $pop21, 0 # 0: down to label3 + br_if 0, $pop21 # 0: down to label3 # BB#6: # %if.end i32.const $push22=, 0 return $pop22 diff --git a/test/torture-s/990324-1.c.s b/test/torture-s/990324-1.c.s index 72b9193de..845154148 100644 --- a/test/torture-s/990324-1.c.s +++ b/test/torture-s/990324-1.c.s @@ -12,7 +12,7 @@ f: # @f i32.shl $push1=, $0, $pop0 i32.const $push3=, 0 i32.gt_s $push2=, $pop1, $pop3 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/990404-1.c.s b/test/torture-s/990404-1.c.s index a6ed0cee0..cf1e970a1 100644 --- a/test/torture-s/990404-1.c.s +++ b/test/torture-s/990404-1.c.s @@ -68,7 +68,7 @@ main: # @main i32.select $push19=, $3, $0, $pop23 i32.const $push59=, 0 i32.eq $push60=, $pop19, $pop59 - br_if $pop60, 2 # 2: down to label0 + br_if 2, $pop60 # 2: down to label0 # BB#2: # %if.end7 # in Loop: Header=BB0_1 Depth=1 i32.const $push58=, 9 @@ -99,7 +99,7 @@ main: # @main i32.add $4=, $4, $pop46 i32.const $push45=, 10 i32.lt_s $push21=, $4, $pop45 - br_if $pop21, 0 # 0: up to label1 + br_if 0, $pop21 # 0: up to label1 # BB#3: # %if.then11 end_loop # label2: call abort@FUNCTION diff --git a/test/torture-s/990513-1.c.s b/test/torture-s/990513-1.c.s index e6f1df411..f26f69745 100644 --- a/test/torture-s/990513-1.c.s +++ b/test/torture-s/990513-1.c.s @@ -28,7 +28,7 @@ foo: # @foo i32.store $discard=, 0($pop7), $pop6 i32.const $push8=, -16 i32.add $2=, $2, $pop8 - br_if $2, 0 # 0: up to label0 + br_if 0, $2 # 0: up to label0 # BB#2: # %while.end end_loop # label1: return @@ -68,14 +68,14 @@ main: # @main i64.store $discard=, 0($pop4):p2align=2, $pop3 i32.const $push10=, -16 i32.add $0=, $0, $pop10 - br_if $0, 0 # 0: up to label2 + br_if 0, $0 # 0: up to label2 # BB#2: # %foo.exit end_loop # label3: block i32.load $push5=, 0($5):p2align=4 i32.const $push6=, 6 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label4 + br_if 0, $pop7 # 0: down to label4 # BB#3: # %if.end i32.const $push8=, 0 i32.const $4=, 1024 diff --git a/test/torture-s/990524-1.c.s b/test/torture-s/990524-1.c.s index 641c4b61e..0dbd09ab7 100644 --- a/test/torture-s/990524-1.c.s +++ b/test/torture-s/990524-1.c.s @@ -23,18 +23,18 @@ loop: # @loop block i32.const $push12=, 34 i32.eq $push3=, $4, $pop12 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#2: # %for.cond # in Loop: Header=BB0_1 Depth=1 i32.const $push17=, 92 i32.eq $push4=, $3, $pop17 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#3: # %for.cond # in Loop: Header=BB0_1 Depth=1 i32.const $push18=, 1 i32.add $0=, $0, $pop18 copy_local $1=, $2 - br_if $3, 1 # 1: up to label0 + br_if 1, $3 # 1: up to label0 # BB#4: # %loopDone2 block i32.const $push7=, a @@ -42,7 +42,7 @@ loop: # @loop i32.const $push9=, b i32.sub $push10=, $pop9, $2 i32.ne $push11=, $pop8, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#5: # %if.end return .LBB0_6: # %if.then diff --git a/test/torture-s/990525-1.c.s b/test/torture-s/990525-1.c.s index c0c91e375..35c08d518 100644 --- a/test/torture-s/990525-1.c.s +++ b/test/torture-s/990525-1.c.s @@ -11,7 +11,7 @@ die: # @die i32.load $push0=, 0($0) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/990527-1.c.s b/test/torture-s/990527-1.c.s index 1e4ab0e95..5847281d5 100644 --- a/test/torture-s/990527-1.c.s +++ b/test/torture-s/990527-1.c.s @@ -52,7 +52,7 @@ main: # @main i32.add $push2=, $pop3, $pop1 i32.store $discard=, sum($pop5), $pop2 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/990604-1.c.s b/test/torture-s/990604-1.c.s index 66f3788dd..d8cefdb44 100644 --- a/test/torture-s/990604-1.c.s +++ b/test/torture-s/990604-1.c.s @@ -9,7 +9,7 @@ f: # @f block i32.const $push2=, 0 i32.load $push0=, b($pop2) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %do.body.preheader i32.const $push3=, 0 i32.const $push1=, 9 @@ -35,10 +35,10 @@ main: # @main tee_local $push5=, $0=, $pop0 i32.const $push1=, 9 i32.eq $push2=, $pop5, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %entry block - br_if $0, 0 # 0: down to label2 + br_if 0, $0 # 0: down to label2 # BB#2: # %f.exit.thread i32.const $push3=, 0 i32.const $push4=, 9 diff --git a/test/torture-s/990628-1.c.s b/test/torture-s/990628-1.c.s index 1afd3ed04..6811af337 100644 --- a/test/torture-s/990628-1.c.s +++ b/test/torture-s/990628-1.c.s @@ -77,7 +77,7 @@ load_data: # @load_data i32.select $push10=, $pop9, $pop17, $pop15 i32.store $discard=, sqlca($pop18), $pop10 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 .LBB2_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -95,7 +95,7 @@ load_data: # @load_data i32.add $3=, $pop29, $pop28 i32.const $push27=, 1 i32.lt_s $push11=, $3, $pop27 - br_if $pop11, 0 # 0: up to label1 + br_if 0, $pop11 # 0: up to label1 # BB#2: # %while.cond.while.end_crit_edge end_loop # label2: i32.const $push12=, 0 @@ -147,7 +147,7 @@ main: # @main i32.select $push8=, $pop7, $pop20, $pop18 i32.store $discard=, sqlca($pop21), $pop8 block - br_if $3, 0 # 0: down to label3 + br_if 0, $3 # 0: down to label3 # BB#1: # %while.body.lr.ph.i copy_local $3=, $0 .LBB3_2: # %while.body.i @@ -165,7 +165,7 @@ main: # @main copy_local $3=, $1 i32.const $push30=, 1 i32.lt_s $push9=, $4, $pop30 - br_if $pop9, 0 # 0: up to label4 + br_if 0, $pop9 # 0: up to label4 # BB#3: # %while.cond.while.end_crit_edge.i end_loop # label5: i32.const $push10=, 0 @@ -180,7 +180,7 @@ main: # @main i32.load $push13=, 0($0) i32.const $push14=, 1431655765 i32.ne $push15=, $pop13, $pop14 - br_if $pop15, 0 # 0: down to label6 + br_if 0, $pop15 # 0: down to label6 # BB#5: # %if.end i32.const $push16=, 0 call exit@FUNCTION, $pop16 diff --git a/test/torture-s/990811-1.c.s b/test/torture-s/990811-1.c.s index 4843088dc..1a9db9a7c 100644 --- a/test/torture-s/990811-1.c.s +++ b/test/torture-s/990811-1.c.s @@ -12,15 +12,15 @@ foo: # @foo block i32.const $push0=, 2 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry block i32.const $push2=, 1 i32.eq $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#2: # %entry block - br_if $0, 0 # 0: down to label3 + br_if 0, $0 # 0: down to label3 # BB#3: # %sw.bb i32.load $0=, 0($1) br 3 # 3: down to label0 diff --git a/test/torture-s/991016-1.c.s b/test/torture-s/991016-1.c.s index 8e8a744ce..88046cc8d 100644 --- a/test/torture-s/991016-1.c.s +++ b/test/torture-s/991016-1.c.s @@ -13,17 +13,17 @@ doit: # @doit block i32.const $push19=, 0 i32.eq $push20=, $0, $pop19 - br_if $pop20, 0 # 0: down to label1 + br_if 0, $pop20 # 0: down to label1 # BB#1: # %entry block i32.const $push9=, 1 i32.eq $push3=, $0, $pop9 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#2: # %entry block i32.const $push4=, 2 i32.ne $push5=, $0, $pop4 - br_if $pop5, 0 # 0: down to label3 + br_if 0, $pop5 # 0: down to label3 # BB#3: # %do.body11.preheader i64.load $3=, 0($2) .LBB0_4: # %do.body11 @@ -35,7 +35,7 @@ doit: # @doit tee_local $push17=, $5=, $pop2 i64.const $push16=, 1 i64.shl $3=, $pop17, $pop16 - br_if $1, 0 # 0: up to label4 + br_if 0, $1 # 0: up to label4 # BB#5: # %do.end16 end_loop # label5: i64.store $discard=, 0($2), $3 @@ -58,7 +58,7 @@ doit: # @doit tee_local $push14=, $4=, $pop1 i32.const $push13=, 1 i32.shl $0=, $pop14, $pop13 - br_if $1, 0 # 0: up to label6 + br_if 0, $1 # 0: up to label6 # BB#9: # %do.end7 end_loop # label7: i32.store $discard=, 0($2), $0 @@ -77,7 +77,7 @@ doit: # @doit tee_local $push11=, $4=, $pop0 i32.const $push10=, 1 i32.shl $0=, $pop11, $pop10 - br_if $1, 0 # 0: up to label8 + br_if 0, $1 # 0: up to label8 # BB#12: # %do.end end_loop # label9: i32.store $discard=, 0($2), $0 diff --git a/test/torture-s/991030-1.c.s b/test/torture-s/991030-1.c.s index a2b90a95d..9a75b900c 100644 --- a/test/torture-s/991030-1.c.s +++ b/test/torture-s/991030-1.c.s @@ -12,7 +12,7 @@ main: # @main f64.load $push0=, x($pop3) f64.const $push1=, 0x1.fp1 f64.eq $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/991112-1.c.s b/test/torture-s/991112-1.c.s index 6edafa66d..fc2040bae 100644 --- a/test/torture-s/991112-1.c.s +++ b/test/torture-s/991112-1.c.s @@ -43,12 +43,12 @@ main: # @main i32.call $push1=, isprint@FUNCTION, $pop0 i32.const $push5=, 0 i32.eq $push6=, $pop1, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end block i32.const $push2=, 2 i32.call $push3=, isprint@FUNCTION, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %if.end4 i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/991118-1.c.s b/test/torture-s/991118-1.c.s index 4a0676a4d..8b92a62e5 100644 --- a/test/torture-s/991118-1.c.s +++ b/test/torture-s/991118-1.c.s @@ -90,7 +90,7 @@ main: # @main i64.and $push12=, $1, $pop11 i64.const $push13=, -7687337405579571200 i64.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#1: # %entry i64.const $push8=, 52 i64.shl $push9=, $3, $pop8 @@ -99,7 +99,7 @@ main: # @main i32.wrap/i64 $push2=, $pop10 i32.const $push51=, 291 i32.ne $push15=, $pop2, $pop51 - br_if $pop15, 0 # 0: down to label0 + br_if 0, $pop15 # 0: down to label0 # BB#2: # %if.end block i64.const $push17=, 52 @@ -107,13 +107,13 @@ main: # @main i32.wrap/i64 $push19=, $pop18 i32.const $push53=, 291 i32.ne $push21=, $pop19, $pop53 - br_if $pop21, 0 # 0: down to label1 + br_if 0, $pop21 # 0: down to label1 # BB#3: # %if.end i64.const $push20=, 4503599627370495 i64.and $push16=, $2, $pop20 i64.const $push22=, 2626808268586421 i64.ne $push23=, $pop16, $pop22 - br_if $pop23, 0 # 0: down to label1 + br_if 0, $pop23 # 0: down to label1 # BB#4: # %if.end19 i32.const $push25=, 0 i64.load $0=, tmp4($pop25) @@ -133,7 +133,7 @@ main: # @main i64.and $push34=, $1, $pop33 i64.const $push35=, -3725223934242340864 i64.ne $push36=, $pop34, $pop35 - br_if $pop36, 0 # 0: down to label2 + br_if 0, $pop36 # 0: down to label2 # BB#5: # %if.end19 i64.const $push30=, 53 i64.shl $push31=, $3, $pop30 @@ -142,7 +142,7 @@ main: # @main i32.wrap/i64 $push24=, $pop32 i32.const $push58=, 291 i32.ne $push37=, $pop24, $pop58 - br_if $pop37, 0 # 0: down to label2 + br_if 0, $pop37 # 0: down to label2 # BB#6: # %if.end34 block i64.const $push39=, 53 @@ -150,13 +150,13 @@ main: # @main i32.wrap/i64 $push41=, $pop40 i32.const $push60=, 291 i32.ne $push43=, $pop41, $pop60 - br_if $pop43, 0 # 0: down to label3 + br_if 0, $pop43 # 0: down to label3 # BB#7: # %if.end34 i64.const $push42=, 9007199254740991 i64.and $push38=, $2, $pop42 i64.const $push44=, 7188242255599224 i64.ne $push45=, $pop38, $pop44 - br_if $pop45, 0 # 0: down to label3 + br_if 0, $pop45 # 0: down to label3 # BB#8: # %if.end47 i32.const $push46=, 0 call exit@FUNCTION, $pop46 diff --git a/test/torture-s/991201-1.c.s b/test/torture-s/991201-1.c.s index e5855dbe8..c042dd870 100644 --- a/test/torture-s/991201-1.c.s +++ b/test/torture-s/991201-1.c.s @@ -37,7 +37,7 @@ reset_palette: # @reset_palette i32.add $2=, $2, $pop15 i32.const $push14=, 4 i32.add $0=, $0, $pop14 - br_if $0, 0 # 0: up to label0 + br_if 0, $0 # 0: up to label0 # BB#2: # %bar.exit end_loop # label1: return @@ -55,7 +55,7 @@ bar: # @bar block i32.const $push0=, 48 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label2 + br_if 0, $pop1 # 0: down to label2 # BB#1: # %if.end return .LBB1_2: # %if.then diff --git a/test/torture-s/991216-1.c.s b/test/torture-s/991216-1.c.s index 4daacf8c3..52728f419 100644 --- a/test/torture-s/991216-1.c.s +++ b/test/torture-s/991216-1.c.s @@ -10,15 +10,15 @@ test1: # @test1 block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i64.const $push2=, 81985529216486895 i64.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %entry i32.const $push4=, 85 i32.ne $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#3: # %if.end return .LBB0_4: # %if.then @@ -39,19 +39,19 @@ test2: # @test2 block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry i32.const $push2=, 2 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %entry i64.const $push4=, 81985529216486895 i64.ne $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#3: # %entry i32.const $push6=, 85 i32.ne $push7=, $3, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#4: # %if.end return .LBB1_5: # %if.then @@ -72,23 +72,23 @@ test3: # @test3 block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label2 + br_if 0, $pop1 # 0: down to label2 # BB#1: # %entry i32.const $push2=, 2 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#2: # %entry i32.const $push4=, 3 i32.ne $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#3: # %entry i64.const $push6=, 81985529216486895 i64.ne $push7=, $3, $pop6 - br_if $pop7, 0 # 0: down to label2 + br_if 0, $pop7 # 0: down to label2 # BB#4: # %entry i32.const $push8=, 85 i32.ne $push9=, $4, $pop8 - br_if $pop9, 0 # 0: down to label2 + br_if 0, $pop9 # 0: down to label2 # BB#5: # %if.end return .LBB2_6: # %if.then @@ -109,27 +109,27 @@ test4: # @test4 block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label3 + br_if 0, $pop1 # 0: down to label3 # BB#1: # %entry i32.const $push2=, 2 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label3 + br_if 0, $pop3 # 0: down to label3 # BB#2: # %entry i32.const $push4=, 3 i32.ne $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label3 + br_if 0, $pop5 # 0: down to label3 # BB#3: # %entry i32.const $push6=, 4 i32.ne $push7=, $3, $pop6 - br_if $pop7, 0 # 0: down to label3 + br_if 0, $pop7 # 0: down to label3 # BB#4: # %entry i64.const $push8=, 81985529216486895 i64.ne $push9=, $4, $pop8 - br_if $pop9, 0 # 0: down to label3 + br_if 0, $pop9 # 0: down to label3 # BB#5: # %entry i32.const $push10=, 85 i32.ne $push11=, $5, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#6: # %if.end return .LBB3_7: # %if.then @@ -150,31 +150,31 @@ test5: # @test5 block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label4 + br_if 0, $pop1 # 0: down to label4 # BB#1: # %entry i32.const $push2=, 2 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label4 + br_if 0, $pop3 # 0: down to label4 # BB#2: # %entry i32.const $push4=, 3 i32.ne $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label4 + br_if 0, $pop5 # 0: down to label4 # BB#3: # %entry i32.const $push6=, 4 i32.ne $push7=, $3, $pop6 - br_if $pop7, 0 # 0: down to label4 + br_if 0, $pop7 # 0: down to label4 # BB#4: # %entry i32.const $push8=, 5 i32.ne $push9=, $4, $pop8 - br_if $pop9, 0 # 0: down to label4 + br_if 0, $pop9 # 0: down to label4 # BB#5: # %entry i64.const $push10=, 81985529216486895 i64.ne $push11=, $5, $pop10 - br_if $pop11, 0 # 0: down to label4 + br_if 0, $pop11 # 0: down to label4 # BB#6: # %entry i32.const $push12=, 85 i32.ne $push13=, $6, $pop12 - br_if $pop13, 0 # 0: down to label4 + br_if 0, $pop13 # 0: down to label4 # BB#7: # %if.end return .LBB4_8: # %if.then @@ -195,35 +195,35 @@ test6: # @test6 block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label5 + br_if 0, $pop1 # 0: down to label5 # BB#1: # %entry i32.const $push2=, 2 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label5 + br_if 0, $pop3 # 0: down to label5 # BB#2: # %entry i32.const $push4=, 3 i32.ne $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label5 + br_if 0, $pop5 # 0: down to label5 # BB#3: # %entry i32.const $push6=, 4 i32.ne $push7=, $3, $pop6 - br_if $pop7, 0 # 0: down to label5 + br_if 0, $pop7 # 0: down to label5 # BB#4: # %entry i32.const $push8=, 5 i32.ne $push9=, $4, $pop8 - br_if $pop9, 0 # 0: down to label5 + br_if 0, $pop9 # 0: down to label5 # BB#5: # %entry i32.const $push10=, 6 i32.ne $push11=, $5, $pop10 - br_if $pop11, 0 # 0: down to label5 + br_if 0, $pop11 # 0: down to label5 # BB#6: # %entry i64.const $push12=, 81985529216486895 i64.ne $push13=, $6, $pop12 - br_if $pop13, 0 # 0: down to label5 + br_if 0, $pop13 # 0: down to label5 # BB#7: # %entry i32.const $push14=, 85 i32.ne $push15=, $7, $pop14 - br_if $pop15, 0 # 0: down to label5 + br_if 0, $pop15 # 0: down to label5 # BB#8: # %if.end return .LBB5_9: # %if.then @@ -244,39 +244,39 @@ test7: # @test7 block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label6 + br_if 0, $pop1 # 0: down to label6 # BB#1: # %entry i32.const $push2=, 2 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label6 + br_if 0, $pop3 # 0: down to label6 # BB#2: # %entry i32.const $push4=, 3 i32.ne $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label6 + br_if 0, $pop5 # 0: down to label6 # BB#3: # %entry i32.const $push6=, 4 i32.ne $push7=, $3, $pop6 - br_if $pop7, 0 # 0: down to label6 + br_if 0, $pop7 # 0: down to label6 # BB#4: # %entry i32.const $push8=, 5 i32.ne $push9=, $4, $pop8 - br_if $pop9, 0 # 0: down to label6 + br_if 0, $pop9 # 0: down to label6 # BB#5: # %entry i32.const $push10=, 6 i32.ne $push11=, $5, $pop10 - br_if $pop11, 0 # 0: down to label6 + br_if 0, $pop11 # 0: down to label6 # BB#6: # %entry i32.const $push12=, 7 i32.ne $push13=, $6, $pop12 - br_if $pop13, 0 # 0: down to label6 + br_if 0, $pop13 # 0: down to label6 # BB#7: # %entry i64.const $push14=, 81985529216486895 i64.ne $push15=, $7, $pop14 - br_if $pop15, 0 # 0: down to label6 + br_if 0, $pop15 # 0: down to label6 # BB#8: # %entry i32.const $push16=, 85 i32.ne $push17=, $8, $pop16 - br_if $pop17, 0 # 0: down to label6 + br_if 0, $pop17 # 0: down to label6 # BB#9: # %if.end return .LBB6_10: # %if.then @@ -297,43 +297,43 @@ test8: # @test8 block i32.const $push0=, 1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label7 + br_if 0, $pop1 # 0: down to label7 # BB#1: # %entry i32.const $push2=, 2 i32.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label7 + br_if 0, $pop3 # 0: down to label7 # BB#2: # %entry i32.const $push4=, 3 i32.ne $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label7 + br_if 0, $pop5 # 0: down to label7 # BB#3: # %entry i32.const $push6=, 4 i32.ne $push7=, $3, $pop6 - br_if $pop7, 0 # 0: down to label7 + br_if 0, $pop7 # 0: down to label7 # BB#4: # %entry i32.const $push8=, 5 i32.ne $push9=, $4, $pop8 - br_if $pop9, 0 # 0: down to label7 + br_if 0, $pop9 # 0: down to label7 # BB#5: # %entry i32.const $push10=, 6 i32.ne $push11=, $5, $pop10 - br_if $pop11, 0 # 0: down to label7 + br_if 0, $pop11 # 0: down to label7 # BB#6: # %entry i32.const $push12=, 7 i32.ne $push13=, $6, $pop12 - br_if $pop13, 0 # 0: down to label7 + br_if 0, $pop13 # 0: down to label7 # BB#7: # %entry i32.const $push14=, 8 i32.ne $push15=, $7, $pop14 - br_if $pop15, 0 # 0: down to label7 + br_if 0, $pop15 # 0: down to label7 # BB#8: # %entry i64.const $push16=, 81985529216486895 i64.ne $push17=, $8, $pop16 - br_if $pop17, 0 # 0: down to label7 + br_if 0, $pop17 # 0: down to label7 # BB#9: # %entry i32.const $push18=, 85 i32.ne $push19=, $9, $pop18 - br_if $pop19, 0 # 0: down to label7 + br_if 0, $pop19 # 0: down to label7 # BB#10: # %if.end return .LBB7_11: # %if.then diff --git a/test/torture-s/991228-1.c.s b/test/torture-s/991228-1.c.s index b2097a95d..45dfa593e 100644 --- a/test/torture-s/991228-1.c.s +++ b/test/torture-s/991228-1.c.s @@ -58,7 +58,7 @@ main: # @main i32.load $push3=, u($pop11) i32.const $push10=, 0 i32.lt_s $push4=, $pop3, $pop10 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.then i32.const $push13=, 0 call exit@FUNCTION, $pop13 @@ -74,7 +74,7 @@ main: # @main i32.load $push7=, 0($pop6) i32.const $push14=, 0 i32.lt_s $push8=, $pop7, $pop14 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#3: # %if.then1 call abort@FUNCTION unreachable diff --git a/test/torture-s/align-2.c.s b/test/torture-s/align-2.c.s index 4b0cd2150..f9a03033a 100644 --- a/test/torture-s/align-2.c.s +++ b/test/torture-s/align-2.c.s @@ -12,133 +12,133 @@ main: # @main i32.load8_u $push0=, s_c_s($pop95):p2align=1 i32.const $push1=, 97 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.const $push96=, 0 i32.load16_u $push3=, s_c_s+2($pop96) i32.const $push4=, 13 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end6 block i32.const $push97=, 0 i32.load8_u $push6=, s_c_i($pop97):p2align=2 i32.const $push7=, 98 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end11 block i32.const $push98=, 0 i32.load $push9=, s_c_i+4($pop98) i32.const $push10=, 14 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.end15 block i32.const $push99=, 0 i32.load16_u $push12=, s_s_i($pop99):p2align=2 i32.const $push13=, 15 i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#5: # %if.end20 block i32.const $push100=, 0 i32.load $push15=, s_s_i+4($pop100) i32.const $push16=, 16 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label5 + br_if 0, $pop17 # 0: down to label5 # BB#6: # %if.end24 block i32.const $push101=, 0 i32.load8_u $push18=, s_c_f($pop101):p2align=2 i32.const $push19=, 99 i32.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label6 + br_if 0, $pop20 # 0: down to label6 # BB#7: # %if.end29 block i32.const $push102=, 0 f32.load $push21=, s_c_f+4($pop102) f32.const $push22=, 0x1.1p4 f32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label7 + br_if 0, $pop23 # 0: down to label7 # BB#8: # %if.end34 block i32.const $push103=, 0 i32.load16_u $push24=, s_s_f($pop103):p2align=2 i32.const $push25=, 18 i32.ne $push26=, $pop24, $pop25 - br_if $pop26, 0 # 0: down to label8 + br_if 0, $pop26 # 0: down to label8 # BB#9: # %if.end39 block i32.const $push104=, 0 f32.load $push27=, s_s_f+4($pop104) f32.const $push28=, 0x1.3p4 f32.ne $push29=, $pop27, $pop28 - br_if $pop29, 0 # 0: down to label9 + br_if 0, $pop29 # 0: down to label9 # BB#10: # %if.end44 block i32.const $push105=, 0 i32.load8_u $push30=, s_c_d($pop105):p2align=3 i32.const $push31=, 100 i32.ne $push32=, $pop30, $pop31 - br_if $pop32, 0 # 0: down to label10 + br_if 0, $pop32 # 0: down to label10 # BB#11: # %if.end49 block i32.const $push106=, 0 f64.load $push33=, s_c_d+8($pop106) f64.const $push34=, 0x1.4p4 f64.ne $push35=, $pop33, $pop34 - br_if $pop35, 0 # 0: down to label11 + br_if 0, $pop35 # 0: down to label11 # BB#12: # %if.end53 block i32.const $push107=, 0 i32.load16_u $push36=, s_s_d($pop107):p2align=3 i32.const $push37=, 21 i32.ne $push38=, $pop36, $pop37 - br_if $pop38, 0 # 0: down to label12 + br_if 0, $pop38 # 0: down to label12 # BB#13: # %if.end58 block i32.const $push108=, 0 f64.load $push39=, s_s_d+8($pop108) f64.const $push40=, 0x1.6p4 f64.ne $push41=, $pop39, $pop40 - br_if $pop41, 0 # 0: down to label13 + br_if 0, $pop41 # 0: down to label13 # BB#14: # %if.end62 block i32.const $push109=, 0 i32.load $push42=, s_i_d($pop109):p2align=3 i32.const $push43=, 23 i32.ne $push44=, $pop42, $pop43 - br_if $pop44, 0 # 0: down to label14 + br_if 0, $pop44 # 0: down to label14 # BB#15: # %if.end66 block i32.const $push110=, 0 f64.load $push45=, s_i_d+8($pop110) f64.const $push46=, 0x1.8p4 f64.ne $push47=, $pop45, $pop46 - br_if $pop47, 0 # 0: down to label15 + br_if 0, $pop47 # 0: down to label15 # BB#16: # %if.end70 block i32.const $push111=, 0 f32.load $push48=, s_f_d($pop111):p2align=3 f32.const $push49=, 0x1.9p4 f32.ne $push50=, $pop48, $pop49 - br_if $pop50, 0 # 0: down to label16 + br_if 0, $pop50 # 0: down to label16 # BB#17: # %if.end75 block i32.const $push112=, 0 f64.load $push51=, s_f_d+8($pop112) f64.const $push52=, 0x1.ap4 f64.ne $push53=, $pop51, $pop52 - br_if $pop53, 0 # 0: down to label17 + br_if 0, $pop53 # 0: down to label17 # BB#18: # %if.end79 block i32.const $push113=, 0 i32.load8_u $push54=, s_c_ld($pop113):p2align=4 i32.const $push55=, 101 i32.ne $push56=, $pop54, $pop55 - br_if $pop56, 0 # 0: down to label18 + br_if 0, $pop56 # 0: down to label18 # BB#19: # %if.end84 block i32.const $push115=, 0 @@ -148,14 +148,14 @@ main: # @main i64.const $push60=, 0 i64.const $push59=, 4612723957404008448 i32.call $push61=, __eqtf2@FUNCTION, $pop58, $pop57, $pop60, $pop59 - br_if $pop61, 0 # 0: down to label19 + br_if 0, $pop61 # 0: down to label19 # BB#20: # %if.end88 block i32.const $push116=, 0 i32.load16_u $push62=, s_s_ld($pop116):p2align=4 i32.const $push63=, 28 i32.ne $push64=, $pop62, $pop63 - br_if $pop64, 0 # 0: down to label20 + br_if 0, $pop64 # 0: down to label20 # BB#21: # %if.end93 block i32.const $push118=, 0 @@ -165,14 +165,14 @@ main: # @main i64.const $push68=, 0 i64.const $push67=, 4612759141776097280 i32.call $push69=, __eqtf2@FUNCTION, $pop66, $pop65, $pop68, $pop67 - br_if $pop69, 0 # 0: down to label21 + br_if 0, $pop69 # 0: down to label21 # BB#22: # %if.end97 block i32.const $push119=, 0 i32.load $push70=, s_i_ld($pop119):p2align=4 i32.const $push71=, 30 i32.ne $push72=, $pop70, $pop71 - br_if $pop72, 0 # 0: down to label22 + br_if 0, $pop72 # 0: down to label22 # BB#23: # %if.end101 block i32.const $push121=, 0 @@ -182,14 +182,14 @@ main: # @main i64.const $push76=, 0 i64.const $push75=, 4612794326148186112 i32.call $push77=, __eqtf2@FUNCTION, $pop74, $pop73, $pop76, $pop75 - br_if $pop77, 0 # 0: down to label23 + br_if 0, $pop77 # 0: down to label23 # BB#24: # %if.end105 block i32.const $push122=, 0 f32.load $push78=, s_f_ld($pop122):p2align=4 f32.const $push79=, 0x1p5 f32.ne $push80=, $pop78, $pop79 - br_if $pop80, 0 # 0: down to label24 + br_if 0, $pop80 # 0: down to label24 # BB#25: # %if.end110 block i32.const $push124=, 0 @@ -199,14 +199,14 @@ main: # @main i64.const $push84=, 0 i64.const $push83=, 4612820714427252736 i32.call $push85=, __eqtf2@FUNCTION, $pop82, $pop81, $pop84, $pop83 - br_if $pop85, 0 # 0: down to label25 + br_if 0, $pop85 # 0: down to label25 # BB#26: # %if.end114 block i32.const $push125=, 0 f64.load $push86=, s_d_ld($pop125):p2align=4 f64.const $push87=, 0x1.1p5 f64.ne $push88=, $pop86, $pop87 - br_if $pop88, 0 # 0: down to label26 + br_if 0, $pop88 # 0: down to label26 # BB#27: # %if.end118 block i32.const $push127=, 0 @@ -216,7 +216,7 @@ main: # @main i64.const $push92=, 0 i64.const $push91=, 4612838306613297152 i32.call $push93=, __eqtf2@FUNCTION, $pop90, $pop89, $pop92, $pop91 - br_if $pop93, 0 # 0: down to label27 + br_if 0, $pop93 # 0: down to label27 # BB#28: # %if.end122 i32.const $push94=, 0 return $pop94 diff --git a/test/torture-s/alloca-1.c.s b/test/torture-s/alloca-1.c.s index ac008d3fb..6a34ec002 100644 --- a/test/torture-s/alloca-1.c.s +++ b/test/torture-s/alloca-1.c.s @@ -44,7 +44,7 @@ main: # @main block i32.const $push0=, 15 i32.and $push1=, $3, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 i32.const $2=, 32 diff --git a/test/torture-s/arith-rand-ll.c.s b/test/torture-s/arith-rand-ll.c.s index 704f6eea6..c66bbb913 100644 --- a/test/torture-s/arith-rand-ll.c.s +++ b/test/torture-s/arith-rand-ll.c.s @@ -50,7 +50,7 @@ random_bitstring: # @random_bitstring tee_local $push13=, $3=, $pop1 i32.const $push25=, 0 i32.eq $push26=, $pop13, $pop25 - br_if $pop26, 1 # 1: down to label1 + br_if 1, $pop26 # 1: down to label1 # BB#2: # %if.else # in Loop: Header=BB1_1 Depth=1 i64.const $push21=, 15 @@ -62,7 +62,7 @@ random_bitstring: # @random_bitstring i64.and $push5=, $0, $pop20 i64.const $push19=, 0 i64.eq $push6=, $pop5, $pop19 - br_if $pop6, 0 # 0: down to label2 + br_if 0, $pop6 # 0: down to label2 # BB#3: # %if.then2 # in Loop: Header=BB1_1 Depth=1 i32.const $push23=, 1 @@ -76,7 +76,7 @@ random_bitstring: # @random_bitstring end_block # label2: i32.const $push24=, 71 i32.lt_u $push10=, $1, $pop24 - br_if $pop10, 0 # 0: up to label0 + br_if 0, $pop10 # 0: up to label0 .LBB1_5: # %cleanup end_loop # label1: i32.const $push11=, 0 @@ -121,7 +121,7 @@ main: # @main tee_local $push95=, $7=, $pop1 i32.const $push175=, 0 i32.eq $push176=, $pop95, $pop175 - br_if $pop176, 1 # 1: down to label6 + br_if 1, $pop176 # 1: down to label6 # BB#3: # %if.else.i # in Loop: Header=BB2_2 Depth=2 i64.const $push103=, 15 @@ -133,7 +133,7 @@ main: # @main i64.and $push13=, $1, $pop102 i64.const $push101=, 0 i64.eq $push14=, $pop13, $pop101 - br_if $pop14, 0 # 0: down to label7 + br_if 0, $pop14 # 0: down to label7 # BB#4: # %if.then2.i # in Loop: Header=BB2_2 Depth=2 i32.const $push105=, 1 @@ -147,7 +147,7 @@ main: # @main end_block # label7: i32.const $push106=, 71 i32.lt_u $push18=, $4, $pop106 - br_if $pop18, 0 # 0: up to label5 + br_if 0, $pop18 # 0: up to label5 .LBB2_6: # %random_bitstring.exit # in Loop: Header=BB2_1 Depth=1 end_loop # label6: @@ -170,7 +170,7 @@ main: # @main tee_local $push107=, $7=, $pop3 i32.const $push177=, 0 i32.eq $push178=, $pop107, $pop177 - br_if $pop178, 1 # 1: down to label9 + br_if 1, $pop178 # 1: down to label9 # BB#8: # %if.else.i457 # in Loop: Header=BB2_7 Depth=2 i64.const $push115=, 15 @@ -182,7 +182,7 @@ main: # @main i64.and $push22=, $1, $pop114 i64.const $push113=, 0 i64.eq $push23=, $pop22, $pop113 - br_if $pop23, 0 # 0: down to label10 + br_if 0, $pop23 # 0: down to label10 # BB#9: # %if.then2.i462 # in Loop: Header=BB2_7 Depth=2 i32.const $push117=, 1 @@ -196,14 +196,14 @@ main: # @main end_block # label10: i32.const $push118=, 71 i32.lt_u $push27=, $4, $pop118 - br_if $pop27, 0 # 0: up to label8 + br_if 0, $pop27 # 0: up to label8 .LBB2_11: # %random_bitstring.exit467 # in Loop: Header=BB2_1 Depth=1 end_loop # label9: block i64.const $push119=, 0 i64.eq $push28=, $6, $pop119 - br_if $pop28, 0 # 0: down to label11 + br_if 0, $pop28 # 0: down to label11 # BB#12: # %cleanup.cont # in Loop: Header=BB2_1 Depth=1 block @@ -211,12 +211,12 @@ main: # @main i64.and $push29=, $5, $pop121 i64.const $push120=, 0 i64.ne $push30=, $pop29, $pop120 - br_if $pop30, 0 # 0: down to label12 + br_if 0, $pop30 # 0: down to label12 # BB#13: # %cleanup.cont # in Loop: Header=BB2_1 Depth=1 i64.const $push122=, -1 i64.eq $push31=, $6, $pop122 - br_if $pop31, 1 # 1: down to label11 + br_if 1, $pop31 # 1: down to label11 .LBB2_14: # %if.end17 # in Loop: Header=BB2_1 Depth=1 end_block # label12: @@ -233,14 +233,14 @@ main: # @main i64.add $push33=, $6, $pop123 i64.xor $push34=, $pop33, $8 i64.ge_u $push38=, $pop37, $pop34 - br_if $pop38, 0 # 0: down to label13 + br_if 0, $pop38 # 0: down to label13 # BB#15: # %save_time # in Loop: Header=BB2_1 Depth=1 i32.wrap/i64 $push5=, $6 tee_local $push127=, $4=, $pop5 i32.const $push179=, 0 i32.eq $push180=, $pop127, $pop179 - br_if $pop180, 1 # 1: down to label11 + br_if 1, $pop180 # 1: down to label11 # BB#16: # %cleanup.cont65 # in Loop: Header=BB2_1 Depth=1 block @@ -248,12 +248,12 @@ main: # @main tee_local $push129=, $7=, $pop4 i32.const $push128=, 2147483647 i32.and $push40=, $pop129, $pop128 - br_if $pop40, 0 # 0: down to label14 + br_if 0, $pop40 # 0: down to label14 # BB#17: # %cleanup.cont65 # in Loop: Header=BB2_1 Depth=1 i32.const $push130=, -1 i32.eq $push41=, $4, $pop130 - br_if $pop41, 2 # 2: down to label11 + br_if 2, $pop41 # 2: down to label11 .LBB2_18: # %if.end79 # in Loop: Header=BB2_1 Depth=1 end_block # label14: @@ -270,19 +270,19 @@ main: # @main i32.add $push43=, $4, $pop131 i32.xor $push44=, $pop43, $3 i32.ge_u $push48=, $pop47, $pop44 - br_if $pop48, 0 # 0: down to label15 + br_if 0, $pop48 # 0: down to label15 # BB#19: # %lor.lhs.false103 # in Loop: Header=BB2_1 Depth=1 block i32.const $push181=, 0 i32.eq $push182=, $2, $pop181 - br_if $pop182, 0 # 0: down to label16 + br_if 0, $pop182 # 0: down to label16 # BB#20: # %lor.lhs.false103 # in Loop: Header=BB2_1 Depth=1 i32.xor $push49=, $2, $7 i32.const $push135=, -1 i32.le_s $push50=, $pop49, $pop135 - br_if $pop50, 1 # 1: down to label15 + br_if 1, $pop50 # 1: down to label15 .LBB2_21: # %cleanup.cont118 # in Loop: Header=BB2_1 Depth=1 end_block # label16: @@ -290,7 +290,7 @@ main: # @main i32.and $push51=, $4, $pop136 i32.const $push183=, 0 i32.eq $push184=, $pop51, $pop183 - br_if $pop184, 2 # 2: down to label11 + br_if 2, $pop184 # 2: down to label11 # BB#22: # %cleanup.cont158 # in Loop: Header=BB2_1 Depth=1 i32.const $push151=, 16 @@ -324,7 +324,7 @@ main: # @main i32.const $push137=, 65535 i32.and $push62=, $pop61, $pop137 i32.ge_s $push63=, $pop58, $pop62 - br_if $pop63, 0 # 0: down to label17 + br_if 0, $pop63 # 0: down to label17 # BB#23: # %lor.lhs.false197 # in Loop: Header=BB2_1 Depth=1 i32.div_s $push64=, $12, $2 @@ -335,14 +335,14 @@ main: # @main i32.const $push152=, 16 i32.shr_s $push68=, $pop67, $pop152 i32.ne $push69=, $pop68, $12 - br_if $pop69, 0 # 0: down to label17 + br_if 0, $pop69 # 0: down to label17 # BB#24: # %if.end209 # in Loop: Header=BB2_1 Depth=1 i32.const $push154=, 255 i32.and $push71=, $4, $pop154 i32.const $push185=, 0 i32.eq $push186=, $pop71, $pop185 - br_if $pop186, 3 # 3: down to label11 + br_if 3, $pop186 # 3: down to label11 # BB#25: # %cleanup.cont249 # in Loop: Header=BB2_1 Depth=1 i32.const $push169=, 24 @@ -376,7 +376,7 @@ main: # @main i32.const $push155=, 255 i32.and $push82=, $pop81, $pop155 i32.ge_s $push83=, $pop78, $pop82 - br_if $pop83, 0 # 0: down to label18 + br_if 0, $pop83 # 0: down to label18 # BB#26: # %lor.lhs.false288 # in Loop: Header=BB2_1 Depth=1 i32.div_s $push84=, $2, $4 @@ -387,7 +387,7 @@ main: # @main i32.const $push170=, 24 i32.shr_s $push88=, $pop87, $pop170 i32.eq $push89=, $pop88, $2 - br_if $pop89, 4 # 4: down to label11 + br_if 4, $pop89 # 4: down to label11 .LBB2_27: # %if.then299 end_block # label18: i32.const $push90=, 0 @@ -419,7 +419,7 @@ main: # @main i64.add $0=, $0, $pop173 i64.const $push172=, 10000 i64.lt_s $push92=, $0, $pop172 - br_if $pop92, 0 # 0: up to label3 + br_if 0, $pop92 # 0: up to label3 # BB#32: # %for.end end_loop # label4: i32.const $push93=, 0 diff --git a/test/torture-s/arith-rand.c.s b/test/torture-s/arith-rand.c.s index 4c28a0ef4..ac94585eb 100644 --- a/test/torture-s/arith-rand.c.s +++ b/test/torture-s/arith-rand.c.s @@ -48,7 +48,7 @@ random_bitstring: # @random_bitstring tee_local $push9=, $3=, $pop0 i32.const $push18=, 0 i32.eq $push19=, $pop9, $pop18 - br_if $pop19, 1 # 1: down to label1 + br_if 1, $pop19 # 1: down to label1 # BB#2: # %if.else # in Loop: Header=BB1_1 Depth=1 i32.add $1=, $3, $1 @@ -58,7 +58,7 @@ random_bitstring: # @random_bitstring i32.and $push3=, $0, $pop14 i32.const $push20=, 0 i32.eq $push21=, $pop3, $pop20 - br_if $pop21, 0 # 0: down to label2 + br_if 0, $pop21 # 0: down to label2 # BB#3: # %if.then1 # in Loop: Header=BB1_1 Depth=1 i32.const $push16=, 1 @@ -71,7 +71,7 @@ random_bitstring: # @random_bitstring end_block # label2: i32.const $push17=, 39 i32.lt_u $push6=, $1, $pop17 - br_if $pop6, 0 # 0: up to label0 + br_if 0, $pop6 # 0: up to label0 .LBB1_5: # %cleanup end_loop # label1: i32.const $push7=, 0 @@ -114,7 +114,7 @@ main: # @main tee_local $push71=, $5=, $pop0 i32.const $push134=, 0 i32.eq $push135=, $pop71, $pop134 - br_if $pop135, 1 # 1: down to label6 + br_if 1, $pop135 # 1: down to label6 # BB#3: # %if.else.i # in Loop: Header=BB2_2 Depth=2 i32.add $4=, $5, $4 @@ -124,7 +124,7 @@ main: # @main i32.and $push8=, $1, $pop76 i32.const $push136=, 0 i32.eq $push137=, $pop8, $pop136 - br_if $pop137, 0 # 0: down to label7 + br_if 0, $pop137 # 0: down to label7 # BB#4: # %if.then1.i # in Loop: Header=BB2_2 Depth=2 i32.const $push78=, 1 @@ -137,7 +137,7 @@ main: # @main end_block # label7: i32.const $push79=, 39 i32.lt_u $push11=, $4, $pop79 - br_if $pop11, 0 # 0: up to label5 + br_if 0, $pop11 # 0: up to label5 .LBB2_6: # %random_bitstring.exit # in Loop: Header=BB2_1 Depth=1 end_loop # label6: @@ -158,7 +158,7 @@ main: # @main tee_local $push80=, $5=, $pop1 i32.const $push138=, 0 i32.eq $push139=, $pop80, $pop138 - br_if $pop139, 1 # 1: down to label9 + br_if 1, $pop139 # 1: down to label9 # BB#8: # %if.else.i343 # in Loop: Header=BB2_7 Depth=2 i32.add $3=, $5, $3 @@ -168,7 +168,7 @@ main: # @main i32.and $push14=, $1, $pop85 i32.const $push140=, 0 i32.eq $push141=, $pop14, $pop140 - br_if $pop141, 0 # 0: down to label10 + br_if 0, $pop141 # 0: down to label10 # BB#9: # %if.then1.i347 # in Loop: Header=BB2_7 Depth=2 i32.const $push87=, 1 @@ -181,25 +181,25 @@ main: # @main end_block # label10: i32.const $push88=, 39 i32.lt_u $push17=, $3, $pop88 - br_if $pop17, 0 # 0: up to label8 + br_if 0, $pop17 # 0: up to label8 .LBB2_11: # %random_bitstring.exit352 # in Loop: Header=BB2_1 Depth=1 end_loop # label9: block i32.const $push142=, 0 i32.eq $push143=, $4, $pop142 - br_if $pop143, 0 # 0: down to label11 + br_if 0, $pop143 # 0: down to label11 # BB#12: # %cleanup.cont # in Loop: Header=BB2_1 Depth=1 block i32.const $push89=, 2147483647 i32.and $push18=, $2, $pop89 - br_if $pop18, 0 # 0: down to label12 + br_if 0, $pop18 # 0: down to label12 # BB#13: # %cleanup.cont # in Loop: Header=BB2_1 Depth=1 i32.const $push90=, -1 i32.eq $push19=, $4, $pop90 - br_if $pop19, 1 # 1: down to label11 + br_if 1, $pop19 # 1: down to label11 .LBB2_14: # %if.end25 # in Loop: Header=BB2_1 Depth=1 end_block # label12: @@ -216,14 +216,14 @@ main: # @main i32.add $push21=, $4, $pop91 i32.xor $push22=, $pop21, $5 i32.ge_u $push26=, $pop25, $pop22 - br_if $pop26, 0 # 0: down to label13 + br_if 0, $pop26 # 0: down to label13 # BB#15: # %cleanup.cont47 # in Loop: Header=BB2_1 Depth=1 i32.const $push95=, 65535 i32.and $push28=, $4, $pop95 i32.const $push144=, 0 i32.eq $push145=, $pop28, $pop144 - br_if $pop145, 1 # 1: down to label11 + br_if 1, $pop145 # 1: down to label11 # BB#16: # %cleanup.cont86 # in Loop: Header=BB2_1 Depth=1 i32.const $push110=, 16 @@ -257,7 +257,7 @@ main: # @main i32.const $push96=, 65535 i32.and $push39=, $pop38, $pop96 i32.ge_s $push40=, $pop35, $pop39 - br_if $pop40, 0 # 0: down to label14 + br_if 0, $pop40 # 0: down to label14 # BB#17: # %lor.lhs.false125 # in Loop: Header=BB2_1 Depth=1 i32.div_s $push41=, $8, $5 @@ -268,14 +268,14 @@ main: # @main i32.const $push111=, 16 i32.shr_s $push45=, $pop44, $pop111 i32.ne $push46=, $pop45, $8 - br_if $pop46, 0 # 0: down to label14 + br_if 0, $pop46 # 0: down to label14 # BB#18: # %if.end137 # in Loop: Header=BB2_1 Depth=1 i32.const $push113=, 255 i32.and $push48=, $4, $pop113 i32.const $push146=, 0 i32.eq $push147=, $pop48, $pop146 - br_if $pop147, 2 # 2: down to label11 + br_if 2, $pop147 # 2: down to label11 # BB#19: # %cleanup.cont177 # in Loop: Header=BB2_1 Depth=1 i32.const $push128=, 24 @@ -309,7 +309,7 @@ main: # @main i32.const $push114=, 255 i32.and $push59=, $pop58, $pop114 i32.ge_s $push60=, $pop55, $pop59 - br_if $pop60, 0 # 0: down to label15 + br_if 0, $pop60 # 0: down to label15 # BB#20: # %lor.lhs.false216 # in Loop: Header=BB2_1 Depth=1 i32.div_s $push61=, $2, $5 @@ -320,7 +320,7 @@ main: # @main i32.const $push129=, 24 i32.shr_s $push65=, $pop64, $pop129 i32.eq $push66=, $pop65, $2 - br_if $pop66, 3 # 3: down to label11 + br_if 3, $pop66 # 3: down to label11 .LBB2_21: # %if.then227 end_block # label15: i32.const $push67=, 0 @@ -346,7 +346,7 @@ main: # @main i32.add $0=, $0, $pop132 i32.const $push131=, 1000 i32.lt_s $push68=, $0, $pop131 - br_if $pop68, 0 # 0: up to label3 + br_if 0, $pop68 # 0: up to label3 # BB#25: # %for.end end_loop # label4: i32.const $push69=, 0 diff --git a/test/torture-s/bcp-1.c.s b/test/torture-s/bcp-1.c.s index 73e1e198b..c7478b695 100644 --- a/test/torture-s/bcp-1.c.s +++ b/test/torture-s/bcp-1.c.s @@ -237,64 +237,64 @@ main: # @main i32.const $push39=, 0 i32.load $push0=, bad_t0($pop39):p2align=4 i32.call_indirect $push1=, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.cond i32.const $push40=, 0 i32.load $push2=, bad_t0+4($pop40) i32.call_indirect $push3=, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %for.cond.1 i32.const $push53=, 0 i32.load $push4=, bad_t0+8($pop53):p2align=3 i32.call_indirect $push5=, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#3: # %for.cond.2 i32.const $push54=, 0 i32.load $push6=, bad_t0+12($pop54) i32.call_indirect $push7=, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#4: # %for.cond.3 i32.const $push55=, 0 i32.load $push8=, bad_t0+16($pop55):p2align=4 i32.call_indirect $push9=, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#5: # %for.cond.4 i32.const $push56=, 0 i32.load $push10=, bad_t0+20($pop56) i32.call_indirect $push11=, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#6: # %for.cond.5 block i32.const $push12=, 0 i32.load $push13=, bad_t1($pop12) i32.const $push14=, 1 i32.call_indirect $push15=, $pop13, $pop14 - br_if $pop15, 0 # 0: down to label1 + br_if 0, $pop15 # 0: down to label1 # BB#7: # %for.cond1 i32.const $push42=, 0 i32.load $push16=, bad_t1+4($pop42) i32.const $push41=, 1 i32.call_indirect $push17=, $pop16, $pop41 - br_if $pop17, 0 # 0: down to label1 + br_if 0, $pop17 # 0: down to label1 # BB#8: # %for.cond1.1 i32.const $push51=, 0 i32.load $push18=, bad_t1+8($pop51) i32.const $push19=, 1 i32.call_indirect $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label1 + br_if 0, $pop20 # 0: down to label1 # BB#9: # %for.cond1.2 block i32.const $push52=, 0 i32.load $push21=, bad_t2($pop52) i32.const $push22=, .L.str i32.call_indirect $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label2 + br_if 0, $pop23 # 0: down to label2 # BB#10: # %for.cond12 i32.const $push44=, 0 i32.load $push24=, bad_t2+4($pop44) i32.const $push43=, .L.str i32.call_indirect $push25=, $pop24, $pop43 - br_if $pop25, 0 # 0: down to label2 + br_if 0, $pop25 # 0: down to label2 # BB#11: # %for.cond12.1 block i32.const $push50=, 0 @@ -302,21 +302,21 @@ main: # @main i32.call_indirect $push27=, $pop26 i32.const $push57=, 0 i32.eq $push58=, $pop27, $pop57 - br_if $pop58, 0 # 0: down to label3 + br_if 0, $pop58 # 0: down to label3 # BB#12: # %for.cond23 i32.const $push45=, 0 i32.load $push28=, good_t0+4($pop45) i32.call_indirect $push29=, $pop28 i32.const $push59=, 0 i32.eq $push60=, $pop29, $pop59 - br_if $pop60, 0 # 0: down to label3 + br_if 0, $pop60 # 0: down to label3 # BB#13: # %for.cond23.1 i32.const $push49=, 0 i32.load $push30=, good_t0+8($pop49) i32.call_indirect $push31=, $pop30 i32.const $push61=, 0 i32.eq $push62=, $pop31, $pop61 - br_if $pop62, 0 # 0: down to label3 + br_if 0, $pop62 # 0: down to label3 # BB#14: # %for.cond23.2 block i32.const $push32=, 0 @@ -324,21 +324,21 @@ main: # @main i32.call_indirect $push34=, $pop33 i32.const $push63=, 0 i32.eq $push64=, $pop34, $pop63 - br_if $pop64, 0 # 0: down to label4 + br_if 0, $pop64 # 0: down to label4 # BB#15: # %for.cond34 i32.const $push46=, 0 i32.load $push35=, opt_t0+4($pop46) i32.call_indirect $push36=, $pop35 i32.const $push65=, 0 i32.eq $push66=, $pop36, $pop65 - br_if $pop66, 0 # 0: down to label4 + br_if 0, $pop66 # 0: down to label4 # BB#16: # %for.cond34.1 i32.const $push47=, 0 i32.load $push37=, opt_t0+8($pop47) i32.call_indirect $push38=, $pop37 i32.const $push67=, 0 i32.eq $push68=, $pop38, $pop67 - br_if $pop68, 0 # 0: down to label4 + br_if 0, $pop68 # 0: down to label4 # BB#17: # %for.cond34.2 i32.const $push48=, 0 call exit@FUNCTION, $pop48 diff --git a/test/torture-s/bf-pack-1.c.s b/test/torture-s/bf-pack-1.c.s index 3a0330b0c..5c62e46dc 100644 --- a/test/torture-s/bf-pack-1.c.s +++ b/test/torture-s/bf-pack-1.c.s @@ -16,14 +16,14 @@ f: # @f i64.and $push2=, $pop9, $pop1 i64.const $push3=, 4660 i64.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end block i64.const $push5=, 281474976645120 i64.and $push6=, $1, $pop5 i64.const $push7=, 95075992076288 i64.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#2: # %if.end6 return $0 .LBB0_3: # %if.then5 diff --git a/test/torture-s/bf-sign-2.c.s b/test/torture-s/bf-sign-2.c.s index a1bcdd1c2..a824bb638 100644 --- a/test/torture-s/bf-sign-2.c.s +++ b/test/torture-s/bf-sign-2.c.s @@ -19,7 +19,7 @@ main: # @main i32.add $push5=, $pop4, $pop39 i32.const $push38=, 0 i32.lt_s $push6=, $pop5, $pop38 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable @@ -35,7 +35,7 @@ main: # @main i32.add $push12=, $pop11, $pop43 i32.const $push42=, 0 i32.lt_s $push13=, $pop12, $pop42 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#3: # %if.then4 call abort@FUNCTION unreachable @@ -50,7 +50,7 @@ main: # @main i32.add $push15=, $pop14, $pop45 i32.const $push44=, 0 i32.lt_s $push16=, $pop15, $pop44 - br_if $pop16, 0 # 0: down to label2 + br_if 0, $pop16 # 0: down to label2 # BB#5: # %if.then12 call abort@FUNCTION unreachable @@ -68,7 +68,7 @@ main: # @main i32.add $push23=, $pop22, $pop49 i32.const $push48=, 0 i32.lt_s $push24=, $pop23, $pop48 - br_if $pop24, 0 # 0: down to label3 + br_if 0, $pop24 # 0: down to label3 # BB#7: # %if.then19 call abort@FUNCTION unreachable @@ -84,7 +84,7 @@ main: # @main i32.add $push30=, $pop29, $pop52 i32.const $push51=, 0 i32.lt_s $push31=, $pop30, $pop51 - br_if $pop31, 0 # 0: down to label4 + br_if 0, $pop31 # 0: down to label4 # BB#9: # %if.then27 call abort@FUNCTION unreachable @@ -99,7 +99,7 @@ main: # @main i32.add $push35=, $pop34, $pop54 i32.const $push53=, 0 i32.lt_s $push36=, $pop35, $pop53 - br_if $pop36, 0 # 0: down to label5 + br_if 0, $pop36 # 0: down to label5 # BB#11: # %if.then42 call abort@FUNCTION unreachable diff --git a/test/torture-s/bitfld-3.c.s b/test/torture-s/bitfld-3.c.s index e4f30aa74..41fd3e355 100644 --- a/test/torture-s/bitfld-3.c.s +++ b/test/torture-s/bitfld-3.c.s @@ -17,7 +17,7 @@ main: # @main i64.mul $push3=, $pop13, $0 i64.const $push12=, 0 i64.ne $push4=, $pop3, $pop12 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $push17=, 0 i64.load $push5=, a+8($pop17) @@ -29,7 +29,7 @@ main: # @main i64.or $push10=, $pop8, $pop9 i64.const $push15=, 0 i64.ne $push11=, $pop10, $pop15 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#2: # %if.end call abort@FUNCTION unreachable diff --git a/test/torture-s/bitfld-4.c.s b/test/torture-s/bitfld-4.c.s index 42aca2e9c..5cfde5b8d 100644 --- a/test/torture-s/bitfld-4.c.s +++ b/test/torture-s/bitfld-4.c.s @@ -12,7 +12,7 @@ main: # @main i32.load $push0=, x($pop3) i32.const $push1=, -1863803 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/bitfld-5.c.s b/test/torture-s/bitfld-5.c.s index 7589c8fdc..81f4b38b8 100644 --- a/test/torture-s/bitfld-5.c.s +++ b/test/torture-s/bitfld-5.c.s @@ -11,7 +11,7 @@ g: # @g #NO_APP block i64.ne $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/bswap-1.c.s b/test/torture-s/bswap-1.c.s index 317181fda..e371e1f49 100644 --- a/test/torture-s/bswap-1.c.s +++ b/test/torture-s/bswap-1.c.s @@ -108,56 +108,56 @@ main: # @main i64.call $push1=, g@FUNCTION, $pop0 i64.const $push2=, 1297036692682702848 i64.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end block i64.const $push4=, 4660 i64.call $push5=, g@FUNCTION, $pop4 i64.const $push6=, 3752061439553044480 i64.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %if.end6 block i64.const $push8=, 1193046 i64.call $push9=, g@FUNCTION, $pop8 i64.const $push10=, 6211609577260056576 i64.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label2 + br_if 0, $pop11 # 0: down to label2 # BB#3: # %if.end11 block i64.const $push12=, 305419896 i64.call $push13=, g@FUNCTION, $pop12 i64.const $push14=, 8671175384462524416 i64.ne $push15=, $pop13, $pop14 - br_if $pop15, 0 # 0: down to label3 + br_if 0, $pop15 # 0: down to label3 # BB#4: # %if.end16 block i64.const $push16=, 78187493520 i64.call $push17=, g@FUNCTION, $pop16 i64.const $push18=, -8036578753402372096 i64.ne $push19=, $pop17, $pop18 - br_if $pop19, 0 # 0: down to label4 + br_if 0, $pop19 # 0: down to label4 # BB#5: # %if.end21 block i64.const $push20=, 20015998341138 i64.call $push21=, g@FUNCTION, $pop20 i64.const $push22=, 1337701400965152768 i64.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label5 + br_if 0, $pop23 # 0: down to label5 # BB#6: # %if.end26 block i64.const $push24=, 5124095575331380 i64.call $push25=, g@FUNCTION, $pop24 i64.const $push26=, 3752220286069772800 i64.ne $push27=, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label6 + br_if 0, $pop27 # 0: down to label6 # BB#7: # %if.end31 block i64.const $push28=, 1311768467284833366 i64.call $push29=, g@FUNCTION, $pop28 i64.const $push30=, 6211610197754262546 i64.ne $push31=, $pop29, $pop30 - br_if $pop31, 0 # 0: down to label7 + br_if 0, $pop31 # 0: down to label7 # BB#8: # %if.end36 i32.const $push32=, 0 return $pop32 diff --git a/test/torture-s/builtin-constant.c.s b/test/torture-s/builtin-constant.c.s index c048715df..65db50625 100644 --- a/test/torture-s/builtin-constant.c.s +++ b/test/torture-s/builtin-constant.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.load8_u $push0=, 0($0) i32.const $push1=, 48 i32.eq $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/builtin-prefetch-4.c.s b/test/torture-s/builtin-prefetch-4.c.s index bdf492bab..1dbe63510 100644 --- a/test/torture-s/builtin-prefetch-4.c.s +++ b/test/torture-s/builtin-prefetch-4.c.s @@ -431,14 +431,14 @@ main: # @main i32.load $push0=, ptr($pop42) tee_local $push41=, $0=, $pop0 i32.ne $push5=, $pop41, $0 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end4 block i32.const $push44=, 0 i32.load $push6=, arrindex($pop44) tee_local $push43=, $0=, $pop6 i32.ne $push7=, $pop43, $0 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %if.end12 i32.const $push48=, 0 i32.const $push47=, 0 @@ -450,7 +450,7 @@ main: # @main i32.const $push45=, 1 i32.const $push85=, 0 i32.eq $push86=, $pop45, $pop85 - br_if $pop86, 0 # 0: down to label2 + br_if 0, $pop86 # 0: down to label2 # BB#3: # %if.end20 i32.const $push52=, 0 i32.const $push51=, 0 @@ -462,7 +462,7 @@ main: # @main i32.const $push49=, 1 i32.const $push87=, 0 i32.eq $push88=, $pop49, $pop87 - br_if $pop88, 0 # 0: down to label3 + br_if 0, $pop88 # 0: down to label3 # BB#4: # %if.end28 i32.const $push56=, 0 i32.const $push55=, 0 @@ -474,7 +474,7 @@ main: # @main i32.const $push53=, 1 i32.const $push89=, 0 i32.eq $push90=, $pop53, $pop89 - br_if $pop90, 0 # 0: down to label4 + br_if 0, $pop90 # 0: down to label4 # BB#5: # %if.end36 i32.const $push60=, 0 i32.const $push59=, 0 @@ -486,7 +486,7 @@ main: # @main i32.const $push57=, 1 i32.const $push91=, 0 i32.eq $push92=, $pop57, $pop91 - br_if $pop92, 0 # 0: down to label5 + br_if 0, $pop92 # 0: down to label5 # BB#6: # %if.end44 block i32.const $push64=, 0 @@ -498,7 +498,7 @@ main: # @main i32.add $push13=, $pop12, $pop61 i32.store $push14=, arrindex($pop63), $pop13 i32.ne $push16=, $pop15, $pop14 - br_if $pop16, 0 # 0: down to label6 + br_if 0, $pop16 # 0: down to label6 # BB#7: # %if.end52 block i32.const $push68=, 0 @@ -510,7 +510,7 @@ main: # @main i32.add $push18=, $pop17, $pop65 i32.store $push19=, arrindex($pop67), $pop18 i32.ne $push21=, $pop20, $pop19 - br_if $pop21, 0 # 0: down to label7 + br_if 0, $pop21 # 0: down to label7 # BB#8: # %if.end64 block i32.const $push72=, 0 @@ -522,7 +522,7 @@ main: # @main i32.add $push23=, $pop22, $pop69 i32.store $push24=, arrindex($pop71), $pop23 i32.ne $push26=, $pop25, $pop24 - br_if $pop26, 0 # 0: down to label8 + br_if 0, $pop26 # 0: down to label8 # BB#9: # %if.end72 block i32.const $push76=, 0 @@ -534,7 +534,7 @@ main: # @main i32.add $push28=, $pop27, $pop73 i32.store $push29=, arrindex($pop75), $pop28 i32.ne $push31=, $pop30, $pop29 - br_if $pop31, 0 # 0: down to label9 + br_if 0, $pop31 # 0: down to label9 # BB#10: # %if.end76 block i32.const $push80=, 0 @@ -545,7 +545,7 @@ main: # @main i32.store $push34=, getptrcnt($pop80), $pop33 i32.const $push77=, 1 i32.ne $push35=, $pop34, $pop77 - br_if $pop35, 0 # 0: down to label10 + br_if 0, $pop35 # 0: down to label10 # BB#11: # %if.end80 block i32.const $push84=, 0 @@ -556,7 +556,7 @@ main: # @main i32.store $push38=, getintcnt($pop84), $pop37 i32.const $push81=, 1 i32.ne $push39=, $pop38, $pop81 - br_if $pop39, 0 # 0: down to label11 + br_if 0, $pop39 # 0: down to label11 # BB#12: # %if.end84 i32.const $push40=, 0 call exit@FUNCTION, $pop40 diff --git a/test/torture-s/builtin-prefetch-6.c.s b/test/torture-s/builtin-prefetch-6.c.s index 08adbcf55..d72098436 100644 --- a/test/torture-s/builtin-prefetch-6.c.s +++ b/test/torture-s/builtin-prefetch-6.c.s @@ -108,7 +108,7 @@ prefetch_for_read: # @prefetch_for_read loop # label0: i32.const $push0=, 4 i32.add $0=, $0, $pop0 - br_if $0, 0 # 0: up to label0 + br_if 0, $0 # 0: up to label0 # BB#2: # %for.end end_loop # label1: return @@ -129,7 +129,7 @@ prefetch_for_write: # @prefetch_for_write loop # label2: i32.const $push0=, 4 i32.add $0=, $0, $pop0 - br_if $0, 0 # 0: up to label2 + br_if 0, $0 # 0: up to label2 # BB#2: # %for.end end_loop # label3: return diff --git a/test/torture-s/cbrt.c.s b/test/torture-s/cbrt.c.s index 72a95cfa2..046318918 100644 --- a/test/torture-s/cbrt.c.s +++ b/test/torture-s/cbrt.c.s @@ -34,7 +34,7 @@ cbrtl: # @cbrtl tee_local $push78=, $3=, $pop2 i32.const $push8=, 2146435072 i32.lt_s $push9=, $pop78, $pop8 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#1: # %if.then f64.add $0=, $0, $0 br 1 # 1: down to label0 @@ -44,7 +44,7 @@ cbrtl: # @cbrtl i32.or $push11=, $pop10, $3 i32.const $push93=, 0 i32.eq $push94=, $pop11, $pop93 - br_if $pop94, 0 # 0: down to label0 + br_if 0, $pop94 # 0: down to label0 # BB#3: # %if.end13 block block @@ -54,7 +54,7 @@ cbrtl: # @cbrtl tee_local $push83=, $3=, $pop13 i32.const $push14=, 1048575 i32.gt_s $push15=, $pop83, $pop14 - br_if $pop15, 0 # 0: down to label3 + br_if 0, $pop15 # 0: down to label3 # BB#4: # %if.then18 i32.const $push86=, 4 i32.const $10=, 8 diff --git a/test/torture-s/cmpdi-1.c.s b/test/torture-s/cmpdi-1.c.s index 751cac13e..2fb293c32 100644 --- a/test/torture-s/cmpdi-1.c.s +++ b/test/torture-s/cmpdi-1.c.s @@ -212,7 +212,7 @@ main: # @main i32.select $push3=, $pop53, $pop52, $pop50 i32.load $push4=, 0($4) i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 13 # 13: down to label0 + br_if 13, $pop5 # 13: down to label0 # BB#3: # %if.end # in Loop: Header=BB10_2 Depth=2 i32.const $push56=, 140 @@ -222,7 +222,7 @@ main: # @main i32.add $push7=, $4, $pop54 i32.load $push8=, 0($pop7) i32.ne $push9=, $pop6, $pop8 - br_if $pop9, 12 # 12: down to label1 + br_if 12, $pop9 # 12: down to label1 # BB#4: # %if.end10 # in Loop: Header=BB10_2 Depth=2 i32.const $push60=, 13 @@ -234,7 +234,7 @@ main: # @main i32.add $push12=, $4, $pop57 i32.load $push13=, 0($pop12) i32.ne $push14=, $pop11, $pop13 - br_if $pop14, 11 # 11: down to label2 + br_if 11, $pop14 # 11: down to label2 # BB#5: # %if.end15 # in Loop: Header=BB10_2 Depth=2 i32.const $push63=, 140 @@ -244,7 +244,7 @@ main: # @main i32.add $push16=, $4, $pop61 i32.load $push17=, 0($pop16) i32.ne $push18=, $pop15, $pop17 - br_if $pop18, 10 # 10: down to label3 + br_if 10, $pop18 # 10: down to label3 # BB#6: # %if.end20 # in Loop: Header=BB10_2 Depth=2 i32.const $push67=, 13 @@ -256,7 +256,7 @@ main: # @main i32.add $push21=, $4, $pop64 i32.load $push22=, 0($pop21) i32.ne $push23=, $pop20, $pop22 - br_if $pop23, 9 # 9: down to label4 + br_if 9, $pop23 # 9: down to label4 # BB#7: # %if.end25 # in Loop: Header=BB10_2 Depth=2 i32.const $push70=, 140 @@ -266,7 +266,7 @@ main: # @main i32.add $push25=, $4, $pop68 i32.load $push26=, 0($pop25) i32.ne $push27=, $pop24, $pop26 - br_if $pop27, 8 # 8: down to label5 + br_if 8, $pop27 # 8: down to label5 # BB#8: # %if.end30 # in Loop: Header=BB10_2 Depth=2 i32.const $push74=, 13 @@ -278,7 +278,7 @@ main: # @main i32.add $push30=, $4, $pop71 i32.load $push31=, 0($pop30) i32.ne $push32=, $pop29, $pop31 - br_if $pop32, 7 # 7: down to label6 + br_if 7, $pop32 # 7: down to label6 # BB#9: # %if.end35 # in Loop: Header=BB10_2 Depth=2 i32.const $push77=, 140 @@ -288,7 +288,7 @@ main: # @main i32.add $push34=, $4, $pop75 i32.load $push35=, 0($pop34) i32.ne $push36=, $pop33, $pop35 - br_if $pop36, 6 # 6: down to label7 + br_if 6, $pop36 # 6: down to label7 # BB#10: # %if.end40 # in Loop: Header=BB10_2 Depth=2 i32.const $push81=, 13 @@ -300,7 +300,7 @@ main: # @main i32.add $push39=, $4, $pop78 i32.load $push40=, 0($pop39) i32.ne $push41=, $pop38, $pop40 - br_if $pop41, 5 # 5: down to label8 + br_if 5, $pop41 # 5: down to label8 # BB#11: # %if.end45 # in Loop: Header=BB10_2 Depth=2 i32.const $push84=, 140 @@ -310,7 +310,7 @@ main: # @main i32.add $push43=, $4, $pop82 i32.load $push44=, 0($pop43) i32.ne $push45=, $pop42, $pop44 - br_if $pop45, 4 # 4: down to label9 + br_if 4, $pop45 # 4: down to label9 # BB#12: # %if.end50 # in Loop: Header=BB10_2 Depth=2 i32.const $push88=, 40 @@ -321,7 +321,7 @@ main: # @main i32.add $2=, $2, $pop86 i32.const $push85=, 8 i32.lt_s $push46=, $3, $pop85 - br_if $pop46, 0 # 0: up to label12 + br_if 0, $pop46 # 0: up to label12 # BB#13: # %for.end # in Loop: Header=BB10_1 Depth=1 end_loop # label13: @@ -329,7 +329,7 @@ main: # @main i32.add $0=, $0, $pop90 i32.const $push89=, 8 i32.lt_s $push47=, $0, $pop89 - br_if $pop47, 0 # 0: up to label10 + br_if 0, $pop47 # 0: up to label10 # BB#14: # %for.end53 end_loop # label11: i32.const $push48=, 0 diff --git a/test/torture-s/cmpsf-1.c.s b/test/torture-s/cmpsf-1.c.s index 73ef6c36a..83d1d638b 100644 --- a/test/torture-s/cmpsf-1.c.s +++ b/test/torture-s/cmpsf-1.c.s @@ -147,7 +147,7 @@ main: # @main i32.select $push3=, $pop40, $pop39, $pop2 i32.load $push4=, 0($4) i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 9 # 9: down to label0 + br_if 9, $pop5 # 9: down to label0 # BB#3: # %if.end # in Loop: Header=BB6_2 Depth=2 i32.const $push43=, 13 @@ -158,7 +158,7 @@ main: # @main i32.add $push8=, $4, $pop41 i32.load $push9=, 0($pop8) i32.ne $push10=, $pop7, $pop9 - br_if $pop10, 8 # 8: down to label1 + br_if 8, $pop10 # 8: down to label1 # BB#4: # %if.end10 # in Loop: Header=BB6_2 Depth=2 i32.const $push47=, 13 @@ -170,7 +170,7 @@ main: # @main i32.add $push13=, $4, $pop44 i32.load $push14=, 0($pop13) i32.ne $push15=, $pop12, $pop14 - br_if $pop15, 7 # 7: down to label2 + br_if 7, $pop15 # 7: down to label2 # BB#5: # %if.end15 # in Loop: Header=BB6_2 Depth=2 i32.const $push51=, 140 @@ -185,7 +185,7 @@ main: # @main i32.add $push21=, $4, $pop48 i32.load $push22=, 0($pop21) i32.ne $push23=, $pop20, $pop22 - br_if $pop23, 6 # 6: down to label3 + br_if 6, $pop23 # 6: down to label3 # BB#6: # %if.end20 # in Loop: Header=BB6_2 Depth=2 i32.const $push55=, 13 @@ -197,7 +197,7 @@ main: # @main i32.add $push26=, $4, $pop52 i32.load $push27=, 0($pop26) i32.ne $push28=, $pop25, $pop27 - br_if $pop28, 5 # 5: down to label4 + br_if 5, $pop28 # 5: down to label4 # BB#7: # %if.end25 # in Loop: Header=BB6_2 Depth=2 i32.const $push58=, 140 @@ -208,7 +208,7 @@ main: # @main i32.add $push31=, $4, $pop56 i32.load $push32=, 0($pop31) i32.ne $push33=, $pop30, $pop32 - br_if $pop33, 4 # 4: down to label5 + br_if 4, $pop33 # 4: down to label5 # BB#8: # %if.end30 # in Loop: Header=BB6_2 Depth=2 i32.const $push62=, 24 @@ -219,7 +219,7 @@ main: # @main i32.add $2=, $2, $pop60 i32.const $push59=, 8 i32.lt_s $push34=, $3, $pop59 - br_if $pop34, 0 # 0: up to label8 + br_if 0, $pop34 # 0: up to label8 # BB#9: # %for.end # in Loop: Header=BB6_1 Depth=1 end_loop # label9: @@ -227,7 +227,7 @@ main: # @main i32.add $0=, $0, $pop64 i32.const $push63=, 8 i32.lt_s $push35=, $0, $pop63 - br_if $pop35, 0 # 0: up to label6 + br_if 0, $pop35 # 0: up to label6 # BB#10: # %for.end33 end_loop # label7: i32.const $push36=, 0 diff --git a/test/torture-s/cmpsi-1.c.s b/test/torture-s/cmpsi-1.c.s index 7927f7ee3..4558e9bca 100644 --- a/test/torture-s/cmpsi-1.c.s +++ b/test/torture-s/cmpsi-1.c.s @@ -13,7 +13,7 @@ f1: # @f1 tee_local $push3=, $1=, $pop0 i32.const $push1=, 0 i32.ge_s $push2=, $pop3, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end3 return $1 .LBB0_2: # %if.then2 @@ -37,7 +37,7 @@ f2: # @f2 tee_local $push3=, $1=, $pop0 i32.const $push1=, 0 i32.ge_s $push2=, $pop3, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %if.end3 return $1 .LBB1_2: # %if.then2 diff --git a/test/torture-s/cmpsi-2.c.s b/test/torture-s/cmpsi-2.c.s index c7071af15..959dc5c9e 100644 --- a/test/torture-s/cmpsi-2.c.s +++ b/test/torture-s/cmpsi-2.c.s @@ -212,7 +212,7 @@ main: # @main i32.select $push3=, $pop53, $pop52, $pop50 i32.load $push4=, 0($4) i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 13 # 13: down to label0 + br_if 13, $pop5 # 13: down to label0 # BB#3: # %if.end # in Loop: Header=BB10_2 Depth=2 i32.const $push56=, 140 @@ -222,7 +222,7 @@ main: # @main i32.add $push7=, $4, $pop54 i32.load $push8=, 0($pop7) i32.ne $push9=, $pop6, $pop8 - br_if $pop9, 12 # 12: down to label1 + br_if 12, $pop9 # 12: down to label1 # BB#4: # %if.end10 # in Loop: Header=BB10_2 Depth=2 i32.const $push60=, 13 @@ -234,7 +234,7 @@ main: # @main i32.add $push12=, $4, $pop57 i32.load $push13=, 0($pop12) i32.ne $push14=, $pop11, $pop13 - br_if $pop14, 11 # 11: down to label2 + br_if 11, $pop14 # 11: down to label2 # BB#5: # %if.end15 # in Loop: Header=BB10_2 Depth=2 i32.const $push63=, 140 @@ -244,7 +244,7 @@ main: # @main i32.add $push16=, $4, $pop61 i32.load $push17=, 0($pop16) i32.ne $push18=, $pop15, $pop17 - br_if $pop18, 10 # 10: down to label3 + br_if 10, $pop18 # 10: down to label3 # BB#6: # %if.end20 # in Loop: Header=BB10_2 Depth=2 i32.const $push67=, 13 @@ -256,7 +256,7 @@ main: # @main i32.add $push21=, $4, $pop64 i32.load $push22=, 0($pop21) i32.ne $push23=, $pop20, $pop22 - br_if $pop23, 9 # 9: down to label4 + br_if 9, $pop23 # 9: down to label4 # BB#7: # %if.end25 # in Loop: Header=BB10_2 Depth=2 i32.const $push70=, 140 @@ -266,7 +266,7 @@ main: # @main i32.add $push25=, $4, $pop68 i32.load $push26=, 0($pop25) i32.ne $push27=, $pop24, $pop26 - br_if $pop27, 8 # 8: down to label5 + br_if 8, $pop27 # 8: down to label5 # BB#8: # %if.end30 # in Loop: Header=BB10_2 Depth=2 i32.const $push74=, 13 @@ -278,7 +278,7 @@ main: # @main i32.add $push30=, $4, $pop71 i32.load $push31=, 0($pop30) i32.ne $push32=, $pop29, $pop31 - br_if $pop32, 7 # 7: down to label6 + br_if 7, $pop32 # 7: down to label6 # BB#9: # %if.end35 # in Loop: Header=BB10_2 Depth=2 i32.const $push77=, 140 @@ -288,7 +288,7 @@ main: # @main i32.add $push34=, $4, $pop75 i32.load $push35=, 0($pop34) i32.ne $push36=, $pop33, $pop35 - br_if $pop36, 6 # 6: down to label7 + br_if 6, $pop36 # 6: down to label7 # BB#10: # %if.end40 # in Loop: Header=BB10_2 Depth=2 i32.const $push81=, 13 @@ -300,7 +300,7 @@ main: # @main i32.add $push39=, $4, $pop78 i32.load $push40=, 0($pop39) i32.ne $push41=, $pop38, $pop40 - br_if $pop41, 5 # 5: down to label8 + br_if 5, $pop41 # 5: down to label8 # BB#11: # %if.end45 # in Loop: Header=BB10_2 Depth=2 i32.const $push84=, 140 @@ -310,7 +310,7 @@ main: # @main i32.add $push43=, $4, $pop82 i32.load $push44=, 0($pop43) i32.ne $push45=, $pop42, $pop44 - br_if $pop45, 4 # 4: down to label9 + br_if 4, $pop45 # 4: down to label9 # BB#12: # %if.end50 # in Loop: Header=BB10_2 Depth=2 i32.const $push88=, 40 @@ -321,7 +321,7 @@ main: # @main i32.add $2=, $2, $pop86 i32.const $push85=, 8 i32.lt_s $push46=, $3, $pop85 - br_if $pop46, 0 # 0: up to label12 + br_if 0, $pop46 # 0: up to label12 # BB#13: # %for.end # in Loop: Header=BB10_1 Depth=1 end_loop # label13: @@ -329,7 +329,7 @@ main: # @main i32.add $0=, $0, $pop90 i32.const $push89=, 8 i32.lt_s $push47=, $0, $pop89 - br_if $pop47, 0 # 0: up to label10 + br_if 0, $pop47 # 0: up to label10 # BB#14: # %for.end53 end_loop # label11: i32.const $push48=, 0 diff --git a/test/torture-s/compare-1.c.s b/test/torture-s/compare-1.c.s index a7893e63c..9f4e8af06 100644 --- a/test/torture-s/compare-1.c.s +++ b/test/torture-s/compare-1.c.s @@ -15,11 +15,11 @@ ieq: # @ieq tee_local $push1=, $1=, $pop0 i32.const $push2=, 0 i32.eq $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#1: # %if.else i32.const $push4=, 0 i32.eq $push5=, $2, $pop4 - br_if $pop5, 1 # 1: down to label1 + br_if 1, $pop5 # 1: down to label1 # BB#2: # %if.then4 call abort@FUNCTION unreachable @@ -27,21 +27,21 @@ ieq: # @ieq end_block # label2: i32.const $push6=, 0 i32.eq $push7=, $2, $pop6 - br_if $pop7, 1 # 1: down to label0 + br_if 1, $pop7 # 1: down to label0 .LBB0_4: # %if.end6 end_block # label1: block block block - br_if $1, 0 # 0: down to label5 + br_if 0, $1 # 0: down to label5 # BB#5: # %if.then10 - br_if $2, 1 # 1: down to label4 + br_if 1, $2 # 1: down to label4 # BB#6: # %if.then12 call abort@FUNCTION unreachable .LBB0_7: # %if.else14 end_block # label5: - br_if $2, 1 # 1: down to label3 + br_if 1, $2 # 1: down to label3 .LBB0_8: # %if.end18 end_block # label4: block @@ -49,11 +49,11 @@ ieq: # @ieq block i32.const $push8=, 0 i32.eq $push9=, $1, $pop8 - br_if $pop9, 0 # 0: down to label8 + br_if 0, $pop9 # 0: down to label8 # BB#9: # %if.else26 i32.const $push10=, 0 i32.eq $push11=, $2, $pop10 - br_if $pop11, 1 # 1: down to label7 + br_if 1, $pop11 # 1: down to label7 # BB#10: # %if.then28 call abort@FUNCTION unreachable @@ -61,21 +61,21 @@ ieq: # @ieq end_block # label8: i32.const $push12=, 0 i32.eq $push13=, $2, $pop12 - br_if $pop13, 1 # 1: down to label6 + br_if 1, $pop13 # 1: down to label6 .LBB0_12: # %if.end30 end_block # label7: block block block - br_if $1, 0 # 0: down to label11 + br_if 0, $1 # 0: down to label11 # BB#13: # %if.then34 - br_if $2, 1 # 1: down to label10 + br_if 1, $2 # 1: down to label10 # BB#14: # %if.then36 call abort@FUNCTION unreachable .LBB0_15: # %if.else38 end_block # label11: - br_if $2, 1 # 1: down to label9 + br_if 1, $2 # 1: down to label9 .LBB0_16: # %if.end42 end_block # label10: return $2 @@ -111,11 +111,11 @@ ine: # @ine block block i32.ne $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label14 + br_if 0, $pop0 # 0: down to label14 # BB#1: # %if.else i32.const $push1=, 0 i32.eq $push2=, $2, $pop1 - br_if $pop2, 1 # 1: down to label13 + br_if 1, $pop2 # 1: down to label13 # BB#2: # %if.then4 call abort@FUNCTION unreachable @@ -123,7 +123,7 @@ ine: # @ine end_block # label14: i32.const $push3=, 0 i32.eq $push4=, $2, $pop3 - br_if $pop4, 1 # 1: down to label12 + br_if 1, $pop4 # 1: down to label12 .LBB1_4: # %if.end6 end_block # label13: return $2 @@ -147,15 +147,15 @@ ilt: # @ilt block block i32.ge_s $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label17 + br_if 0, $pop0 # 0: down to label17 # BB#1: # %if.then - br_if $2, 1 # 1: down to label16 + br_if 1, $2 # 1: down to label16 # BB#2: # %if.then2 call abort@FUNCTION unreachable .LBB2_3: # %if.else end_block # label17: - br_if $2, 1 # 1: down to label15 + br_if 1, $2 # 1: down to label15 .LBB2_4: # %if.end6 end_block # label16: return $2 @@ -179,11 +179,11 @@ ile: # @ile block block i32.le_s $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label20 + br_if 0, $pop0 # 0: down to label20 # BB#1: # %if.else i32.const $push1=, 0 i32.eq $push2=, $2, $pop1 - br_if $pop2, 1 # 1: down to label19 + br_if 1, $pop2 # 1: down to label19 # BB#2: # %if.then4 call abort@FUNCTION unreachable @@ -191,7 +191,7 @@ ile: # @ile end_block # label20: i32.const $push3=, 0 i32.eq $push4=, $2, $pop3 - br_if $pop4, 1 # 1: down to label18 + br_if 1, $pop4 # 1: down to label18 .LBB3_4: # %if.end6 end_block # label19: return $2 @@ -215,15 +215,15 @@ igt: # @igt block block i32.le_s $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label23 + br_if 0, $pop0 # 0: down to label23 # BB#1: # %if.then - br_if $2, 1 # 1: down to label22 + br_if 1, $2 # 1: down to label22 # BB#2: # %if.then2 call abort@FUNCTION unreachable .LBB4_3: # %if.else end_block # label23: - br_if $2, 1 # 1: down to label21 + br_if 1, $2 # 1: down to label21 .LBB4_4: # %if.end6 end_block # label22: return $2 @@ -247,11 +247,11 @@ ige: # @ige block block i32.ge_s $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label26 + br_if 0, $pop0 # 0: down to label26 # BB#1: # %if.else i32.const $push1=, 0 i32.eq $push2=, $2, $pop1 - br_if $pop2, 1 # 1: down to label25 + br_if 1, $pop2 # 1: down to label25 # BB#2: # %if.then4 call abort@FUNCTION unreachable @@ -259,7 +259,7 @@ ige: # @ige end_block # label26: i32.const $push3=, 0 i32.eq $push4=, $2, $pop3 - br_if $pop4, 1 # 1: down to label24 + br_if 1, $pop4 # 1: down to label24 .LBB5_4: # %if.end6 end_block # label25: return $2 diff --git a/test/torture-s/complex-2.c.s b/test/torture-s/complex-2.c.s index 5dc23b760..aff3c509e 100644 --- a/test/torture-s/complex-2.c.s +++ b/test/torture-s/complex-2.c.s @@ -33,13 +33,13 @@ main: # @main f64.load $push1=, ag($pop6) f64.const $push5=, 0x1p0 f64.ne $push2=, $pop1, $pop5 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry i32.const $push8=, 0 f64.load $push0=, ag+8($pop8) f64.const $push7=, 0x1p0 f64.ne $push3=, $pop0, $pop7 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.end26 i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/complex-5.c.s b/test/torture-s/complex-5.c.s index cc49c215a..77a6d20dc 100644 --- a/test/torture-s/complex-5.c.s +++ b/test/torture-s/complex-5.c.s @@ -73,14 +73,14 @@ main: # @main f32.store $discard=, y+4($pop18), $pop14 block f32.ne $push15=, $1, $3 - br_if $pop15, 0 # 0: down to label0 + br_if 0, $pop15 # 0: down to label0 # BB#1: # %entry i32.const $push30=, 0 f32.load $push0=, z+4($pop30) i32.const $push29=, 0 f32.load $push1=, w+4($pop29) f32.ne $push16=, $pop0, $pop1 - br_if $pop16, 0 # 0: down to label0 + br_if 0, $pop16 # 0: down to label0 # BB#2: # %if.end i32.const $push17=, 0 call exit@FUNCTION, $pop17 diff --git a/test/torture-s/complex-7.c.s b/test/torture-s/complex-7.c.s index 5e884c063..9ab48d5d5 100644 --- a/test/torture-s/complex-7.c.s +++ b/test/torture-s/complex-7.c.s @@ -16,10 +16,10 @@ check_float: # @check_float f32.load $7=, f1+4($pop15) block f32.ne $push1=, $8, $9 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry f32.ne $push2=, $6, $7 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#2: # %lor.lhs.false f32.load $8=, 0($2) f32.load $6=, 4($2) @@ -28,10 +28,10 @@ check_float: # @check_float i32.const $push16=, 0 f32.load $7=, f2+4($pop16) f32.ne $push4=, $8, $9 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#3: # %lor.lhs.false f32.ne $push5=, $6, $7 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#4: # %lor.lhs.false4 f32.load $8=, 0($3) f32.load $9=, 4($3) @@ -40,10 +40,10 @@ check_float: # @check_float i32.const $push17=, 0 f32.load $7=, f3+4($pop17) f32.ne $push7=, $8, $6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#5: # %lor.lhs.false4 f32.ne $push8=, $9, $7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#6: # %lor.lhs.false8 f32.load $8=, 0($4) f32.load $6=, 4($4) @@ -52,10 +52,10 @@ check_float: # @check_float i32.const $push18=, 0 f32.load $7=, f4+4($pop18) f32.ne $push10=, $8, $9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#7: # %lor.lhs.false8 f32.ne $push11=, $6, $7 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#8: # %lor.lhs.false12 f32.load $8=, 0($5) f32.load $9=, 4($5) @@ -64,10 +64,10 @@ check_float: # @check_float i32.const $push19=, 0 f32.load $7=, f5+4($pop19) f32.ne $push13=, $8, $6 - br_if $pop13, 0 # 0: down to label0 + br_if 0, $pop13 # 0: down to label0 # BB#9: # %lor.lhs.false12 f32.ne $push14=, $9, $7 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#10: # %if.end return .LBB0_11: # %if.then @@ -94,10 +94,10 @@ check_double: # @check_double f64.load $7=, d1+8($pop15) block f64.ne $push1=, $8, $9 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry f64.ne $push2=, $6, $7 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#2: # %lor.lhs.false f64.load $8=, 0($2) f64.load $6=, 8($2) @@ -106,10 +106,10 @@ check_double: # @check_double i32.const $push16=, 0 f64.load $7=, d2+8($pop16) f64.ne $push4=, $8, $9 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#3: # %lor.lhs.false f64.ne $push5=, $6, $7 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#4: # %lor.lhs.false4 f64.load $8=, 0($3) f64.load $9=, 8($3) @@ -118,10 +118,10 @@ check_double: # @check_double i32.const $push17=, 0 f64.load $7=, d3+8($pop17) f64.ne $push7=, $8, $6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#5: # %lor.lhs.false4 f64.ne $push8=, $9, $7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#6: # %lor.lhs.false8 f64.load $8=, 0($4) f64.load $6=, 8($4) @@ -130,10 +130,10 @@ check_double: # @check_double i32.const $push18=, 0 f64.load $7=, d4+8($pop18) f64.ne $push10=, $8, $9 - br_if $pop10, 0 # 0: down to label1 + br_if 0, $pop10 # 0: down to label1 # BB#7: # %lor.lhs.false8 f64.ne $push11=, $6, $7 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#8: # %lor.lhs.false12 f64.load $8=, 0($5) f64.load $9=, 8($5) @@ -142,10 +142,10 @@ check_double: # @check_double i32.const $push19=, 0 f64.load $7=, d5+8($pop19) f64.ne $push13=, $8, $6 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#9: # %lor.lhs.false12 f64.ne $push14=, $9, $7 - br_if $pop14, 0 # 0: down to label1 + br_if 0, $pop14 # 0: down to label1 # BB#10: # %if.end return .LBB1_11: # %if.then @@ -182,10 +182,10 @@ check_long_double: # @check_long_double i64.load $8=, ld1+16($pop35):p2align=4 block i32.call $push5=, __netf2@FUNCTION, $11, $10, $13, $12 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#1: # %entry i32.call $push6=, __netf2@FUNCTION, $6, $7, $8, $9 - br_if $pop6, 0 # 0: down to label2 + br_if 0, $pop6 # 0: down to label2 # BB#2: # %lor.lhs.false i32.const $push7=, 8 i32.add $push8=, $2, $pop7 @@ -204,10 +204,10 @@ check_long_double: # @check_long_double i32.const $push38=, 0 i64.load $8=, ld2+16($pop38):p2align=4 i32.call $push12=, __netf2@FUNCTION, $11, $10, $13, $12 - br_if $pop12, 0 # 0: down to label2 + br_if 0, $pop12 # 0: down to label2 # BB#3: # %lor.lhs.false i32.call $push13=, __netf2@FUNCTION, $6, $7, $8, $9 - br_if $pop13, 0 # 0: down to label2 + br_if 0, $pop13 # 0: down to label2 # BB#4: # %lor.lhs.false4 i32.const $push14=, 8 i32.add $push15=, $3, $pop14 @@ -226,10 +226,10 @@ check_long_double: # @check_long_double i32.const $push41=, 0 i64.load $8=, ld3+16($pop41):p2align=4 i32.call $push19=, __netf2@FUNCTION, $12, $10, $6, $7 - br_if $pop19, 0 # 0: down to label2 + br_if 0, $pop19 # 0: down to label2 # BB#5: # %lor.lhs.false4 i32.call $push20=, __netf2@FUNCTION, $13, $11, $8, $9 - br_if $pop20, 0 # 0: down to label2 + br_if 0, $pop20 # 0: down to label2 # BB#6: # %lor.lhs.false8 i32.const $push21=, 8 i32.add $push22=, $4, $pop21 @@ -248,10 +248,10 @@ check_long_double: # @check_long_double i32.const $push44=, 0 i64.load $8=, ld4+16($pop44):p2align=4 i32.call $push26=, __netf2@FUNCTION, $11, $10, $13, $12 - br_if $pop26, 0 # 0: down to label2 + br_if 0, $pop26 # 0: down to label2 # BB#7: # %lor.lhs.false8 i32.call $push27=, __netf2@FUNCTION, $6, $7, $8, $9 - br_if $pop27, 0 # 0: down to label2 + br_if 0, $pop27 # 0: down to label2 # BB#8: # %lor.lhs.false12 i32.const $push28=, 8 i32.add $push29=, $5, $pop28 @@ -270,10 +270,10 @@ check_long_double: # @check_long_double i32.const $push47=, 0 i64.load $8=, ld5+16($pop47):p2align=4 i32.call $push33=, __netf2@FUNCTION, $12, $10, $6, $7 - br_if $pop33, 0 # 0: down to label2 + br_if 0, $pop33 # 0: down to label2 # BB#9: # %lor.lhs.false12 i32.call $push34=, __eqtf2@FUNCTION, $13, $11, $8, $9 - br_if $pop34, 0 # 0: down to label2 + br_if 0, $pop34 # 0: down to label2 # BB#10: # %if.end return .LBB2_11: # %if.then diff --git a/test/torture-s/compndlit-1.c.s b/test/torture-s/compndlit-1.c.s index 925fa7582..34b0408dc 100644 --- a/test/torture-s/compndlit-1.c.s +++ b/test/torture-s/compndlit-1.c.s @@ -23,7 +23,7 @@ main: # @main block i32.const $push12=, 0 i32.eq $push13=, $0, $pop12 - br_if $pop13, 0 # 0: down to label0 + br_if 0, $pop13 # 0: down to label0 # BB#1: # %if.end i32.const $push11=, 0 call exit@FUNCTION, $pop11 diff --git a/test/torture-s/const-addr-expr-1.c.s b/test/torture-s/const-addr-expr-1.c.s index dc6bb563a..8d20bea6d 100644 --- a/test/torture-s/const-addr-expr-1.c.s +++ b/test/torture-s/const-addr-expr-1.c.s @@ -14,7 +14,7 @@ main: # @main i32.load $push1=, 0($pop0) i32.const $push2=, 2 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end block i32.const $push10=, 0 @@ -22,7 +22,7 @@ main: # @main i32.load $push5=, 0($pop4) i32.const $push6=, 1 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %if.end3 i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/conversion.c.s b/test/torture-s/conversion.c.s index 747df65fa..b7be1906b 100644 --- a/test/torture-s/conversion.c.s +++ b/test/torture-s/conversion.c.s @@ -135,7 +135,7 @@ fnear: # @fnear tee_local $push5=, $1=, $pop0 f32.const $push1=, 0x0p0 f32.eq $push2=, $pop5, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.rhs f32.div $push3=, $0, $1 f32.const $push4=, 0x1.e848p19 @@ -162,7 +162,7 @@ dnear: # @dnear tee_local $push5=, $1=, $pop0 f64.const $push1=, 0x0p0 f64.eq $push2=, $pop5, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %lor.rhs f64.div $push3=, $0, $1 f64.const $push4=, 0x1.6bcc41e9p46 @@ -207,7 +207,7 @@ ldnear: # @ldnear i32.call $push4=, __eqtf2@FUNCTION, $pop15, $pop13, $pop3, $pop12 i32.const $push17=, 0 i32.eq $push18=, $pop4, $pop17 - br_if $pop18, 0 # 0: down to label2 + br_if 0, $pop18 # 0: down to label2 # BB#1: # %lor.rhs call __divtf3@FUNCTION, $10, $0, $1, $3, $2 i64.load $push7=, 0($10) diff --git a/test/torture-s/dbra-1.c.s b/test/torture-s/dbra-1.c.s index aab867504..7eaf108ca 100644 --- a/test/torture-s/dbra-1.c.s +++ b/test/torture-s/dbra-1.c.s @@ -13,47 +13,47 @@ f1: # @f1 block i32.const $push21=, 0 i32.eq $push22=, $0, $pop21 - br_if $pop22, 0 # 0: down to label0 + br_if 0, $pop22 # 0: down to label0 # BB#1: # %for.inc i32.const $1=, 1 i32.const $push12=, 1 i32.eq $push0=, $0, $pop12 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#2: # %for.inc.1 i32.const $1=, 2 i32.const $push13=, 2 i32.eq $push1=, $0, $pop13 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#3: # %for.inc.2 i32.const $1=, 3 i32.const $push14=, 3 i32.eq $push2=, $0, $pop14 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#4: # %for.inc.3 i32.const $1=, 4 i32.const $push15=, 4 i32.eq $push3=, $0, $pop15 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#5: # %for.inc.4 i32.const $1=, 5 i32.const $push16=, 5 i32.eq $push4=, $0, $pop16 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#6: # %for.inc.5 i32.const $1=, 6 i32.const $push17=, 6 i32.eq $push5=, $0, $pop17 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#7: # %for.inc.6 i32.const $1=, 7 i32.const $push18=, 7 i32.eq $push6=, $0, $pop18 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#8: # %for.inc.7 i32.const $1=, 8 i32.const $push19=, 8 i32.eq $push7=, $0, $pop19 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#9: # %for.inc.8 i32.const $push8=, 9 i32.const $push10=, -1 @@ -96,47 +96,47 @@ f3: # @f3 block i32.const $push0=, 1 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %for.inc i32.const $1=, 1 i32.const $push2=, 2 i32.eq $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %for.inc.1 i32.const $1=, 2 i32.const $push4=, 3 i32.eq $push5=, $0, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#3: # %for.inc.2 i32.const $1=, 3 i32.const $push6=, 4 i32.eq $push7=, $0, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#4: # %for.inc.3 i32.const $1=, 4 i32.const $push8=, 5 i32.eq $push9=, $0, $pop8 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#5: # %for.inc.4 i32.const $1=, 5 i32.const $push10=, 6 i32.eq $push11=, $0, $pop10 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#6: # %for.inc.5 i32.const $1=, 6 i32.const $push12=, 7 i32.eq $push13=, $0, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#7: # %for.inc.6 i32.const $1=, 7 i32.const $push14=, 8 i32.eq $push15=, $0, $pop14 - br_if $pop15, 0 # 0: down to label1 + br_if 0, $pop15 # 0: down to label1 # BB#8: # %for.inc.7 i32.const $1=, 8 i32.const $push21=, 9 i32.eq $push16=, $0, $pop21 - br_if $pop16, 0 # 0: down to label1 + br_if 0, $pop16 # 0: down to label1 # BB#9: # %for.inc.8 i32.const $push22=, 9 i32.const $push19=, -1 @@ -179,47 +179,47 @@ f5: # @f5 block i32.const $push0=, -1 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label2 + br_if 0, $pop1 # 0: down to label2 # BB#1: # %for.inc i32.const $1=, 1 i32.const $push2=, -2 i32.eq $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#2: # %for.inc.1 i32.const $1=, 2 i32.const $push4=, -3 i32.eq $push5=, $0, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#3: # %for.inc.2 i32.const $1=, 3 i32.const $push6=, -4 i32.eq $push7=, $0, $pop6 - br_if $pop7, 0 # 0: down to label2 + br_if 0, $pop7 # 0: down to label2 # BB#4: # %for.inc.3 i32.const $1=, 4 i32.const $push8=, -5 i32.eq $push9=, $0, $pop8 - br_if $pop9, 0 # 0: down to label2 + br_if 0, $pop9 # 0: down to label2 # BB#5: # %for.inc.4 i32.const $1=, 5 i32.const $push10=, -6 i32.eq $push11=, $0, $pop10 - br_if $pop11, 0 # 0: down to label2 + br_if 0, $pop11 # 0: down to label2 # BB#6: # %for.inc.5 i32.const $1=, 6 i32.const $push12=, -7 i32.eq $push13=, $0, $pop12 - br_if $pop13, 0 # 0: down to label2 + br_if 0, $pop13 # 0: down to label2 # BB#7: # %for.inc.6 i32.const $1=, 7 i32.const $push14=, -8 i32.eq $push15=, $0, $pop14 - br_if $pop15, 0 # 0: down to label2 + br_if 0, $pop15 # 0: down to label2 # BB#8: # %for.inc.7 i32.const $1=, 8 i32.const $push16=, -9 i32.eq $push17=, $0, $pop16 - br_if $pop17, 0 # 0: down to label2 + br_if 0, $pop17 # 0: down to label2 # BB#9: # %for.inc.8 i32.const $push21=, 9 i32.const $push20=, -1 diff --git a/test/torture-s/divcmp-3.c.s b/test/torture-s/divcmp-3.c.s index d345761fc..14086e478 100644 --- a/test/torture-s/divcmp-3.c.s +++ b/test/torture-s/divcmp-3.c.s @@ -194,7 +194,7 @@ main: # @main i32.add $push1=, $pop0, $pop9 i32.const $push8=, 99 i32.le_u $push2=, $pop1, $pop8 - br_if $pop2, 2 # 2: down to label0 + br_if 2, $pop2 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB12_1 Depth=1 i32.const $push7=, 1 @@ -203,7 +203,7 @@ main: # @main i32.add $0=, $0, $pop6 i32.const $push5=, 255 i32.le_s $push3=, $1, $pop5 - br_if $pop3, 0 # 0: up to label1 + br_if 0, $pop3 # 0: up to label1 # BB#3: # %for.end end_loop # label2: i32.const $push4=, 0 diff --git a/test/torture-s/divconst-2.c.s b/test/torture-s/divconst-2.c.s index 278cb0be5..e8c6c599b 100644 --- a/test/torture-s/divconst-2.c.s +++ b/test/torture-s/divconst-2.c.s @@ -87,7 +87,7 @@ main: # @main i32.sub $push8=, $0, $pop7 i32.add $push10=, $pop9, $pop8 i32.ne $push11=, $pop10, $0 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %for.cond i32.const $push56=, 0 i32.load $push12=, nums+4($pop56) @@ -110,7 +110,7 @@ main: # @main i32.sub $push20=, $0, $pop19 i32.add $push22=, $pop21, $pop20 i32.ne $push23=, $pop22, $0 - br_if $pop23, 0 # 0: down to label0 + br_if 0, $pop23 # 0: down to label0 # BB#2: # %for.cond.1 i32.const $push62=, 0 i32.load $push24=, nums+8($pop62) @@ -133,7 +133,7 @@ main: # @main i32.sub $push35=, $0, $pop34 i32.add $push37=, $pop36, $pop35 i32.ne $push38=, $pop37, $0 - br_if $pop38, 0 # 0: down to label0 + br_if 0, $pop38 # 0: down to label0 # BB#3: # %for.cond.2 i32.const $push63=, 0 call exit@FUNCTION, $pop63 diff --git a/test/torture-s/doloop-1.c.s b/test/torture-s/doloop-1.c.s index 28365db20..243ff6e37 100644 --- a/test/torture-s/doloop-1.c.s +++ b/test/torture-s/doloop-1.c.s @@ -22,7 +22,7 @@ main: # @main i32.add $0=, $0, $pop7 i32.const $push6=, 255 i32.and $push2=, $0, $pop6 - br_if $pop2, 0 # 0: up to label0 + br_if 0, $pop2 # 0: up to label0 # BB#2: # %do.end end_loop # label1: block @@ -30,7 +30,7 @@ main: # @main i32.load $push3=, i($pop11) i32.const $push4=, 256 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#3: # %if.end i32.const $push12=, 0 call exit@FUNCTION, $pop12 diff --git a/test/torture-s/doloop-2.c.s b/test/torture-s/doloop-2.c.s index 7fed4750a..5312a1e18 100644 --- a/test/torture-s/doloop-2.c.s +++ b/test/torture-s/doloop-2.c.s @@ -22,7 +22,7 @@ main: # @main i32.add $0=, $0, $pop7 i32.const $push6=, 65535 i32.and $push2=, $0, $pop6 - br_if $pop2, 0 # 0: up to label0 + br_if 0, $pop2 # 0: up to label0 # BB#2: # %do.end end_loop # label1: block @@ -30,7 +30,7 @@ main: # @main i32.load $push3=, i($pop11) i32.const $push4=, 65536 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#3: # %if.end i32.const $push12=, 0 call exit@FUNCTION, $pop12 diff --git a/test/torture-s/eeprof-1.c.s b/test/torture-s/eeprof-1.c.s index 789425b0d..4a234a21d 100644 --- a/test/torture-s/eeprof-1.c.s +++ b/test/torture-s/eeprof-1.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.load $push1=, last_fn_entered($pop0) i32.const $push2=, foo@FUNCTION i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -33,27 +33,27 @@ nfoo: # @nfoo i32.load $push1=, entry_calls($pop19) i32.const $push18=, 2 i32.ne $push2=, $pop1, $pop18 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %entry i32.const $push21=, 0 i32.load $push0=, exit_calls($pop21) i32.const $push20=, 2 i32.ne $push3=, $pop0, $pop20 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %if.end block i32.const $push22=, 0 i32.load $push4=, last_fn_entered($pop22) i32.const $push5=, foo@FUNCTION i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label2 + br_if 0, $pop6 # 0: down to label2 # BB#3: # %if.end4 block i32.const $push23=, 0 i32.load $push7=, last_fn_exited($pop23) i32.const $push8=, foo2@FUNCTION i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label3 + br_if 0, $pop9 # 0: down to label3 # BB#4: # %if.end7 call foo@FUNCTION block @@ -61,27 +61,27 @@ nfoo: # @nfoo i32.load $push11=, entry_calls($pop25) i32.const $push24=, 3 i32.ne $push12=, $pop11, $pop24 - br_if $pop12, 0 # 0: down to label4 + br_if 0, $pop12 # 0: down to label4 # BB#5: # %if.end7 i32.const $push27=, 0 i32.load $push10=, exit_calls($pop27) i32.const $push26=, 3 i32.ne $push13=, $pop10, $pop26 - br_if $pop13, 0 # 0: down to label4 + br_if 0, $pop13 # 0: down to label4 # BB#6: # %if.end12 block i32.const $push29=, 0 i32.load $push14=, last_fn_entered($pop29) i32.const $push28=, foo@FUNCTION i32.ne $push15=, $pop14, $pop28 - br_if $pop15, 0 # 0: down to label5 + br_if 0, $pop15 # 0: down to label5 # BB#7: # %if.end15 block i32.const $push31=, 0 i32.load $push16=, last_fn_exited($pop31) i32.const $push30=, foo@FUNCTION i32.ne $push17=, $pop16, $pop30 - br_if $pop17, 0 # 0: down to label6 + br_if 0, $pop17 # 0: down to label6 # BB#8: # %if.end18 return .LBB1_9: # %if.then17 @@ -125,7 +125,7 @@ main: # @main i32.const $push20=, 0 i32.load $push0=, entry_calls($pop20) i32.or $push2=, $pop1, $pop0 - br_if $pop2, 0 # 0: down to label7 + br_if 0, $pop2 # 0: down to label7 # BB#1: # %if.end call foo2@FUNCTION block @@ -133,27 +133,27 @@ main: # @main i32.load $push4=, entry_calls($pop23) i32.const $push22=, 2 i32.ne $push5=, $pop4, $pop22 - br_if $pop5, 0 # 0: down to label8 + br_if 0, $pop5 # 0: down to label8 # BB#2: # %if.end i32.const $push25=, 0 i32.load $push3=, exit_calls($pop25) i32.const $push24=, 2 i32.ne $push6=, $pop3, $pop24 - br_if $pop6, 0 # 0: down to label8 + br_if 0, $pop6 # 0: down to label8 # BB#3: # %if.end6 block i32.const $push26=, 0 i32.load $push7=, last_fn_entered($pop26) i32.const $push8=, foo@FUNCTION i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label9 + br_if 0, $pop9 # 0: down to label9 # BB#4: # %if.end9 block i32.const $push27=, 0 i32.load $push10=, last_fn_exited($pop27) i32.const $push11=, foo2@FUNCTION i32.ne $push12=, $pop10, $pop11 - br_if $pop12, 0 # 0: down to label10 + br_if 0, $pop12 # 0: down to label10 # BB#5: # %if.end12 call nfoo@FUNCTION block @@ -161,20 +161,20 @@ main: # @main i32.load $push14=, entry_calls($pop29) i32.const $push28=, 3 i32.ne $push15=, $pop14, $pop28 - br_if $pop15, 0 # 0: down to label11 + br_if 0, $pop15 # 0: down to label11 # BB#6: # %if.end12 i32.const $push31=, 0 i32.load $push13=, exit_calls($pop31) i32.const $push30=, 3 i32.ne $push16=, $pop13, $pop30 - br_if $pop16, 0 # 0: down to label11 + br_if 0, $pop16 # 0: down to label11 # BB#7: # %if.end17 block i32.const $push32=, 0 i32.load $push17=, last_fn_entered($pop32) i32.const $push18=, foo@FUNCTION i32.ne $push19=, $pop17, $pop18 - br_if $pop19, 0 # 0: down to label12 + br_if 0, $pop19 # 0: down to label12 # BB#8: # %if.end20 i32.const $push33=, 0 return $pop33 @@ -255,18 +255,18 @@ foo2: # @foo2 i32.load $push1=, entry_calls($pop17) i32.const $push2=, 1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label13 + br_if 0, $pop3 # 0: down to label13 # BB#1: # %entry i32.const $push18=, 0 i32.load $push0=, exit_calls($pop18) - br_if $pop0, 0 # 0: down to label13 + br_if 0, $pop0 # 0: down to label13 # BB#2: # %if.end block i32.const $push19=, 0 i32.load $push4=, last_fn_entered($pop19) i32.const $push5=, foo2@FUNCTION i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label14 + br_if 0, $pop6 # 0: down to label14 # BB#3: # %if.end4 call foo@FUNCTION block @@ -274,27 +274,27 @@ foo2: # @foo2 i32.load $push8=, entry_calls($pop20) i32.const $push9=, 2 i32.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label15 + br_if 0, $pop10 # 0: down to label15 # BB#4: # %if.end4 i32.const $push21=, 0 i32.load $push7=, exit_calls($pop21) i32.const $push11=, 1 i32.ne $push12=, $pop7, $pop11 - br_if $pop12, 0 # 0: down to label15 + br_if 0, $pop12 # 0: down to label15 # BB#5: # %if.end9 block i32.const $push23=, 0 i32.load $push13=, last_fn_entered($pop23) i32.const $push22=, foo@FUNCTION i32.ne $push14=, $pop13, $pop22 - br_if $pop14, 0 # 0: down to label16 + br_if 0, $pop14 # 0: down to label16 # BB#6: # %if.end12 block i32.const $push25=, 0 i32.load $push15=, last_fn_exited($pop25) i32.const $push24=, foo@FUNCTION i32.ne $push16=, $pop15, $pop24 - br_if $pop16, 0 # 0: down to label17 + br_if 0, $pop16 # 0: down to label17 # BB#7: # %if.end15 return .LBB5_8: # %if.then14 diff --git a/test/torture-s/ffs-1.c.s b/test/torture-s/ffs-1.c.s index 7fa88b055..6c3ad3deb 100644 --- a/test/torture-s/ffs-1.c.s +++ b/test/torture-s/ffs-1.c.s @@ -10,7 +10,7 @@ main: # @main block i32.const $push1=, 0 i32.load $push0=, a($pop1) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 call exit@FUNCTION, $pop2 diff --git a/test/torture-s/ffs-2.c.s b/test/torture-s/ffs-2.c.s index 23de968cb..8d42e622e 100644 --- a/test/torture-s/ffs-2.c.s +++ b/test/torture-s/ffs-2.c.s @@ -23,7 +23,7 @@ main: # @main i64.shr_u $push5=, $1, $pop65 i32.wrap/i64 $push6=, $pop5 i32.ne $push7=, $pop4, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %for.cond i32.const $push76=, 0 i64.load $push8=, ffstesttab+8($pop76) @@ -39,7 +39,7 @@ main: # @main i64.shr_u $push13=, $1, $pop71 i32.wrap/i64 $push14=, $pop13 i32.ne $push15=, $pop12, $pop14 - br_if $pop15, 0 # 0: down to label0 + br_if 0, $pop15 # 0: down to label0 # BB#2: # %for.cond.1 i32.const $push82=, 0 i64.load $push16=, ffstesttab+16($pop82):p2align=4 @@ -55,7 +55,7 @@ main: # @main i64.shr_u $push21=, $1, $pop77 i32.wrap/i64 $push22=, $pop21 i32.ne $push23=, $pop20, $pop22 - br_if $pop23, 0 # 0: down to label0 + br_if 0, $pop23 # 0: down to label0 # BB#3: # %for.cond.2 i32.const $push88=, 0 i64.load $push24=, ffstesttab+24($pop88) @@ -71,7 +71,7 @@ main: # @main i64.shr_u $push29=, $1, $pop83 i32.wrap/i64 $push30=, $pop29 i32.ne $push31=, $pop28, $pop30 - br_if $pop31, 0 # 0: down to label0 + br_if 0, $pop31 # 0: down to label0 # BB#4: # %for.cond.3 i32.const $push94=, 0 i64.load $push32=, ffstesttab+32($pop94):p2align=4 @@ -87,7 +87,7 @@ main: # @main i64.shr_u $push37=, $1, $pop89 i32.wrap/i64 $push38=, $pop37 i32.ne $push39=, $pop36, $pop38 - br_if $pop39, 0 # 0: down to label0 + br_if 0, $pop39 # 0: down to label0 # BB#5: # %for.cond.4 i32.const $push100=, 0 i64.load $push40=, ffstesttab+40($pop100) @@ -103,7 +103,7 @@ main: # @main i64.shr_u $push45=, $1, $pop95 i32.wrap/i64 $push46=, $pop45 i32.ne $push47=, $pop44, $pop46 - br_if $pop47, 0 # 0: down to label0 + br_if 0, $pop47 # 0: down to label0 # BB#6: # %for.cond.5 i32.const $push106=, 0 i64.load $push48=, ffstesttab+48($pop106):p2align=4 @@ -119,7 +119,7 @@ main: # @main i64.shr_u $push53=, $1, $pop101 i32.wrap/i64 $push54=, $pop53 i32.ne $push55=, $pop52, $pop54 - br_if $pop55, 0 # 0: down to label0 + br_if 0, $pop55 # 0: down to label0 # BB#7: # %for.cond.6 i32.const $push112=, 0 i64.load $push56=, ffstesttab+56($pop112) @@ -135,7 +135,7 @@ main: # @main i64.shr_u $push61=, $1, $pop107 i32.wrap/i64 $push62=, $pop61 i32.ne $push63=, $pop60, $pop62 - br_if $pop63, 0 # 0: down to label0 + br_if 0, $pop63 # 0: down to label0 # BB#8: # %for.cond.7 i32.const $push64=, 0 call exit@FUNCTION, $pop64 diff --git a/test/torture-s/float-floor.c.s b/test/torture-s/float-floor.c.s index 2567c7100..2330774e2 100644 --- a/test/torture-s/float-floor.c.s +++ b/test/torture-s/float-floor.c.s @@ -16,13 +16,13 @@ main: # @main i32.trunc_s/f64 $push3=, $pop10 i32.const $push9=, 1023 i32.ne $push4=, $pop3, $pop9 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %lor.lhs.false f32.demote/f64 $push5=, $0 i32.trunc_s/f32 $push6=, $pop5 i32.const $push11=, 1023 i32.ne $push7=, $pop6, $pop11 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#2: # %if.end i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/floatunsisf-1.c.s b/test/torture-s/floatunsisf-1.c.s index c6ccf1b44..f83ed6925 100644 --- a/test/torture-s/floatunsisf-1.c.s +++ b/test/torture-s/floatunsisf-1.c.s @@ -21,7 +21,7 @@ main: # @main i32.const $push6=, 0 f32.load $push4=, f2($pop6) f32.eq $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/fprintf-1.c.s b/test/torture-s/fprintf-1.c.s index 5f2188ce6..c1245c896 100644 --- a/test/torture-s/fprintf-1.c.s +++ b/test/torture-s/fprintf-1.c.s @@ -27,7 +27,7 @@ main: # @main block i32.const $push45=, 5 i32.ne $push4=, $1, $pop45 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, .L.str.1 i32.const $push7=, 6 @@ -42,7 +42,7 @@ main: # @main block i32.const $push50=, 6 i32.ne $push9=, $1, $pop50 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#2: # %if.end6 i32.const $push11=, 97 i32.const $push56=, 0 @@ -55,14 +55,14 @@ main: # @main block i32.const $push14=, 1 i32.ne $push15=, $1, $pop14 - br_if $pop15, 0 # 0: down to label2 + br_if 0, $pop15 # 0: down to label2 # BB#3: # %if.end11 i32.const $push57=, 0 i32.load $push16=, stdout($pop57) i32.const $push17=, .L.str.3 i32.call $1=, fprintf@FUNCTION, $pop16, $pop17 block - br_if $1, 0 # 0: down to label3 + br_if 0, $1 # 0: down to label3 # BB#4: # %if.end16 i32.const $push19=, .L.str i32.const $push20=, 5 @@ -91,7 +91,7 @@ main: # @main block i32.const $push58=, 5 i32.ne $push21=, $1, $pop58 - br_if $pop21, 0 # 0: down to label4 + br_if 0, $pop21 # 0: down to label4 # BB#5: # %if.end21 i32.const $push23=, .L.str.1 i32.const $push24=, 6 @@ -120,7 +120,7 @@ main: # @main block i32.const $push64=, 6 i32.ne $push25=, $1, $pop64 - br_if $pop25, 0 # 0: down to label5 + br_if 0, $pop25 # 0: down to label5 # BB#6: # %if.end26 i32.const $push27=, 97 i32.const $push72=, 0 @@ -147,7 +147,7 @@ main: # @main block i32.const $push29=, 1 i32.ne $push30=, $1, $pop29 - br_if $pop30, 0 # 0: down to label6 + br_if 0, $pop30 # 0: down to label6 # BB#7: # %if.end31 i32.const $push74=, 0 i32.load $1=, stdout($pop74) @@ -168,7 +168,7 @@ main: # @main i32.const $18=, __stack_pointer i32.store $42=, 0($18), $42 block - br_if $1, 0 # 0: down to label7 + br_if 0, $1 # 0: down to label7 # BB#8: # %if.end36 i32.const $push33=, 120 i32.const $push77=, 0 @@ -195,7 +195,7 @@ main: # @main block i32.const $push35=, 1 i32.ne $push36=, $1, $pop35 - br_if $pop36, 0 # 0: down to label8 + br_if 0, $pop36 # 0: down to label8 # BB#9: # %if.end41 i32.const $push80=, 0 i32.load $1=, stdout($pop80) @@ -235,7 +235,7 @@ main: # @main block i32.const $push39=, 7 i32.ne $push40=, $1, $pop39 - br_if $pop40, 0 # 0: down to label9 + br_if 0, $pop40 # 0: down to label9 # BB#10: # %if.end46 i32.const $push41=, 0 i32.load $0=, stdout($pop41) @@ -274,7 +274,7 @@ main: # @main block i32.const $push43=, 2 i32.ne $push44=, $1, $pop43 - br_if $pop44, 0 # 0: down to label10 + br_if 0, $pop44 # 0: down to label10 # BB#11: # %if.end51 i32.const $41=, 16 i32.add $42=, $42, $41 diff --git a/test/torture-s/fprintf-chk-1.c.s b/test/torture-s/fprintf-chk-1.c.s index cc4c66f3b..9dd5c1a3d 100644 --- a/test/torture-s/fprintf-chk-1.c.s +++ b/test/torture-s/fprintf-chk-1.c.s @@ -19,7 +19,7 @@ __fprintf_chk: # @__fprintf_chk block i32.const $push4=, 0 i32.load $push0=, should_optimize($pop4) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 i32.const $push1=, 1 @@ -65,7 +65,7 @@ main: # @main i32.load $push2=, should_optimize($pop79) i32.const $push161=, 0 i32.eq $push162=, $pop2, $pop161 - br_if $pop162, 0 # 0: down to label1 + br_if 0, $pop162 # 0: down to label1 # BB#1: # %if.end i32.const $push85=, 0 i32.const $push84=, 0 @@ -76,14 +76,14 @@ main: # @main block i32.const $push5=, 5 i32.ne $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label2 + br_if 0, $pop6 # 0: down to label2 # BB#2: # %if.end3 block i32.const $push86=, 0 i32.load $push7=, should_optimize($pop86) i32.const $push163=, 0 i32.eq $push164=, $pop7, $pop163 - br_if $pop164, 0 # 0: down to label3 + br_if 0, $pop164 # 0: down to label3 # BB#3: # %if.end6 i32.const $push90=, 0 i32.const $push8=, 1 @@ -97,7 +97,7 @@ main: # @main i32.load $push10=, should_optimize($pop87) i32.const $push165=, 0 i32.eq $push166=, $pop10, $pop165 - br_if $pop166, 0 # 0: down to label4 + br_if 0, $pop166 # 0: down to label4 # BB#4: # %if.end10 i32.const $push11=, 0 i32.const $push93=, 0 @@ -109,13 +109,13 @@ main: # @main block i32.const $push14=, 6 i32.ne $push15=, $0, $pop14 - br_if $pop15, 0 # 0: down to label5 + br_if 0, $pop15 # 0: down to label5 # BB#5: # %if.end14 block i32.load $push16=, should_optimize($1) i32.const $push167=, 0 i32.eq $push168=, $pop16, $pop167 - br_if $pop168, 0 # 0: down to label6 + br_if 0, $pop168 # 0: down to label6 # BB#6: # %if.end17 i32.const $push97=, 0 i32.const $push17=, 1 @@ -129,7 +129,7 @@ main: # @main i32.load $push19=, should_optimize($pop94) i32.const $push169=, 0 i32.eq $push170=, $pop19, $pop169 - br_if $pop170, 0 # 0: down to label7 + br_if 0, $pop170 # 0: down to label7 # BB#7: # %if.end21 i32.const $push100=, 0 i32.const $push99=, 0 @@ -139,14 +139,14 @@ main: # @main i32.call $1=, __fprintf_chk@FUNCTION, $pop21, $0, $pop98 block i32.ne $push22=, $1, $0 - br_if $pop22, 0 # 0: down to label8 + br_if 0, $pop22 # 0: down to label8 # BB#8: # %if.end25 block i32.const $push101=, 0 i32.load $push23=, should_optimize($pop101) i32.const $push171=, 0 i32.eq $push172=, $pop23, $pop171 - br_if $pop172, 0 # 0: down to label9 + br_if 0, $pop172 # 0: down to label9 # BB#9: # %if.end28 i32.const $push105=, 0 i32.const $push24=, 1 @@ -160,7 +160,7 @@ main: # @main i32.load $push26=, should_optimize($pop102) i32.const $push173=, 0 i32.eq $push174=, $pop26, $pop173 - br_if $pop174, 0 # 0: down to label10 + br_if 0, $pop174 # 0: down to label10 # BB#10: # %if.end32 i32.const $push27=, 0 i32.const $push108=, 0 @@ -170,13 +170,13 @@ main: # @main i32.const $push106=, .L.str.3 i32.call $0=, __fprintf_chk@FUNCTION, $pop29, $0, $pop106 block - br_if $0, 0 # 0: down to label11 + br_if 0, $0 # 0: down to label11 # BB#11: # %if.end36 block i32.load $push30=, should_optimize($1) i32.const $push175=, 0 i32.eq $push176=, $pop30, $pop175 - br_if $pop176, 0 # 0: down to label12 + br_if 0, $pop176 # 0: down to label12 # BB#12: # %if.end39 i32.const $push112=, 0 i32.const $push31=, 1 @@ -204,7 +204,7 @@ main: # @main i32.load $push33=, should_optimize($pop109) i32.const $push177=, 0 i32.eq $push178=, $pop33, $pop177 - br_if $pop178, 0 # 0: down to label13 + br_if 0, $pop178 # 0: down to label13 # BB#13: # %if.end43 i32.const $push115=, 0 i32.const $push114=, 0 @@ -228,14 +228,14 @@ main: # @main block i32.const $push35=, 5 i32.ne $push36=, $0, $pop35 - br_if $pop36, 0 # 0: down to label14 + br_if 0, $pop36 # 0: down to label14 # BB#14: # %if.end47 block i32.const $push116=, 0 i32.load $push37=, should_optimize($pop116) i32.const $push179=, 0 i32.eq $push180=, $pop37, $pop179 - br_if $pop180, 0 # 0: down to label15 + br_if 0, $pop180 # 0: down to label15 # BB#15: # %if.end50 i32.const $push120=, 0 i32.const $push38=, 1 @@ -263,7 +263,7 @@ main: # @main i32.load $push40=, should_optimize($pop117) i32.const $push181=, 0 i32.eq $push182=, $pop40, $pop181 - br_if $pop182, 0 # 0: down to label16 + br_if 0, $pop182 # 0: down to label16 # BB#16: # %if.end54 i32.const $push41=, 0 i32.const $push123=, 0 @@ -288,13 +288,13 @@ main: # @main block i32.const $push43=, 6 i32.ne $push44=, $0, $pop43 - br_if $pop44, 0 # 0: down to label17 + br_if 0, $pop44 # 0: down to label17 # BB#17: # %if.end58 block i32.load $push45=, should_optimize($2) i32.const $push183=, 0 i32.eq $push184=, $pop45, $pop183 - br_if $pop184, 0 # 0: down to label18 + br_if 0, $pop184 # 0: down to label18 # BB#18: # %if.end61 i32.const $push127=, 0 i32.const $push46=, 1 @@ -322,7 +322,7 @@ main: # @main i32.load $push48=, should_optimize($pop124) i32.const $push185=, 0 i32.eq $push186=, $pop48, $pop185 - br_if $pop186, 0 # 0: down to label19 + br_if 0, $pop186 # 0: down to label19 # BB#19: # %if.end65 i32.const $push130=, 0 i32.const $push129=, 0 @@ -345,14 +345,14 @@ main: # @main i32.store $62=, 0($26), $62 block i32.ne $push50=, $0, $1 - br_if $pop50, 0 # 0: down to label20 + br_if 0, $pop50 # 0: down to label20 # BB#20: # %if.end69 block i32.const $push131=, 0 i32.load $push51=, should_optimize($pop131) i32.const $push187=, 0 i32.eq $push188=, $pop51, $pop187 - br_if $pop188, 0 # 0: down to label21 + br_if 0, $pop188 # 0: down to label21 # BB#21: # %if.end72 i32.const $push135=, 0 i32.const $push52=, 1 @@ -380,7 +380,7 @@ main: # @main i32.load $push54=, should_optimize($pop132) i32.const $push189=, 0 i32.eq $push190=, $pop54, $pop189 - br_if $pop190, 0 # 0: down to label22 + br_if 0, $pop190 # 0: down to label22 # BB#22: # %if.end76 i32.const $push55=, 0 i32.const $push138=, 0 @@ -403,13 +403,13 @@ main: # @main i32.const $34=, __stack_pointer i32.store $62=, 0($34), $62 block - br_if $0, 0 # 0: down to label23 + br_if 0, $0 # 0: down to label23 # BB#23: # %if.end80 block i32.load $push57=, should_optimize($2) i32.const $push191=, 0 i32.eq $push192=, $pop57, $pop191 - br_if $pop192, 0 # 0: down to label24 + br_if 0, $pop192 # 0: down to label24 # BB#24: # %if.end83 i32.const $push142=, 0 i32.const $push58=, 1 @@ -437,7 +437,7 @@ main: # @main i32.load $push60=, should_optimize($pop139) i32.const $push193=, 0 i32.eq $push194=, $pop60, $pop193 - br_if $pop194, 0 # 0: down to label25 + br_if 0, $pop194 # 0: down to label25 # BB#25: # %if.end87 i32.const $push145=, 0 i32.const $push144=, 0 @@ -460,14 +460,14 @@ main: # @main i32.store $62=, 0($42), $62 block i32.ne $push62=, $0, $1 - br_if $pop62, 0 # 0: down to label26 + br_if 0, $pop62 # 0: down to label26 # BB#26: # %if.end91 block i32.const $push146=, 0 i32.load $push63=, should_optimize($pop146) i32.const $push195=, 0 i32.eq $push196=, $pop63, $pop195 - br_if $pop196, 0 # 0: down to label27 + br_if 0, $pop196 # 0: down to label27 # BB#27: # %if.end94 i32.const $push150=, 0 i32.const $push149=, 0 @@ -494,7 +494,7 @@ main: # @main i32.load $push66=, should_optimize($0) i32.const $push197=, 0 i32.eq $push198=, $pop66, $pop197 - br_if $pop198, 0 # 0: down to label28 + br_if 0, $pop198 # 0: down to label28 # BB#28: # %if.end98 i32.const $push67=, 0 i32.const $push153=, 0 @@ -519,13 +519,13 @@ main: # @main block i32.const $push69=, 7 i32.ne $push70=, $0, $pop69 - br_if $pop70, 0 # 0: down to label29 + br_if 0, $pop70 # 0: down to label29 # BB#29: # %if.end102 block i32.load $push71=, should_optimize($1) i32.const $push199=, 0 i32.eq $push200=, $pop71, $pop199 - br_if $pop200, 0 # 0: down to label30 + br_if 0, $pop200 # 0: down to label30 # BB#30: # %if.end105 i32.const $push72=, 0 i32.const $push156=, 0 @@ -551,7 +551,7 @@ main: # @main i32.load $push74=, should_optimize($0) i32.const $push201=, 0 i32.eq $push202=, $pop74, $pop201 - br_if $pop202, 0 # 0: down to label31 + br_if 0, $pop202 # 0: down to label31 # BB#31: # %if.end109 i32.store $push75=, should_optimize($0), $0 tee_local $push158=, $0=, $pop75 @@ -574,14 +574,14 @@ main: # @main block i32.const $push76=, 2 i32.ne $push77=, $0, $pop76 - br_if $pop77, 0 # 0: down to label32 + br_if 0, $pop77 # 0: down to label32 # BB#32: # %if.end113 block i32.const $push159=, 0 i32.load $push78=, should_optimize($pop159) i32.const $push203=, 0 i32.eq $push204=, $pop78, $pop203 - br_if $pop204, 0 # 0: down to label33 + br_if 0, $pop204 # 0: down to label33 # BB#33: # %if.end116 i32.const $push160=, 0 i32.const $61=, 16 diff --git a/test/torture-s/gofast.c.s b/test/torture-s/gofast.c.s index 42ba54a52..c974cd280 100644 --- a/test/torture-s/gofast.c.s +++ b/test/torture-s/gofast.c.s @@ -477,7 +477,7 @@ main: # @main block i32.const $push1=, 0 i32.load $push0=, fail_count($pop1) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end202 i32.const $push2=, 0 call exit@FUNCTION, $pop2 diff --git a/test/torture-s/ifcvt-onecmpl-abs-1.c.s b/test/torture-s/ifcvt-onecmpl-abs-1.c.s index 7f9665211..840de5bd7 100644 --- a/test/torture-s/ifcvt-onecmpl-abs-1.c.s +++ b/test/torture-s/ifcvt-onecmpl-abs-1.c.s @@ -26,7 +26,7 @@ main: # @main block i32.const $push0=, -1 i32.call $push1=, foo@FUNCTION, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 return $pop2 diff --git a/test/torture-s/index-1.c.s b/test/torture-s/index-1.c.s index c9e077567..512565c50 100644 --- a/test/torture-s/index-1.c.s +++ b/test/torture-s/index-1.c.s @@ -30,7 +30,7 @@ main: # @main i32.load $push0=, a+120($pop3):p2align=3 i32.const $push1=, 30 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/inst-check.c.s b/test/torture-s/inst-check.c.s index bd2bd8d63..9f561f018 100644 --- a/test/torture-s/inst-check.c.s +++ b/test/torture-s/inst-check.c.s @@ -13,7 +13,7 @@ f: # @f block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push2=, -1 i32.add $push3=, $0, $pop2 diff --git a/test/torture-s/int-compare.c.s b/test/torture-s/int-compare.c.s index 2e8d7b7e7..9cf8cfd21 100644 --- a/test/torture-s/int-compare.c.s +++ b/test/torture-s/int-compare.c.s @@ -66,7 +66,7 @@ true: # @true block i32.const $push0=, 0 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB4_2: # %if.then @@ -85,7 +85,7 @@ false: # @false .param i32 # BB#0: # %entry block - br_if $0, 0 # 0: down to label1 + br_if 0, $0 # 0: down to label1 # BB#1: # %if.end return .LBB5_2: # %if.then diff --git a/test/torture-s/longlong.c.s b/test/torture-s/longlong.c.s index d67deddf5..c8fed7583 100644 --- a/test/torture-s/longlong.c.s +++ b/test/torture-s/longlong.c.s @@ -16,7 +16,7 @@ alpha_ep_extbl_i_eq_0: # @alpha_ep_extbl_i_eq_0 tee_local $push27=, $0=, $pop1 i32.const $push26=, 31 i32.eq $push4=, $pop27, $pop26 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.then i32.const $push32=, 0 i32.load $push2=, r($pop32) @@ -85,7 +85,7 @@ main: # @main block i64.const $push12=, 77 i64.ne $push13=, $1, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#1: # %if.end i32.const $push19=, 0 call exit@FUNCTION, $pop19 diff --git a/test/torture-s/loop-10.c.s b/test/torture-s/loop-10.c.s index 6fa9ac2e1..c4413b865 100644 --- a/test/torture-s/loop-10.c.s +++ b/test/torture-s/loop-10.c.s @@ -16,7 +16,7 @@ main: # @main i32.add $push2=, $pop3, $pop1 i32.store $discard=, count($pop5), $pop2 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end4 i32.const $push6=, 0 return $pop6 diff --git a/test/torture-s/loop-12.c.s b/test/torture-s/loop-12.c.s index 84f966a03..e3494dd65 100644 --- a/test/torture-s/loop-12.c.s +++ b/test/torture-s/loop-12.c.s @@ -21,7 +21,7 @@ foo: # @foo tee_local $push11=, $1=, $pop3 i32.const $push10=, 49 i32.gt_u $push4=, $pop11, $pop10 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#2: # %is_end_of_statement.exit # in Loop: Header=BB0_1 Depth=1 i64.const $push15=, 562949961809921 @@ -32,7 +32,7 @@ foo: # @foo i32.wrap/i64 $push8=, $pop7 i32.const $push18=, 0 i32.eq $push19=, $pop8, $pop18 - br_if $pop19, 0 # 0: down to label2 + br_if 0, $pop19 # 0: down to label2 # BB#3: # %while.end return .LBB0_4: # %while.body @@ -73,7 +73,7 @@ main: # @main tee_local $push11=, $1=, $pop3 i32.const $push10=, 49 i32.gt_u $push4=, $pop11, $pop10 - br_if $pop4, 0 # 0: down to label5 + br_if 0, $pop4 # 0: down to label5 # BB#2: # %is_end_of_statement.exit.i # in Loop: Header=BB1_1 Depth=1 i64.const $push17=, 562949961809921 @@ -84,7 +84,7 @@ main: # @main i32.wrap/i64 $push8=, $pop7 i32.const $push19=, 0 i32.eq $push20=, $pop8, $pop19 - br_if $pop20, 0 # 0: down to label5 + br_if 0, $pop20 # 0: down to label5 # BB#3: # %foo.exit i32.const $push9=, 0 return $pop9 diff --git a/test/torture-s/loop-13.c.s b/test/torture-s/loop-13.c.s index 9ee93577d..2d474688b 100644 --- a/test/torture-s/loop-13.c.s +++ b/test/torture-s/loop-13.c.s @@ -13,11 +13,11 @@ scale: # @scale tee_local $push14=, $3=, $pop0 i32.const $push13=, 1 i32.eq $push1=, $pop14, $pop13 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push15=, 1 i32.lt_s $push2=, $2, $pop15 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#2: # %for.body.preheader i32.load $4=, 4($1) i32.load $push3=, 0($1) @@ -27,7 +27,7 @@ scale: # @scale i32.store $discard=, 4($1), $pop5 i32.const $push6=, 1 i32.eq $push7=, $2, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#3: # %for.body.for.body_crit_edge.preheader i32.const $push8=, 12 i32.add $1=, $1, $pop8 @@ -50,7 +50,7 @@ scale: # @scale i32.add $2=, $2, $pop18 i32.const $push17=, 8 i32.add $1=, $1, $pop17 - br_if $2, 0 # 0: up to label1 + br_if 0, $2 # 0: up to label1 .LBB0_5: # %if.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/loop-2.c.s b/test/torture-s/loop-2.c.s index 80811a256..c6e28b7ba 100644 --- a/test/torture-s/loop-2.c.s +++ b/test/torture-s/loop-2.c.s @@ -14,7 +14,7 @@ f: # @f block i32.const $push5=, 0 i32.eq $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -26,7 +26,7 @@ f: # @f i32.const $push3=, 4 i32.add $1=, $1, $pop3 i32.ne $push4=, $0, $2 - br_if $pop4, 0 # 0: up to label1 + br_if 0, $pop4 # 0: up to label1 .LBB0_2: # %for.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/loop-2b.c.s b/test/torture-s/loop-2b.c.s index ac79b37ae..35c992473 100644 --- a/test/torture-s/loop-2b.c.s +++ b/test/torture-s/loop-2b.c.s @@ -12,7 +12,7 @@ f: # @f block i32.const $push1=, 2147483647 i32.eq $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push3=, 2 i32.shl $push4=, $0, $pop3 @@ -29,14 +29,14 @@ f: # @f tee_local $push9=, $0=, $pop0 i32.const $push8=, 2147483645 i32.eq $push7=, $pop9, $pop8 - br_if $pop7, 1 # 1: down to label2 + br_if 1, $pop7 # 1: down to label2 # BB#3: # %for.body # in Loop: Header=BB0_2 Depth=1 i32.const $push12=, 4 i32.add $2=, $2, $pop12 i32.const $push11=, -1 i32.add $1=, $0, $pop11 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 .LBB0_4: # %for.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/loop-2c.c.s b/test/torture-s/loop-2c.c.s index b2b64a812..b94468a87 100644 --- a/test/torture-s/loop-2c.c.s +++ b/test/torture-s/loop-2c.c.s @@ -12,7 +12,7 @@ f: # @f block i32.const $push11=, 0 i32.eq $push12=, $0, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push3=, 2 i32.shl $push4=, $0, $pop3 @@ -33,7 +33,7 @@ f: # @f i32.add $1=, $pop6, $pop9 i32.const $push8=, -4 i32.add $2=, $2, $pop8 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: @@ -54,7 +54,7 @@ g: # @g block i32.const $push10=, 0 i32.eq $push11=, $0, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#1: # %for.body.preheader.i i32.const $push0=, 3 i32.mul $push1=, $0, $pop0 @@ -74,7 +74,7 @@ g: # @g i32.add $2=, $pop6, $pop8 i32.const $push7=, -4 i32.add $1=, $1, $pop7 - br_if $0, 0 # 0: up to label4 + br_if 0, $0 # 0: up to label4 .LBB1_3: # %f.exit end_loop # label5: end_block # label3: diff --git a/test/torture-s/loop-2d.c.s b/test/torture-s/loop-2d.c.s index 208a900ce..2b842eca7 100644 --- a/test/torture-s/loop-2d.c.s +++ b/test/torture-s/loop-2d.c.s @@ -12,7 +12,7 @@ f: # @f block i32.const $push10=, 0 i32.eq $push11=, $0, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push0=, 3 i32.mul $push1=, $0, $pop0 @@ -32,7 +32,7 @@ f: # @f i32.add $2=, $pop6, $pop8 i32.const $push7=, -4 i32.add $1=, $1, $pop7 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/loop-2f.c.s b/test/torture-s/loop-2f.c.s index cb2a5cd45..91a4b30c3 100644 --- a/test/torture-s/loop-2f.c.s +++ b/test/torture-s/loop-2f.c.s @@ -11,7 +11,7 @@ f: # @f block i32.const $push0=, 39 i32.gt_u $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.preheader i32.add $push2=, $1, $0 i32.const $push5=, 254 @@ -46,7 +46,7 @@ main: # @main tee_local $push13=, $0=, $pop0 i32.const $push7=, -1 i32.eq $push8=, $pop13, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#1: # %if.end i32.const $push9=, 32766 i32.add $push10=, $0, $pop9 diff --git a/test/torture-s/loop-2g.c.s b/test/torture-s/loop-2g.c.s index cc02cdabb..6a60857d4 100644 --- a/test/torture-s/loop-2g.c.s +++ b/test/torture-s/loop-2g.c.s @@ -11,7 +11,7 @@ f: # @f block i32.const $push0=, 39 i32.gt_u $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.preheader i32.add $push2=, $1, $0 i32.const $push5=, 254 @@ -46,7 +46,7 @@ main: # @main tee_local $push13=, $0=, $pop0 i32.const $push7=, -1 i32.eq $push8=, $pop13, $pop7 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 # BB#1: # %if.end i32.const $push9=, 32766 i32.add $push10=, $0, $pop9 diff --git a/test/torture-s/loop-3.c.s b/test/torture-s/loop-3.c.s index 0a0cc54f0..87f026bba 100644 --- a/test/torture-s/loop-3.c.s +++ b/test/torture-s/loop-3.c.s @@ -63,7 +63,7 @@ main: # @main i32.add $push2=, $pop3, $pop1 i32.store $discard=, n($pop5), $pop2 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/loop-3b.c.s b/test/torture-s/loop-3b.c.s index 6066962ec..100888368 100644 --- a/test/torture-s/loop-3b.c.s +++ b/test/torture-s/loop-3b.c.s @@ -67,7 +67,7 @@ main: # @main i32.add $push2=, $pop3, $pop1 i32.store $discard=, n($pop5), $pop2 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/loop-3c.c.s b/test/torture-s/loop-3c.c.s index 8440bd12f..d1dc94f01 100644 --- a/test/torture-s/loop-3c.c.s +++ b/test/torture-s/loop-3c.c.s @@ -28,7 +28,7 @@ f: # @f i32.add $1=, $pop4, $pop7 i32.const $push6=, 1073741840 i32.lt_s $push5=, $0, $pop6 - br_if $pop5, 0 # 0: up to label0 + br_if 0, $pop5 # 0: up to label0 # BB#2: # %do.end end_loop # label1: return $0 diff --git a/test/torture-s/loop-5.c.s b/test/torture-s/loop-5.c.s index ba4941acd..59505c4c1 100644 --- a/test/torture-s/loop-5.c.s +++ b/test/torture-s/loop-5.c.s @@ -14,7 +14,7 @@ main: # @main tee_local $push36=, $2=, $pop0 i32.const $push5=, 4 i32.ge_s $push6=, $pop36, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %ap.exit.i i32.const $push41=, 2 i32.shl $push8=, $2, $pop41 @@ -26,7 +26,7 @@ main: # @main i32.store $1=, t($pop39), $pop1 i32.const $push38=, 2 i32.gt_s $push9=, $2, $pop38 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#2: # %ap.exit.1.i i32.const $push45=, 2 i32.shl $push11=, $1, $pop45 @@ -38,7 +38,7 @@ main: # @main i32.store $push10=, t($pop44), $pop2 tee_local $push42=, $3=, $pop10 i32.gt_s $push13=, $pop42, $1 - br_if $pop13, 0 # 0: down to label0 + br_if 0, $pop13 # 0: down to label0 # BB#3: # %ap.exit.2.i i32.const $push14=, 2 i32.shl $push15=, $3, $pop14 @@ -49,7 +49,7 @@ main: # @main i32.store $1=, t($pop47), $pop3 i32.const $push46=, 0 i32.gt_s $push16=, $2, $pop46 - br_if $pop16, 0 # 0: down to label0 + br_if 0, $pop16 # 0: down to label0 # BB#4: # %testit.exit i32.shl $push20=, $1, $3 i32.const $push21=, 1 @@ -62,14 +62,14 @@ main: # @main i32.store $discard=, t($pop49), $pop18 block i32.wrap/i64 $push22=, $0 - br_if $pop22, 0 # 0: down to label1 + br_if 0, $pop22 # 0: down to label1 # BB#5: # %if.end block i64.const $push23=, -4294967296 i64.and $push24=, $0, $pop23 i64.const $push25=, 12884901888 i64.ne $push26=, $pop24, $pop25 - br_if $pop26, 0 # 0: down to label2 + br_if 0, $pop26 # 0: down to label2 # BB#6: # %if.end3 block i32.const $push27=, 0 @@ -78,14 +78,14 @@ main: # @main i32.wrap/i64 $push28=, $pop50 i32.const $push29=, 2 i32.ne $push30=, $pop28, $pop29 - br_if $pop30, 0 # 0: down to label3 + br_if 0, $pop30 # 0: down to label3 # BB#7: # %if.end6 block i64.const $push31=, -4294967296 i64.and $push32=, $0, $pop31 i64.const $push33=, 4294967296 i64.ne $push34=, $pop32, $pop33 - br_if $pop34, 0 # 0: down to label4 + br_if 0, $pop34 # 0: down to label4 # BB#8: # %if.end9 i32.const $push35=, 0 call exit@FUNCTION, $pop35 diff --git a/test/torture-s/loop-7.c.s b/test/torture-s/loop-7.c.s index d5a70d8cd..f88e3e137 100644 --- a/test/torture-s/loop-7.c.s +++ b/test/torture-s/loop-7.c.s @@ -21,18 +21,18 @@ foo: # @foo i32.add $2=, $2, $pop7 i32.const $push6=, 9 i32.gt_s $push2=, $2, $pop6 - br_if $pop2, 1 # 1: down to label1 + br_if 1, $pop2 # 1: down to label1 # BB#2: # %for.body # in Loop: Header=BB0_1 Depth=1 i32.const $push9=, 0 i32.lt_s $push3=, $1, $pop9 - br_if $pop3, 0 # 0: up to label0 + br_if 0, $pop3 # 0: up to label0 .LBB0_3: # %for.end end_loop # label1: block i32.const $push4=, -1 i32.le_s $push5=, $1, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#4: # %if.end5 return .LBB0_5: # %if.then4 diff --git a/test/torture-s/loop-8.c.s b/test/torture-s/loop-8.c.s index dcd6fd56a..3a29251a1 100644 --- a/test/torture-s/loop-8.c.s +++ b/test/torture-s/loop-8.c.s @@ -8,12 +8,12 @@ bar: # @bar .param i32, i32 # BB#0: # %entry block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %lor.lhs.false f64.load $push0=, 0($1) f64.const $push1=, 0x1p0 f64.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then @@ -44,7 +44,7 @@ main: # @main tee_local $push14=, $0=, $pop12 f64.const $push13=, 0x0p0 f64.gt $push0=, $pop14, $pop13 - br_if $pop0, 0 # 0: down to label1 + br_if 0, $pop0 # 0: down to label1 # BB#1: # %for.cond i32.const $push17=, 0 f64.load $0=, a+8($pop17) @@ -54,13 +54,13 @@ main: # @main i32.or $push3=, $pop1, $pop2 i32.const $push19=, 0 i32.eq $push20=, $pop3, $pop19 - br_if $pop20, 0 # 0: down to label1 + br_if 0, $pop20 # 0: down to label1 # BB#2: # %for.cond.1 i32.const $push4=, 0 f64.load $0=, a+16($pop4):p2align=4 f64.const $push5=, 0x0p0 f64.gt $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#3: # %for.cond.2 f64.store $discard=, 8($4), $0 i32.const $push7=, 1 @@ -76,7 +76,7 @@ main: # @main f64.store $push8=, 8($4), $0 f64.const $push9=, 0x1p0 f64.eq $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label2 + br_if 0, $pop10 # 0: down to label2 # BB#5: # %if.then.i call abort@FUNCTION unreachable diff --git a/test/torture-s/mayalias-3.c.s b/test/torture-s/mayalias-3.c.s index b09952cdd..c49cb4c01 100644 --- a/test/torture-s/mayalias-3.c.s +++ b/test/torture-s/mayalias-3.c.s @@ -72,7 +72,7 @@ main: # @main i32.store $discard=, p($pop3), $5 block i32.eq $push2=, $1, $0 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 i32.const $4=, 16 diff --git a/test/torture-s/medce-1.c.s b/test/torture-s/medce-1.c.s index 9a8029f12..7f16f740b 100644 --- a/test/torture-s/medce-1.c.s +++ b/test/torture-s/medce-1.c.s @@ -24,7 +24,7 @@ foo: # @foo block i32.const $push2=, 1 i32.ne $push0=, $0, $pop2 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %sw.bb1 i32.const $push1=, 0 i32.const $push3=, 1 diff --git a/test/torture-s/memcpy-1.c.s b/test/torture-s/memcpy-1.c.s index a06471718..8e13ed17a 100644 --- a/test/torture-s/memcpy-1.c.s +++ b/test/torture-s/memcpy-1.c.s @@ -43,7 +43,7 @@ main: # @main i32.add $1=, $pop1, $pop39 i32.const $push38=, 131072 i32.ne $push2=, $1, $pop38 - br_if $pop2, 0 # 0: up to label0 + br_if 0, $pop2 # 0: up to label0 # BB#2: # %for.end end_loop # label1: i32.const $push3=, 1024 @@ -60,14 +60,14 @@ main: # @main i32.const $push42=, 255 i32.and $push6=, $1, $pop42 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 2 # 2: down to label2 + br_if 2, $pop7 # 2: down to label2 # BB#4: # %for.cond3 # in Loop: Header=BB1_3 Depth=1 i32.const $push41=, 1 i32.add $1=, $1, $pop41 i32.const $push40=, 1023 i32.le_u $push8=, $1, $pop40 - br_if $pop8, 0 # 0: up to label3 + br_if 0, $pop8 # 0: up to label3 # BB#5: # %for.end15 end_loop # label4: i32.const $push43=, 1 @@ -80,7 +80,7 @@ main: # @main loop # label6: i32.const $push44=, 1023 i32.gt_u $push10=, $1, $pop44 - br_if $pop10, 2 # 2: down to label5 + br_if 2, $pop10 # 2: down to label5 # BB#7: # %for.cond17.for.body20_crit_edge # in Loop: Header=BB1_6 Depth=1 i32.add $0=, $9, $1 @@ -89,7 +89,7 @@ main: # @main i32.load8_u $push34=, 0($0) i32.const $push45=, 1 i32.eq $push35=, $pop34, $pop45 - br_if $pop35, 0 # 0: up to label6 + br_if 0, $pop35 # 0: up to label6 # BB#8: # %if.then25 end_loop # label7: call abort@FUNCTION @@ -110,14 +110,14 @@ main: # @main i32.const $push49=, 255 i32.and $push14=, $1, $pop49 i32.ne $push15=, $pop13, $pop14 - br_if $pop15, 2 # 2: down to label8 + br_if 2, $pop15 # 2: down to label8 # BB#11: # %for.cond32 # in Loop: Header=BB1_10 Depth=1 i32.const $push48=, 1 i32.add $1=, $1, $pop48 i32.const $push47=, 131071 i32.le_u $push16=, $1, $pop47 - br_if $pop16, 0 # 0: up to label9 + br_if 0, $pop16 # 0: up to label9 # BB#12: # %for.end46 end_loop # label10: i32.const $push18=, 0 @@ -130,7 +130,7 @@ main: # @main loop # label12: i32.const $push50=, 131071 i32.gt_u $push19=, $1, $pop50 - br_if $pop19, 2 # 2: down to label11 + br_if 2, $pop19 # 2: down to label11 # BB#14: # %for.cond48.for.body51_crit_edge # in Loop: Header=BB1_13 Depth=1 i32.add $0=, $9, $1 @@ -139,7 +139,7 @@ main: # @main i32.load8_u $push33=, 0($0) i32.const $push58=, 0 i32.eq $push59=, $pop33, $pop58 - br_if $pop59, 0 # 0: up to label12 + br_if 0, $pop59 # 0: up to label12 # BB#15: # %if.then56 end_loop # label13: call abort@FUNCTION @@ -160,14 +160,14 @@ main: # @main i32.const $push54=, 255 i32.and $push23=, $1, $pop54 i32.ne $push24=, $pop22, $pop23 - br_if $pop24, 2 # 2: down to label14 + br_if 2, $pop24 # 2: down to label14 # BB#18: # %for.cond63 # in Loop: Header=BB1_17 Depth=1 i32.const $push53=, 1 i32.add $1=, $1, $pop53 i32.const $push52=, 1023 i32.le_u $push25=, $1, $pop52 - br_if $pop25, 0 # 0: up to label15 + br_if 0, $pop25 # 0: up to label15 # BB#19: # %for.end77 end_loop # label16: i32.const $push26=, 131072 @@ -184,14 +184,14 @@ main: # @main i32.const $push57=, 255 i32.and $push29=, $1, $pop57 i32.ne $push30=, $pop28, $pop29 - br_if $pop30, 2 # 2: down to label17 + br_if 2, $pop30 # 2: down to label17 # BB#21: # %for.cond82 # in Loop: Header=BB1_20 Depth=1 i32.const $push56=, 1 i32.add $1=, $1, $pop56 i32.const $push55=, 131071 i32.le_u $push31=, $1, $pop55 - br_if $pop31, 0 # 0: up to label18 + br_if 0, $pop31 # 0: up to label18 # BB#22: # %for.end96 end_loop # label19: i32.const $push32=, 0 diff --git a/test/torture-s/memcpy-2.c.s b/test/torture-s/memcpy-2.c.s index 345805a6b..ac97a85ba 100644 --- a/test/torture-s/memcpy-2.c.s +++ b/test/torture-s/memcpy-2.c.s @@ -68,7 +68,7 @@ main: # @main i32.add $6=, $pop6, $pop53 i32.const $push52=, 1 i32.add $8=, $8, $pop52 - br_if $8, 0 # 0: up to label8 + br_if 0, $8 # 0: up to label8 # BB#5: # %for.end # in Loop: Header=BB0_3 Depth=3 end_loop # label9: @@ -78,7 +78,7 @@ main: # @main block i32.const $push58=, 1 i32.lt_s $push7=, $0, $pop58 - br_if $pop7, 0 # 0: down to label10 + br_if 0, $pop7 # 0: down to label10 .LBB0_6: # %for.body23 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 @@ -88,7 +88,7 @@ main: # @main i32.load8_u $push8=, u1($8) i32.const $push59=, 97 i32.ne $push9=, $pop8, $pop59 - br_if $pop9, 1 # 1: down to label12 + br_if 1, $pop9 # 1: down to label12 # BB#7: # %for.inc29 # in Loop: Header=BB0_6 Depth=4 i32.const $push61=, u1+1 @@ -97,7 +97,7 @@ main: # @main i32.add $6=, $8, $pop60 copy_local $8=, $6 i32.lt_s $push10=, $6, $0 - br_if $pop10, 0 # 0: up to label11 + br_if 0, $pop10 # 0: up to label11 br 2 # 2: down to label10 .LBB0_8: # %if.then27 end_loop # label12: @@ -128,7 +128,7 @@ main: # @main i32.const $push62=, 255 i32.and $push14=, $pop63, $pop62 i32.ne $push17=, $pop16, $pop14 - br_if $pop17, 9 # 9: down to label0 + br_if 9, $pop17 # 9: down to label0 # BB#11: # %for.inc48 # in Loop: Header=BB0_10 Depth=4 i32.const $push69=, 1 @@ -136,7 +136,7 @@ main: # @main i32.const $push68=, 1 i32.add $6=, $6, $pop68 i32.lt_s $push18=, $8, $5 - br_if $pop18, 0 # 0: up to label13 + br_if 0, $pop18 # 0: up to label13 # BB#12: # %for.body56.preheader # in Loop: Header=BB0_3 Depth=3 end_loop # label14: @@ -145,7 +145,7 @@ main: # @main i32.load8_u $push19=, 0($pop71) i32.const $push70=, 97 i32.ne $push20=, $pop19, $pop70 - br_if $pop20, 6 # 6: down to label1 + br_if 6, $pop20 # 6: down to label1 # BB#13: # %for.inc62 # in Loop: Header=BB0_3 Depth=3 i32.const $push73=, 1 @@ -153,7 +153,7 @@ main: # @main i32.load8_u $push22=, 0($pop21) i32.const $push72=, 97 i32.ne $push23=, $pop22, $pop72 - br_if $pop23, 6 # 6: down to label1 + br_if 6, $pop23 # 6: down to label1 # BB#14: # %for.inc62.1 # in Loop: Header=BB0_3 Depth=3 i32.const $push79=, 2 @@ -161,7 +161,7 @@ main: # @main i32.load8_u $push25=, 0($pop24) i32.const $push78=, 97 i32.ne $push26=, $pop25, $pop78 - br_if $pop26, 6 # 6: down to label1 + br_if 6, $pop26 # 6: down to label1 # BB#15: # %for.inc62.2 # in Loop: Header=BB0_3 Depth=3 i32.const $push81=, 3 @@ -169,7 +169,7 @@ main: # @main i32.load8_u $push28=, 0($pop27) i32.const $push80=, 97 i32.ne $push29=, $pop28, $pop80 - br_if $pop29, 6 # 6: down to label1 + br_if 6, $pop29 # 6: down to label1 # BB#16: # %for.inc62.3 # in Loop: Header=BB0_3 Depth=3 i32.const $push83=, 4 @@ -177,7 +177,7 @@ main: # @main i32.load8_u $push31=, 0($pop30) i32.const $push82=, 97 i32.ne $push32=, $pop31, $pop82 - br_if $pop32, 6 # 6: down to label1 + br_if 6, $pop32 # 6: down to label1 # BB#17: # %for.inc62.4 # in Loop: Header=BB0_3 Depth=3 i32.const $push85=, 5 @@ -185,7 +185,7 @@ main: # @main i32.load8_u $push34=, 0($pop33) i32.const $push84=, 97 i32.ne $push35=, $pop34, $pop84 - br_if $pop35, 6 # 6: down to label1 + br_if 6, $pop35 # 6: down to label1 # BB#18: # %for.inc62.5 # in Loop: Header=BB0_3 Depth=3 i32.const $push87=, 6 @@ -193,7 +193,7 @@ main: # @main i32.load8_u $push37=, 0($pop36) i32.const $push86=, 97 i32.ne $push38=, $pop37, $pop86 - br_if $pop38, 6 # 6: down to label1 + br_if 6, $pop38 # 6: down to label1 # BB#19: # %for.inc62.6 # in Loop: Header=BB0_3 Depth=3 i32.const $push89=, 7 @@ -201,14 +201,14 @@ main: # @main i32.load8_u $push40=, 0($pop39) i32.const $push88=, 97 i32.ne $push41=, $pop40, $pop88 - br_if $pop41, 6 # 6: down to label1 + br_if 6, $pop41 # 6: down to label1 # BB#20: # %for.inc62.7 # in Loop: Header=BB0_3 Depth=3 i32.const $push91=, 1 i32.add $5=, $5, $pop91 i32.const $push90=, 80 i32.lt_u $push42=, $5, $pop90 - br_if $pop42, 0 # 0: up to label6 + br_if 0, $pop42 # 0: up to label6 # BB#21: # %for.inc69 # in Loop: Header=BB0_2 Depth=2 end_loop # label7: @@ -216,7 +216,7 @@ main: # @main i32.add $2=, $2, $pop75 i32.const $push74=, 8 i32.lt_u $push43=, $2, $pop74 - br_if $pop43, 0 # 0: up to label4 + br_if 0, $pop43 # 0: up to label4 # BB#22: # %for.inc72 # in Loop: Header=BB0_1 Depth=1 end_loop # label5: @@ -224,7 +224,7 @@ main: # @main i32.add $0=, $0, $pop77 i32.const $push76=, 8 i32.lt_u $push44=, $0, $pop76 - br_if $pop44, 0 # 0: up to label2 + br_if 0, $pop44 # 0: up to label2 # BB#23: # %for.end74 end_loop # label3: i32.const $push45=, 0 diff --git a/test/torture-s/memcpy-bi.c.s b/test/torture-s/memcpy-bi.c.s index 9a1e799c3..35a070e8c 100644 --- a/test/torture-s/memcpy-bi.c.s +++ b/test/torture-s/memcpy-bi.c.s @@ -9,7 +9,7 @@ check: # @check # BB#0: # %entry block i32.call $push0=, memcmp@FUNCTION, $0, $1, $2 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -41,7 +41,7 @@ main: # @main i32.add $4=, $4, $pop273 i32.const $push272=, 80 i32.ne $push2=, $4, $pop272 - br_if $pop2, 0 # 0: up to label1 + br_if 0, $pop2 # 0: up to label1 # BB#2: # %check.exit end_loop # label2: i32.const $push277=, 0 @@ -52,7 +52,7 @@ main: # @main i32.const $push4=, 1 i32.const $push676=, 0 i32.eq $push677=, $pop4, $pop676 - br_if $pop677, 0 # 0: down to label3 + br_if 0, $pop677 # 0: down to label3 # BB#3: # %check.exit13 i32.const $push283=, 0 i32.const $push282=, 0 @@ -67,7 +67,7 @@ main: # @main i32.const $push278=, src i32.const $push7=, 3 i32.call $push8=, memcmp@FUNCTION, $pop279, $pop278, $pop7 - br_if $pop8, 0 # 0: down to label4 + br_if 0, $pop8 # 0: down to label4 # BB#4: # %check.exit17 i32.const $push289=, 0 i32.load $4=, src($pop289):p2align=4 @@ -82,7 +82,7 @@ main: # @main i32.const $push284=, src i32.const $push10=, 5 i32.call $push11=, memcmp@FUNCTION, $pop285, $pop284, $pop10 - br_if $pop11, 0 # 0: down to label5 + br_if 0, $pop11 # 0: down to label5 # BB#5: # %check.exit25 i32.const $push295=, 0 i32.const $push294=, 0 @@ -97,7 +97,7 @@ main: # @main i32.const $push290=, src i32.const $push14=, 6 i32.call $push15=, memcmp@FUNCTION, $pop291, $pop290, $pop14 - br_if $pop15, 0 # 0: down to label6 + br_if 0, $pop15 # 0: down to label6 # BB#6: # %check.exit29 i32.const $push303=, 0 i32.load16_u $4=, src+4($pop303):p2align=2 @@ -116,7 +116,7 @@ main: # @main i32.const $push296=, src i32.const $push17=, 7 i32.call $push18=, memcmp@FUNCTION, $pop297, $pop296, $pop17 - br_if $pop18, 0 # 0: down to label7 + br_if 0, $pop18 # 0: down to label7 # BB#7: # %check.exit33 i32.const $push309=, 0 i32.const $push308=, 0 @@ -131,7 +131,7 @@ main: # @main i32.const $push304=, src i32.const $push21=, 9 i32.call $push22=, memcmp@FUNCTION, $pop305, $pop304, $pop21 - br_if $pop22, 0 # 0: down to label8 + br_if 0, $pop22 # 0: down to label8 # BB#8: # %check.exit41 i32.const $push315=, 0 i64.load $1=, src($pop315):p2align=4 @@ -146,7 +146,7 @@ main: # @main i32.const $push310=, src i32.const $push24=, 10 i32.call $push25=, memcmp@FUNCTION, $pop311, $pop310, $pop24 - br_if $pop25, 0 # 0: down to label9 + br_if 0, $pop25 # 0: down to label9 # BB#9: # %check.exit45 i32.const $push323=, 0 i32.load16_u $4=, src+8($pop323):p2align=3 @@ -165,7 +165,7 @@ main: # @main i32.const $push316=, src i32.const $push28=, 11 i32.call $push29=, memcmp@FUNCTION, $pop317, $pop316, $pop28 - br_if $pop29, 0 # 0: down to label10 + br_if 0, $pop29 # 0: down to label10 # BB#10: # %check.exit49 i32.const $push329=, 0 i64.load $1=, src($pop329):p2align=4 @@ -180,7 +180,7 @@ main: # @main i32.const $push324=, src i32.const $push31=, 12 i32.call $push32=, memcmp@FUNCTION, $pop325, $pop324, $pop31 - br_if $pop32, 0 # 0: down to label11 + br_if 0, $pop32 # 0: down to label11 # BB#11: # %check.exit53 i32.const $push337=, 0 i32.load $4=, src+8($pop337):p2align=3 @@ -199,7 +199,7 @@ main: # @main i32.const $push330=, src i32.const $push35=, 13 i32.call $push36=, memcmp@FUNCTION, $pop331, $pop330, $pop35 - br_if $pop36, 0 # 0: down to label12 + br_if 0, $pop36 # 0: down to label12 # BB#12: # %check.exit57 i32.const $push345=, 0 i32.load $4=, src+8($pop345):p2align=3 @@ -218,7 +218,7 @@ main: # @main i32.const $push338=, src i32.const $push38=, 14 i32.call $push39=, memcmp@FUNCTION, $pop339, $pop338, $pop38 - br_if $pop39, 0 # 0: down to label13 + br_if 0, $pop39 # 0: down to label13 # BB#13: # %check.exit61 i32.const $push355=, 0 i32.load16_u $4=, src+12($pop355):p2align=2 @@ -241,7 +241,7 @@ main: # @main i32.const $push346=, src i32.const $push42=, 15 i32.call $push43=, memcmp@FUNCTION, $pop347, $pop346, $pop42 - br_if $pop43, 0 # 0: down to label14 + br_if 0, $pop43 # 0: down to label14 # BB#14: # %check.exit65 i32.const $push361=, 0 i64.load $1=, src($pop361):p2align=4 @@ -256,7 +256,7 @@ main: # @main i32.const $push356=, src i32.const $push45=, 16 i32.call $push46=, memcmp@FUNCTION, $pop357, $pop356, $pop45 - br_if $pop46, 0 # 0: down to label15 + br_if 0, $pop46 # 0: down to label15 # BB#15: # %check.exit69 i32.const $push369=, 0 i64.load $1=, src+8($pop369) @@ -275,7 +275,7 @@ main: # @main i32.const $push362=, src i32.const $push49=, 17 i32.call $push50=, memcmp@FUNCTION, $pop363, $pop362, $pop49 - br_if $pop50, 0 # 0: down to label16 + br_if 0, $pop50 # 0: down to label16 # BB#16: # %check.exit73 i32.const $push377=, 0 i64.load $1=, src+8($pop377) @@ -294,7 +294,7 @@ main: # @main i32.const $push370=, src i32.const $push52=, 18 i32.call $push53=, memcmp@FUNCTION, $pop371, $pop370, $pop52 - br_if $pop53, 0 # 0: down to label17 + br_if 0, $pop53 # 0: down to label17 # BB#17: # %check.exit77 i32.const $push387=, 0 i32.load16_u $4=, src+16($pop387):p2align=4 @@ -317,7 +317,7 @@ main: # @main i32.const $push378=, src i32.const $push56=, 19 i32.call $push57=, memcmp@FUNCTION, $pop379, $pop378, $pop56 - br_if $pop57, 0 # 0: down to label18 + br_if 0, $pop57 # 0: down to label18 # BB#18: # %check.exit81 i32.const $push395=, 0 i64.load $1=, src+8($pop395) @@ -336,7 +336,7 @@ main: # @main i32.const $push388=, src i32.const $push59=, 20 i32.call $push60=, memcmp@FUNCTION, $pop389, $pop388, $pop59 - br_if $pop60, 0 # 0: down to label19 + br_if 0, $pop60 # 0: down to label19 # BB#19: # %check.exit85 i32.const $push405=, 0 i32.load $4=, src+16($pop405):p2align=4 @@ -359,7 +359,7 @@ main: # @main i32.const $push396=, src i32.const $push63=, 21 i32.call $push64=, memcmp@FUNCTION, $pop397, $pop396, $pop63 - br_if $pop64, 0 # 0: down to label20 + br_if 0, $pop64 # 0: down to label20 # BB#20: # %check.exit89 i32.const $push415=, 0 i32.load $4=, src+16($pop415):p2align=4 @@ -382,7 +382,7 @@ main: # @main i32.const $push406=, src i32.const $push66=, 22 i32.call $push67=, memcmp@FUNCTION, $pop407, $pop406, $pop66 - br_if $pop67, 0 # 0: down to label21 + br_if 0, $pop67 # 0: down to label21 # BB#21: # %check.exit93 i32.const $push427=, 0 i32.load16_u $4=, src+20($pop427):p2align=2 @@ -409,7 +409,7 @@ main: # @main i32.const $push416=, src i32.const $push70=, 23 i32.call $push71=, memcmp@FUNCTION, $pop417, $pop416, $pop70 - br_if $pop71, 0 # 0: down to label22 + br_if 0, $pop71 # 0: down to label22 # BB#22: # %check.exit97 i32.const $push435=, 0 i64.load $1=, src+8($pop435) @@ -428,7 +428,7 @@ main: # @main i32.const $push428=, src i32.const $push73=, 24 i32.call $push74=, memcmp@FUNCTION, $pop429, $pop428, $pop73 - br_if $pop74, 0 # 0: down to label23 + br_if 0, $pop74 # 0: down to label23 # BB#23: # %check.exit101 i32.const $push445=, 0 i64.load $1=, src+16($pop445):p2align=4 @@ -451,7 +451,7 @@ main: # @main i32.const $push436=, src i32.const $push77=, 25 i32.call $push78=, memcmp@FUNCTION, $pop437, $pop436, $pop77 - br_if $pop78, 0 # 0: down to label24 + br_if 0, $pop78 # 0: down to label24 # BB#24: # %check.exit105 i32.const $push455=, 0 i64.load $1=, src+16($pop455):p2align=4 @@ -474,7 +474,7 @@ main: # @main i32.const $push446=, src i32.const $push80=, 26 i32.call $push81=, memcmp@FUNCTION, $pop447, $pop446, $pop80 - br_if $pop81, 0 # 0: down to label25 + br_if 0, $pop81 # 0: down to label25 # BB#25: # %check.exit109 i32.const $push467=, 0 i32.load16_u $4=, src+24($pop467):p2align=3 @@ -501,7 +501,7 @@ main: # @main i32.const $push456=, src i32.const $push84=, 27 i32.call $push85=, memcmp@FUNCTION, $pop457, $pop456, $pop84 - br_if $pop85, 0 # 0: down to label26 + br_if 0, $pop85 # 0: down to label26 # BB#26: # %check.exit113 i32.const $push477=, 0 i64.load $1=, src+16($pop477):p2align=4 @@ -524,7 +524,7 @@ main: # @main i32.const $push468=, src i32.const $push87=, 28 i32.call $push88=, memcmp@FUNCTION, $pop469, $pop468, $pop87 - br_if $pop88, 0 # 0: down to label27 + br_if 0, $pop88 # 0: down to label27 # BB#27: # %check.exit117 i32.const $push489=, 0 i32.load $4=, src+24($pop489):p2align=3 @@ -551,7 +551,7 @@ main: # @main i32.const $push478=, src i32.const $push91=, 29 i32.call $push92=, memcmp@FUNCTION, $pop479, $pop478, $pop91 - br_if $pop92, 0 # 0: down to label28 + br_if 0, $pop92 # 0: down to label28 # BB#28: # %check.exit121 i32.const $push93=, 0 i32.load $4=, src+24($pop93):p2align=3 @@ -578,7 +578,7 @@ main: # @main i32.const $push490=, src i32.const $push95=, 30 i32.call $push96=, memcmp@FUNCTION, $pop491, $pop490, $pop95 - br_if $pop96, 0 # 0: down to label29 + br_if 0, $pop96 # 0: down to label29 # BB#29: # %check.exit125 block i32.const $push97=, dst @@ -589,7 +589,7 @@ main: # @main i32.const $push502=, src i32.const $push501=, 31 i32.call $push100=, memcmp@FUNCTION, $pop503, $pop502, $pop501 - br_if $pop100, 0 # 0: down to label30 + br_if 0, $pop100 # 0: down to label30 # BB#30: # %check.exit129 i32.const $push101=, 0 i64.load $1=, src+16($pop101):p2align=4 @@ -611,7 +611,7 @@ main: # @main i32.const $push505=, src i32.const $push103=, 32 i32.call $push104=, memcmp@FUNCTION, $4, $pop505, $pop103 - br_if $pop104, 0 # 0: down to label31 + br_if 0, $pop104 # 0: down to label31 # BB#31: # %check.exit133 block i32.const $push105=, dst @@ -622,7 +622,7 @@ main: # @main i32.const $push514=, src i32.const $push513=, 33 i32.call $push108=, memcmp@FUNCTION, $pop515, $pop514, $pop513 - br_if $pop108, 0 # 0: down to label32 + br_if 0, $pop108 # 0: down to label32 # BB#32: # %check.exit137 block i32.const $push519=, src @@ -631,7 +631,7 @@ main: # @main i32.const $push518=, src i32.const $push517=, 34 i32.call $push111=, memcmp@FUNCTION, $pop110, $pop518, $pop517 - br_if $pop111, 0 # 0: down to label33 + br_if 0, $pop111 # 0: down to label33 # BB#33: # %check.exit141 block i32.const $push112=, dst @@ -642,7 +642,7 @@ main: # @main i32.const $push521=, src i32.const $push520=, 35 i32.call $push115=, memcmp@FUNCTION, $pop522, $pop521, $pop520 - br_if $pop115, 0 # 0: down to label34 + br_if 0, $pop115 # 0: down to label34 # BB#34: # %check.exit145 block i32.const $push526=, src @@ -651,7 +651,7 @@ main: # @main i32.const $push525=, src i32.const $push524=, 36 i32.call $push118=, memcmp@FUNCTION, $pop117, $pop525, $pop524 - br_if $pop118, 0 # 0: down to label35 + br_if 0, $pop118 # 0: down to label35 # BB#35: # %check.exit149 block i32.const $push119=, dst @@ -662,7 +662,7 @@ main: # @main i32.const $push528=, src i32.const $push527=, 37 i32.call $push122=, memcmp@FUNCTION, $pop529, $pop528, $pop527 - br_if $pop122, 0 # 0: down to label36 + br_if 0, $pop122 # 0: down to label36 # BB#36: # %check.exit153 block i32.const $push533=, src @@ -671,7 +671,7 @@ main: # @main i32.const $push532=, src i32.const $push531=, 38 i32.call $push125=, memcmp@FUNCTION, $pop124, $pop532, $pop531 - br_if $pop125, 0 # 0: down to label37 + br_if 0, $pop125 # 0: down to label37 # BB#37: # %check.exit157 block i32.const $push126=, dst @@ -682,7 +682,7 @@ main: # @main i32.const $push535=, src i32.const $push534=, 39 i32.call $push129=, memcmp@FUNCTION, $pop536, $pop535, $pop534 - br_if $pop129, 0 # 0: down to label38 + br_if 0, $pop129 # 0: down to label38 # BB#38: # %check.exit161 block i32.const $push540=, src @@ -691,7 +691,7 @@ main: # @main i32.const $push539=, src i32.const $push538=, 40 i32.call $push132=, memcmp@FUNCTION, $pop131, $pop539, $pop538 - br_if $pop132, 0 # 0: down to label39 + br_if 0, $pop132 # 0: down to label39 # BB#39: # %check.exit165 block i32.const $push133=, dst @@ -702,7 +702,7 @@ main: # @main i32.const $push542=, src i32.const $push541=, 41 i32.call $push136=, memcmp@FUNCTION, $pop543, $pop542, $pop541 - br_if $pop136, 0 # 0: down to label40 + br_if 0, $pop136 # 0: down to label40 # BB#40: # %check.exit169 block i32.const $push547=, src @@ -711,7 +711,7 @@ main: # @main i32.const $push546=, src i32.const $push545=, 42 i32.call $push139=, memcmp@FUNCTION, $pop138, $pop546, $pop545 - br_if $pop139, 0 # 0: down to label41 + br_if 0, $pop139 # 0: down to label41 # BB#41: # %check.exit173 block i32.const $push140=, dst @@ -722,7 +722,7 @@ main: # @main i32.const $push549=, src i32.const $push548=, 43 i32.call $push143=, memcmp@FUNCTION, $pop550, $pop549, $pop548 - br_if $pop143, 0 # 0: down to label42 + br_if 0, $pop143 # 0: down to label42 # BB#42: # %check.exit177 block i32.const $push554=, src @@ -731,7 +731,7 @@ main: # @main i32.const $push553=, src i32.const $push552=, 44 i32.call $push146=, memcmp@FUNCTION, $pop145, $pop553, $pop552 - br_if $pop146, 0 # 0: down to label43 + br_if 0, $pop146 # 0: down to label43 # BB#43: # %check.exit181 block i32.const $push147=, dst @@ -742,7 +742,7 @@ main: # @main i32.const $push556=, src i32.const $push555=, 45 i32.call $push150=, memcmp@FUNCTION, $pop557, $pop556, $pop555 - br_if $pop150, 0 # 0: down to label44 + br_if 0, $pop150 # 0: down to label44 # BB#44: # %check.exit185 block i32.const $push561=, src @@ -751,7 +751,7 @@ main: # @main i32.const $push560=, src i32.const $push559=, 46 i32.call $push153=, memcmp@FUNCTION, $pop152, $pop560, $pop559 - br_if $pop153, 0 # 0: down to label45 + br_if 0, $pop153 # 0: down to label45 # BB#45: # %check.exit189 block i32.const $push154=, dst @@ -762,7 +762,7 @@ main: # @main i32.const $push563=, src i32.const $push562=, 47 i32.call $push157=, memcmp@FUNCTION, $pop564, $pop563, $pop562 - br_if $pop157, 0 # 0: down to label46 + br_if 0, $pop157 # 0: down to label46 # BB#46: # %check.exit193 block i32.const $push568=, src @@ -771,7 +771,7 @@ main: # @main i32.const $push567=, src i32.const $push566=, 48 i32.call $push160=, memcmp@FUNCTION, $pop159, $pop567, $pop566 - br_if $pop160, 0 # 0: down to label47 + br_if 0, $pop160 # 0: down to label47 # BB#47: # %check.exit197 block i32.const $push161=, dst @@ -782,7 +782,7 @@ main: # @main i32.const $push570=, src i32.const $push569=, 49 i32.call $push164=, memcmp@FUNCTION, $pop571, $pop570, $pop569 - br_if $pop164, 0 # 0: down to label48 + br_if 0, $pop164 # 0: down to label48 # BB#48: # %check.exit201 block i32.const $push575=, src @@ -791,7 +791,7 @@ main: # @main i32.const $push574=, src i32.const $push573=, 50 i32.call $push167=, memcmp@FUNCTION, $pop166, $pop574, $pop573 - br_if $pop167, 0 # 0: down to label49 + br_if 0, $pop167 # 0: down to label49 # BB#49: # %check.exit205 block i32.const $push168=, dst @@ -802,7 +802,7 @@ main: # @main i32.const $push577=, src i32.const $push576=, 51 i32.call $push171=, memcmp@FUNCTION, $pop578, $pop577, $pop576 - br_if $pop171, 0 # 0: down to label50 + br_if 0, $pop171 # 0: down to label50 # BB#50: # %check.exit209 block i32.const $push582=, src @@ -811,7 +811,7 @@ main: # @main i32.const $push581=, src i32.const $push580=, 52 i32.call $push174=, memcmp@FUNCTION, $pop173, $pop581, $pop580 - br_if $pop174, 0 # 0: down to label51 + br_if 0, $pop174 # 0: down to label51 # BB#51: # %check.exit213 block i32.const $push175=, dst @@ -822,7 +822,7 @@ main: # @main i32.const $push584=, src i32.const $push583=, 53 i32.call $push178=, memcmp@FUNCTION, $pop585, $pop584, $pop583 - br_if $pop178, 0 # 0: down to label52 + br_if 0, $pop178 # 0: down to label52 # BB#52: # %check.exit217 block i32.const $push589=, src @@ -831,7 +831,7 @@ main: # @main i32.const $push588=, src i32.const $push587=, 54 i32.call $push181=, memcmp@FUNCTION, $pop180, $pop588, $pop587 - br_if $pop181, 0 # 0: down to label53 + br_if 0, $pop181 # 0: down to label53 # BB#53: # %check.exit221 block i32.const $push182=, dst @@ -842,7 +842,7 @@ main: # @main i32.const $push591=, src i32.const $push590=, 55 i32.call $push185=, memcmp@FUNCTION, $pop592, $pop591, $pop590 - br_if $pop185, 0 # 0: down to label54 + br_if 0, $pop185 # 0: down to label54 # BB#54: # %check.exit225 block i32.const $push596=, src @@ -851,7 +851,7 @@ main: # @main i32.const $push595=, src i32.const $push594=, 56 i32.call $push188=, memcmp@FUNCTION, $pop187, $pop595, $pop594 - br_if $pop188, 0 # 0: down to label55 + br_if 0, $pop188 # 0: down to label55 # BB#55: # %check.exit229 block i32.const $push189=, dst @@ -862,7 +862,7 @@ main: # @main i32.const $push598=, src i32.const $push597=, 57 i32.call $push192=, memcmp@FUNCTION, $pop599, $pop598, $pop597 - br_if $pop192, 0 # 0: down to label56 + br_if 0, $pop192 # 0: down to label56 # BB#56: # %check.exit233 block i32.const $push603=, src @@ -871,7 +871,7 @@ main: # @main i32.const $push602=, src i32.const $push601=, 58 i32.call $push195=, memcmp@FUNCTION, $pop194, $pop602, $pop601 - br_if $pop195, 0 # 0: down to label57 + br_if 0, $pop195 # 0: down to label57 # BB#57: # %check.exit237 block i32.const $push196=, dst @@ -882,7 +882,7 @@ main: # @main i32.const $push605=, src i32.const $push604=, 59 i32.call $push199=, memcmp@FUNCTION, $pop606, $pop605, $pop604 - br_if $pop199, 0 # 0: down to label58 + br_if 0, $pop199 # 0: down to label58 # BB#58: # %check.exit241 block i32.const $push610=, src @@ -891,7 +891,7 @@ main: # @main i32.const $push609=, src i32.const $push608=, 60 i32.call $push202=, memcmp@FUNCTION, $pop201, $pop609, $pop608 - br_if $pop202, 0 # 0: down to label59 + br_if 0, $pop202 # 0: down to label59 # BB#59: # %check.exit245 block i32.const $push203=, dst @@ -902,7 +902,7 @@ main: # @main i32.const $push612=, src i32.const $push611=, 61 i32.call $push206=, memcmp@FUNCTION, $pop613, $pop612, $pop611 - br_if $pop206, 0 # 0: down to label60 + br_if 0, $pop206 # 0: down to label60 # BB#60: # %check.exit249 block i32.const $push617=, src @@ -911,7 +911,7 @@ main: # @main i32.const $push616=, src i32.const $push615=, 62 i32.call $push209=, memcmp@FUNCTION, $pop208, $pop616, $pop615 - br_if $pop209, 0 # 0: down to label61 + br_if 0, $pop209 # 0: down to label61 # BB#61: # %check.exit253 block i32.const $push210=, dst @@ -922,7 +922,7 @@ main: # @main i32.const $push619=, src i32.const $push618=, 63 i32.call $push213=, memcmp@FUNCTION, $pop620, $pop619, $pop618 - br_if $pop213, 0 # 0: down to label62 + br_if 0, $pop213 # 0: down to label62 # BB#62: # %check.exit257 block i32.const $push624=, src @@ -931,7 +931,7 @@ main: # @main i32.const $push623=, src i32.const $push622=, 64 i32.call $push216=, memcmp@FUNCTION, $pop215, $pop623, $pop622 - br_if $pop216, 0 # 0: down to label63 + br_if 0, $pop216 # 0: down to label63 # BB#63: # %check.exit261 block i32.const $push217=, dst @@ -942,7 +942,7 @@ main: # @main i32.const $push626=, src i32.const $push625=, 65 i32.call $push220=, memcmp@FUNCTION, $pop627, $pop626, $pop625 - br_if $pop220, 0 # 0: down to label64 + br_if 0, $pop220 # 0: down to label64 # BB#64: # %check.exit265 block i32.const $push631=, src @@ -951,7 +951,7 @@ main: # @main i32.const $push630=, src i32.const $push629=, 66 i32.call $push223=, memcmp@FUNCTION, $pop222, $pop630, $pop629 - br_if $pop223, 0 # 0: down to label65 + br_if 0, $pop223 # 0: down to label65 # BB#65: # %check.exit269 block i32.const $push224=, dst @@ -962,7 +962,7 @@ main: # @main i32.const $push633=, src i32.const $push632=, 67 i32.call $push227=, memcmp@FUNCTION, $pop634, $pop633, $pop632 - br_if $pop227, 0 # 0: down to label66 + br_if 0, $pop227 # 0: down to label66 # BB#66: # %check.exit273 block i32.const $push638=, src @@ -971,7 +971,7 @@ main: # @main i32.const $push637=, src i32.const $push636=, 68 i32.call $push230=, memcmp@FUNCTION, $pop229, $pop637, $pop636 - br_if $pop230, 0 # 0: down to label67 + br_if 0, $pop230 # 0: down to label67 # BB#67: # %check.exit277 block i32.const $push231=, dst @@ -982,7 +982,7 @@ main: # @main i32.const $push640=, src i32.const $push639=, 69 i32.call $push234=, memcmp@FUNCTION, $pop641, $pop640, $pop639 - br_if $pop234, 0 # 0: down to label68 + br_if 0, $pop234 # 0: down to label68 # BB#68: # %check.exit281 block i32.const $push645=, src @@ -991,7 +991,7 @@ main: # @main i32.const $push644=, src i32.const $push643=, 70 i32.call $push237=, memcmp@FUNCTION, $pop236, $pop644, $pop643 - br_if $pop237, 0 # 0: down to label69 + br_if 0, $pop237 # 0: down to label69 # BB#69: # %check.exit285 block i32.const $push238=, dst @@ -1002,7 +1002,7 @@ main: # @main i32.const $push647=, src i32.const $push646=, 71 i32.call $push241=, memcmp@FUNCTION, $pop648, $pop647, $pop646 - br_if $pop241, 0 # 0: down to label70 + br_if 0, $pop241 # 0: down to label70 # BB#70: # %check.exit289 block i32.const $push652=, src @@ -1011,7 +1011,7 @@ main: # @main i32.const $push651=, src i32.const $push650=, 72 i32.call $push244=, memcmp@FUNCTION, $pop243, $pop651, $pop650 - br_if $pop244, 0 # 0: down to label71 + br_if 0, $pop244 # 0: down to label71 # BB#71: # %check.exit293 block i32.const $push245=, dst @@ -1022,7 +1022,7 @@ main: # @main i32.const $push654=, src i32.const $push653=, 73 i32.call $push248=, memcmp@FUNCTION, $pop655, $pop654, $pop653 - br_if $pop248, 0 # 0: down to label72 + br_if 0, $pop248 # 0: down to label72 # BB#72: # %check.exit297 block i32.const $push659=, src @@ -1031,7 +1031,7 @@ main: # @main i32.const $push658=, src i32.const $push657=, 74 i32.call $push251=, memcmp@FUNCTION, $pop250, $pop658, $pop657 - br_if $pop251, 0 # 0: down to label73 + br_if 0, $pop251 # 0: down to label73 # BB#73: # %check.exit301 block i32.const $push252=, dst @@ -1042,7 +1042,7 @@ main: # @main i32.const $push661=, src i32.const $push660=, 75 i32.call $push255=, memcmp@FUNCTION, $pop662, $pop661, $pop660 - br_if $pop255, 0 # 0: down to label74 + br_if 0, $pop255 # 0: down to label74 # BB#74: # %check.exit305 block i32.const $push666=, src @@ -1051,7 +1051,7 @@ main: # @main i32.const $push665=, src i32.const $push664=, 76 i32.call $push258=, memcmp@FUNCTION, $pop257, $pop665, $pop664 - br_if $pop258, 0 # 0: down to label75 + br_if 0, $pop258 # 0: down to label75 # BB#75: # %check.exit309 block i32.const $push259=, dst @@ -1062,7 +1062,7 @@ main: # @main i32.const $push668=, src i32.const $push667=, 77 i32.call $push262=, memcmp@FUNCTION, $pop669, $pop668, $pop667 - br_if $pop262, 0 # 0: down to label76 + br_if 0, $pop262 # 0: down to label76 # BB#76: # %check.exit313 block i32.const $push673=, src @@ -1071,7 +1071,7 @@ main: # @main i32.const $push672=, src i32.const $push671=, 78 i32.call $push265=, memcmp@FUNCTION, $pop264, $pop672, $pop671 - br_if $pop265, 0 # 0: down to label77 + br_if 0, $pop265 # 0: down to label77 # BB#77: # %check.exit317 block i32.const $push267=, dst @@ -1081,7 +1081,7 @@ main: # @main i32.const $push675=, src i32.const $push674=, 79 i32.call $push270=, memcmp@FUNCTION, $pop269, $pop675, $pop674 - br_if $pop270, 0 # 0: down to label78 + br_if 0, $pop270 # 0: down to label78 # BB#78: # %check.exit321 i32.const $push271=, 0 return $pop271 diff --git a/test/torture-s/memset-1.c.s b/test/torture-s/memset-1.c.s index 9bf86823c..a87d35ee7 100644 --- a/test/torture-s/memset-1.c.s +++ b/test/torture-s/memset-1.c.s @@ -48,7 +48,7 @@ main: # @main block i32.const $push101=, 1 i32.lt_s $push4=, $0, $pop101 - br_if $pop4, 0 # 0: down to label10 + br_if 0, $pop4 # 0: down to label10 .LBB0_3: # %for.body11 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 @@ -57,7 +57,7 @@ main: # @main i32.load8_u $push5=, u($6) i32.const $push105=, 97 i32.ne $push6=, $pop5, $pop105 - br_if $pop6, 1 # 1: down to label12 + br_if 1, $pop6 # 1: down to label12 # BB#4: # %for.inc16 # in Loop: Header=BB0_3 Depth=3 i32.const $push107=, u+1 @@ -66,7 +66,7 @@ main: # @main i32.add $3=, $6, $pop106 copy_local $6=, $3 i32.lt_s $push7=, $3, $0 - br_if $pop7, 0 # 0: up to label11 + br_if 0, $pop7 # 0: up to label11 br 2 # 2: down to label10 .LBB0_5: # %if.then14 end_loop # label12: @@ -83,13 +83,13 @@ main: # @main loop # label13: i32.add $push8=, $5, $6 i32.load8_u $push9=, 0($pop8) - br_if $pop9, 11 # 11: down to label0 + br_if 11, $pop9 # 11: down to label0 # BB#8: # %for.inc28 # in Loop: Header=BB0_7 Depth=3 i32.const $push108=, 1 i32.add $6=, $6, $pop108 i32.lt_s $push10=, $6, $2 - br_if $pop10, 0 # 0: up to label13 + br_if 0, $pop10 # 0: up to label13 # BB#9: # %for.body35.preheader # in Loop: Header=BB0_2 Depth=2 end_loop # label14: @@ -98,7 +98,7 @@ main: # @main i32.load8_u $push11=, 0($pop110) i32.const $push109=, 97 i32.ne $push12=, $pop11, $pop109 - br_if $pop12, 8 # 8: down to label1 + br_if 8, $pop12 # 8: down to label1 # BB#10: # %for.inc41 # in Loop: Header=BB0_2 Depth=2 i32.const $push112=, 1 @@ -106,7 +106,7 @@ main: # @main i32.load8_u $push14=, 0($pop13) i32.const $push111=, 97 i32.ne $push15=, $pop14, $pop111 - br_if $pop15, 8 # 8: down to label1 + br_if 8, $pop15 # 8: down to label1 # BB#11: # %for.inc41.1 # in Loop: Header=BB0_2 Depth=2 i32.const $push134=, 2 @@ -114,7 +114,7 @@ main: # @main i32.load8_u $push17=, 0($pop16) i32.const $push133=, 97 i32.ne $push18=, $pop17, $pop133 - br_if $pop18, 8 # 8: down to label1 + br_if 8, $pop18 # 8: down to label1 # BB#12: # %for.inc41.2 # in Loop: Header=BB0_2 Depth=2 i32.const $push136=, 3 @@ -122,7 +122,7 @@ main: # @main i32.load8_u $push20=, 0($pop19) i32.const $push135=, 97 i32.ne $push21=, $pop20, $pop135 - br_if $pop21, 8 # 8: down to label1 + br_if 8, $pop21 # 8: down to label1 # BB#13: # %for.inc41.3 # in Loop: Header=BB0_2 Depth=2 i32.const $push138=, 4 @@ -130,7 +130,7 @@ main: # @main i32.load8_u $push23=, 0($pop22) i32.const $push137=, 97 i32.ne $push24=, $pop23, $pop137 - br_if $pop24, 8 # 8: down to label1 + br_if 8, $pop24 # 8: down to label1 # BB#14: # %for.inc41.4 # in Loop: Header=BB0_2 Depth=2 i32.const $push140=, 5 @@ -138,7 +138,7 @@ main: # @main i32.load8_u $push26=, 0($pop25) i32.const $push139=, 97 i32.ne $push27=, $pop26, $pop139 - br_if $pop27, 8 # 8: down to label1 + br_if 8, $pop27 # 8: down to label1 # BB#15: # %for.inc41.5 # in Loop: Header=BB0_2 Depth=2 i32.const $push142=, 6 @@ -146,7 +146,7 @@ main: # @main i32.load8_u $push29=, 0($pop28) i32.const $push141=, 97 i32.ne $push30=, $pop29, $pop141 - br_if $pop30, 8 # 8: down to label1 + br_if 8, $pop30 # 8: down to label1 # BB#16: # %for.inc41.6 # in Loop: Header=BB0_2 Depth=2 i32.const $push144=, 7 @@ -154,7 +154,7 @@ main: # @main i32.load8_u $push32=, 0($pop31) i32.const $push143=, 97 i32.ne $push33=, $pop32, $pop143 - br_if $pop33, 8 # 8: down to label1 + br_if 8, $pop33 # 8: down to label1 # BB#17: # %for.inc41.7 # in Loop: Header=BB0_2 Depth=2 i32.const $6=, 0 @@ -165,7 +165,7 @@ main: # @main block i32.const $push145=, 0 i32.le_s $push34=, $0, $pop145 - br_if $pop34, 0 # 0: down to label15 + br_if 0, $pop34 # 0: down to label15 .LBB0_18: # %for.body55 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 @@ -174,7 +174,7 @@ main: # @main i32.load8_u $push36=, u($6) i32.const $push113=, 97 i32.ne $push37=, $pop36, $pop113 - br_if $pop37, 1 # 1: down to label17 + br_if 1, $pop37 # 1: down to label17 # BB#19: # %for.inc61 # in Loop: Header=BB0_18 Depth=3 i32.const $push115=, u+1 @@ -183,7 +183,7 @@ main: # @main i32.add $3=, $6, $pop114 copy_local $6=, $3 i32.lt_s $push38=, $3, $0 - br_if $pop38, 0 # 0: up to label16 + br_if 0, $pop38 # 0: up to label16 br 2 # 2: down to label15 .LBB0_20: # %if.then59 end_loop # label17: @@ -202,13 +202,13 @@ main: # @main i32.load8_u $push40=, 0($pop39) i32.const $push116=, 65 i32.ne $push41=, $pop40, $pop116 - br_if $pop41, 9 # 9: down to label2 + br_if 9, $pop41 # 9: down to label2 # BB#23: # %for.inc74 # in Loop: Header=BB0_22 Depth=3 i32.const $push117=, 1 i32.add $6=, $6, $pop117 i32.lt_s $push42=, $6, $2 - br_if $pop42, 0 # 0: up to label18 + br_if 0, $pop42 # 0: up to label18 # BB#24: # %for.body81.preheader # in Loop: Header=BB0_2 Depth=2 end_loop # label19: @@ -217,7 +217,7 @@ main: # @main i32.load8_u $push43=, 0($pop119) i32.const $push118=, 97 i32.ne $push44=, $pop43, $pop118 - br_if $pop44, 6 # 6: down to label3 + br_if 6, $pop44 # 6: down to label3 # BB#25: # %for.inc87 # in Loop: Header=BB0_2 Depth=2 i32.const $push121=, 1 @@ -225,7 +225,7 @@ main: # @main i32.load8_u $push46=, 0($pop45) i32.const $push120=, 97 i32.ne $push47=, $pop46, $pop120 - br_if $pop47, 6 # 6: down to label3 + br_if 6, $pop47 # 6: down to label3 # BB#26: # %for.inc87.1 # in Loop: Header=BB0_2 Depth=2 i32.const $push148=, 2 @@ -233,7 +233,7 @@ main: # @main i32.load8_u $push49=, 0($pop48) i32.const $push147=, 97 i32.ne $push50=, $pop49, $pop147 - br_if $pop50, 6 # 6: down to label3 + br_if 6, $pop50 # 6: down to label3 # BB#27: # %for.inc87.2 # in Loop: Header=BB0_2 Depth=2 i32.const $push150=, 3 @@ -241,7 +241,7 @@ main: # @main i32.load8_u $push52=, 0($pop51) i32.const $push149=, 97 i32.ne $push53=, $pop52, $pop149 - br_if $pop53, 6 # 6: down to label3 + br_if 6, $pop53 # 6: down to label3 # BB#28: # %for.inc87.3 # in Loop: Header=BB0_2 Depth=2 i32.const $push152=, 4 @@ -249,7 +249,7 @@ main: # @main i32.load8_u $push55=, 0($pop54) i32.const $push151=, 97 i32.ne $push56=, $pop55, $pop151 - br_if $pop56, 6 # 6: down to label3 + br_if 6, $pop56 # 6: down to label3 # BB#29: # %for.inc87.4 # in Loop: Header=BB0_2 Depth=2 i32.const $push154=, 5 @@ -257,7 +257,7 @@ main: # @main i32.load8_u $push58=, 0($pop57) i32.const $push153=, 97 i32.ne $push59=, $pop58, $pop153 - br_if $pop59, 6 # 6: down to label3 + br_if 6, $pop59 # 6: down to label3 # BB#30: # %for.inc87.5 # in Loop: Header=BB0_2 Depth=2 i32.const $push156=, 6 @@ -265,7 +265,7 @@ main: # @main i32.load8_u $push61=, 0($pop60) i32.const $push155=, 97 i32.ne $push62=, $pop61, $pop155 - br_if $pop62, 6 # 6: down to label3 + br_if 6, $pop62 # 6: down to label3 # BB#31: # %for.inc87.6 # in Loop: Header=BB0_2 Depth=2 i32.const $push158=, 7 @@ -273,7 +273,7 @@ main: # @main i32.load8_u $push64=, 0($pop63) i32.const $push157=, 97 i32.ne $push65=, $pop64, $pop157 - br_if $pop65, 6 # 6: down to label3 + br_if 6, $pop65 # 6: down to label3 # BB#32: # %for.inc87.7 # in Loop: Header=BB0_2 Depth=2 i32.const $6=, 0 @@ -283,7 +283,7 @@ main: # @main block i32.const $push159=, 0 i32.le_s $push66=, $0, $pop159 - br_if $pop66, 0 # 0: down to label20 + br_if 0, $pop66 # 0: down to label20 .LBB0_33: # %for.body100 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 @@ -292,7 +292,7 @@ main: # @main i32.load8_u $push67=, u($6) i32.const $push122=, 97 i32.ne $push68=, $pop67, $pop122 - br_if $pop68, 1 # 1: down to label22 + br_if 1, $pop68 # 1: down to label22 # BB#34: # %for.inc106 # in Loop: Header=BB0_33 Depth=3 i32.const $push124=, u+1 @@ -301,7 +301,7 @@ main: # @main i32.add $3=, $6, $pop123 copy_local $6=, $3 i32.lt_s $push69=, $3, $0 - br_if $pop69, 0 # 0: up to label21 + br_if 0, $pop69 # 0: up to label21 br 2 # 2: down to label20 .LBB0_35: # %if.then104 end_loop # label22: @@ -320,13 +320,13 @@ main: # @main i32.load8_u $push71=, 0($pop70) i32.const $push125=, 66 i32.ne $push72=, $pop71, $pop125 - br_if $pop72, 7 # 7: down to label4 + br_if 7, $pop72 # 7: down to label4 # BB#38: # %for.inc119 # in Loop: Header=BB0_37 Depth=3 i32.const $push126=, 1 i32.add $6=, $6, $pop126 i32.lt_s $push73=, $6, $2 - br_if $pop73, 0 # 0: up to label23 + br_if 0, $pop73 # 0: up to label23 # BB#39: # %for.body126.preheader # in Loop: Header=BB0_2 Depth=2 end_loop # label24: @@ -335,7 +335,7 @@ main: # @main i32.load8_u $push74=, 0($pop128) i32.const $push127=, 97 i32.ne $push75=, $pop74, $pop127 - br_if $pop75, 4 # 4: down to label5 + br_if 4, $pop75 # 4: down to label5 # BB#40: # %for.inc132 # in Loop: Header=BB0_2 Depth=2 i32.const $push130=, 1 @@ -343,7 +343,7 @@ main: # @main i32.load8_u $push77=, 0($pop76) i32.const $push129=, 97 i32.ne $push78=, $pop77, $pop129 - br_if $pop78, 4 # 4: down to label5 + br_if 4, $pop78 # 4: down to label5 # BB#41: # %for.inc132.1 # in Loop: Header=BB0_2 Depth=2 i32.const $push162=, 2 @@ -351,7 +351,7 @@ main: # @main i32.load8_u $push80=, 0($pop79) i32.const $push161=, 97 i32.ne $push81=, $pop80, $pop161 - br_if $pop81, 4 # 4: down to label5 + br_if 4, $pop81 # 4: down to label5 # BB#42: # %for.inc132.2 # in Loop: Header=BB0_2 Depth=2 i32.const $push164=, 3 @@ -359,7 +359,7 @@ main: # @main i32.load8_u $push83=, 0($pop82) i32.const $push163=, 97 i32.ne $push84=, $pop83, $pop163 - br_if $pop84, 4 # 4: down to label5 + br_if 4, $pop84 # 4: down to label5 # BB#43: # %for.inc132.3 # in Loop: Header=BB0_2 Depth=2 i32.const $push166=, 4 @@ -367,7 +367,7 @@ main: # @main i32.load8_u $push86=, 0($pop85) i32.const $push165=, 97 i32.ne $push87=, $pop86, $pop165 - br_if $pop87, 4 # 4: down to label5 + br_if 4, $pop87 # 4: down to label5 # BB#44: # %for.inc132.4 # in Loop: Header=BB0_2 Depth=2 i32.const $push168=, 5 @@ -375,7 +375,7 @@ main: # @main i32.load8_u $push89=, 0($pop88) i32.const $push167=, 97 i32.ne $push90=, $pop89, $pop167 - br_if $pop90, 4 # 4: down to label5 + br_if 4, $pop90 # 4: down to label5 # BB#45: # %for.inc132.5 # in Loop: Header=BB0_2 Depth=2 i32.const $push170=, 6 @@ -383,7 +383,7 @@ main: # @main i32.load8_u $push92=, 0($pop91) i32.const $push169=, 97 i32.ne $push93=, $pop92, $pop169 - br_if $pop93, 4 # 4: down to label5 + br_if 4, $pop93 # 4: down to label5 # BB#46: # %for.inc132.6 # in Loop: Header=BB0_2 Depth=2 i32.const $push172=, 7 @@ -391,14 +391,14 @@ main: # @main i32.load8_u $push95=, 0($pop94) i32.const $push171=, 97 i32.ne $push96=, $pop95, $pop171 - br_if $pop96, 4 # 4: down to label5 + br_if 4, $pop96 # 4: down to label5 # BB#47: # %for.inc132.7 # in Loop: Header=BB0_2 Depth=2 i32.const $push174=, 1 i32.add $2=, $2, $pop174 i32.const $push173=, 80 i32.lt_u $push97=, $2, $pop173 - br_if $pop97, 0 # 0: up to label8 + br_if 0, $pop97 # 0: up to label8 # BB#48: # %for.inc139 # in Loop: Header=BB0_1 Depth=1 end_loop # label9: @@ -406,7 +406,7 @@ main: # @main i32.add $0=, $0, $pop132 i32.const $push131=, 8 i32.lt_u $push98=, $0, $pop131 - br_if $pop98, 0 # 0: up to label6 + br_if 0, $pop98 # 0: up to label6 # BB#49: # %for.end141 end_loop # label7: i32.const $push99=, 0 diff --git a/test/torture-s/memset-2.c.s b/test/torture-s/memset-2.c.s index b5795bd6a..90ec16b98 100644 --- a/test/torture-s/memset-2.c.s +++ b/test/torture-s/memset-2.c.s @@ -28,14 +28,14 @@ check: # @check block i32.const $push29=, 0 i32.le_s $push0=, $0, $pop29 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: i32.load8_u $push1=, u($5) i32.const $push2=, 97 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 1 # 1: down to label2 + br_if 1, $pop3 # 1: down to label2 # BB#2: # %for.inc # in Loop: Header=BB1_1 Depth=1 i32.const $push6=, u+1 @@ -44,7 +44,7 @@ check: # @check i32.add $4=, $5, $pop4 copy_local $5=, $4 i32.lt_s $push5=, $4, $0 - br_if $pop5, 0 # 0: up to label1 + br_if 0, $pop5 # 0: up to label1 br 2 # 2: down to label0 .LBB1_3: # %if.then end_loop # label2: @@ -57,21 +57,21 @@ check: # @check block i32.const $push30=, 0 i32.le_s $push7=, $1, $pop30 - br_if $pop7, 0 # 0: down to label3 + br_if 0, $pop7 # 0: down to label3 .LBB1_5: # %for.body6 # =>This Inner Loop Header: Depth=1 loop # label4: i32.add $push8=, $3, $5 i32.load8_s $push9=, 0($pop8) i32.ne $push10=, $pop9, $2 - br_if $pop10, 1 # 1: down to label5 + br_if 1, $pop10 # 1: down to label5 # BB#6: # %for.inc12 # in Loop: Header=BB1_5 Depth=1 i32.const $push11=, 1 i32.add $5=, $5, $pop11 i32.add $4=, $3, $5 i32.lt_s $push12=, $5, $1 - br_if $pop12, 0 # 0: up to label4 + br_if 0, $pop12 # 0: up to label4 br 2 # 2: down to label3 .LBB1_7: # %if.then10 end_loop # label5: @@ -83,42 +83,42 @@ check: # @check i32.load8_u $push13=, 0($4) i32.const $push31=, 97 i32.ne $push14=, $pop13, $pop31 - br_if $pop14, 0 # 0: down to label6 + br_if 0, $pop14 # 0: down to label6 # BB#9: # %for.inc25 i32.load8_u $push15=, 1($4) i32.const $push32=, 97 i32.ne $push16=, $pop15, $pop32 - br_if $pop16, 0 # 0: down to label6 + br_if 0, $pop16 # 0: down to label6 # BB#10: # %for.inc25.1 i32.load8_u $push17=, 2($4) i32.const $push33=, 97 i32.ne $push18=, $pop17, $pop33 - br_if $pop18, 0 # 0: down to label6 + br_if 0, $pop18 # 0: down to label6 # BB#11: # %for.inc25.2 i32.load8_u $push19=, 3($4) i32.const $push34=, 97 i32.ne $push20=, $pop19, $pop34 - br_if $pop20, 0 # 0: down to label6 + br_if 0, $pop20 # 0: down to label6 # BB#12: # %for.inc25.3 i32.load8_u $push21=, 4($4) i32.const $push35=, 97 i32.ne $push22=, $pop21, $pop35 - br_if $pop22, 0 # 0: down to label6 + br_if 0, $pop22 # 0: down to label6 # BB#13: # %for.inc25.4 i32.load8_u $push23=, 5($4) i32.const $push36=, 97 i32.ne $push24=, $pop23, $pop36 - br_if $pop24, 0 # 0: down to label6 + br_if 0, $pop24 # 0: down to label6 # BB#14: # %for.inc25.5 i32.load8_u $push25=, 6($4) i32.const $push37=, 97 i32.ne $push26=, $pop25, $pop37 - br_if $pop26, 0 # 0: down to label6 + br_if 0, $pop26 # 0: down to label6 # BB#15: # %for.inc25.6 i32.load8_u $push27=, 7($4) i32.const $push38=, 97 i32.ne $push28=, $pop27, $pop38 - br_if $pop28, 0 # 0: down to label6 + br_if 0, $pop28 # 0: down to label6 # BB#16: # %for.inc25.7 return .LBB1_17: # %if.then23 @@ -163,7 +163,7 @@ main: # @main i32.add $6=, $6, $pop144 i32.const $push143=, 8 i32.ne $push2=, $6, $pop143 - br_if $pop2, 0 # 0: up to label7 + br_if 0, $pop2 # 0: up to label7 .LBB2_2: # %for.body18 # =>This Inner Loop Header: Depth=1 end_loop # label8: @@ -194,7 +194,7 @@ main: # @main copy_local $6=, $8 i32.const $push155=, 8 i32.ne $push10=, $5, $pop155 - br_if $pop10, 0 # 0: up to label9 + br_if 0, $pop10 # 0: up to label9 .LBB2_3: # %for.body44 # =>This Inner Loop Header: Depth=1 end_loop # label10: @@ -224,7 +224,7 @@ main: # @main i32.add $6=, $6, $pop166 i32.const $push165=, 8 i32.ne $push16=, $6, $pop165 - br_if $pop16, 0 # 0: up to label11 + br_if 0, $pop16 # 0: up to label11 .LBB2_4: # %for.body70 # =>This Inner Loop Header: Depth=1 end_loop # label12: @@ -255,7 +255,7 @@ main: # @main copy_local $6=, $8 i32.const $push175=, 8 i32.ne $push24=, $5, $pop175 - br_if $pop24, 0 # 0: up to label13 + br_if 0, $pop24 # 0: up to label13 .LBB2_5: # %for.body96 # =>This Inner Loop Header: Depth=1 end_loop # label14: @@ -285,7 +285,7 @@ main: # @main i32.add $6=, $6, $pop186 i32.const $push185=, 8 i32.ne $push30=, $6, $pop185 - br_if $pop30, 0 # 0: up to label15 + br_if 0, $pop30 # 0: up to label15 .LBB2_6: # %for.body122 # =>This Inner Loop Header: Depth=1 end_loop # label16: @@ -323,7 +323,7 @@ main: # @main copy_local $6=, $8 i32.const $push195=, 8 i32.ne $push41=, $5, $pop195 - br_if $pop41, 0 # 0: up to label17 + br_if 0, $pop41 # 0: up to label17 .LBB2_7: # %for.body148 # =>This Inner Loop Header: Depth=1 end_loop # label18: @@ -359,7 +359,7 @@ main: # @main i32.add $6=, $6, $pop208 i32.const $push207=, 8 i32.ne $push49=, $6, $pop207 - br_if $pop49, 0 # 0: up to label19 + br_if 0, $pop49 # 0: up to label19 .LBB2_8: # %for.body174 # =>This Inner Loop Header: Depth=1 end_loop # label20: @@ -392,7 +392,7 @@ main: # @main i32.const $6=, 0 i32.const $push219=, 8 i32.ne $push56=, $5, $pop219 - br_if $pop56, 0 # 0: up to label21 + br_if 0, $pop56 # 0: up to label21 .LBB2_9: # %for.body200 # =>This Inner Loop Header: Depth=1 end_loop # label22: @@ -427,7 +427,7 @@ main: # @main i32.add $6=, $6, $pop232 i32.const $push231=, 8 i32.ne $push66=, $6, $pop231 - br_if $pop66, 0 # 0: up to label23 + br_if 0, $pop66 # 0: up to label23 .LBB2_10: # %for.body226 # =>This Inner Loop Header: Depth=1 end_loop # label24: @@ -467,7 +467,7 @@ main: # @main copy_local $6=, $8 i32.const $push242=, 8 i32.ne $push79=, $5, $pop242 - br_if $pop79, 0 # 0: up to label25 + br_if 0, $pop79 # 0: up to label25 .LBB2_11: # %for.body252 # =>This Inner Loop Header: Depth=1 end_loop # label26: @@ -507,7 +507,7 @@ main: # @main i32.add $6=, $6, $pop255 i32.const $push254=, 8 i32.ne $push91=, $6, $pop254 - br_if $pop91, 0 # 0: up to label27 + br_if 0, $pop91 # 0: up to label27 .LBB2_12: # %for.body278 # =>This Inner Loop Header: Depth=1 end_loop # label28: @@ -543,7 +543,7 @@ main: # @main copy_local $6=, $8 i32.const $push266=, 8 i32.ne $push102=, $5, $pop266 - br_if $pop102, 0 # 0: up to label29 + br_if 0, $pop102 # 0: up to label29 .LBB2_13: # %for.body304 # =>This Inner Loop Header: Depth=1 end_loop # label30: @@ -578,7 +578,7 @@ main: # @main i32.add $6=, $6, $pop277 i32.const $push276=, 8 i32.ne $push110=, $6, $pop276 - br_if $pop110, 0 # 0: up to label31 + br_if 0, $pop110 # 0: up to label31 .LBB2_14: # %for.body330 # =>This Inner Loop Header: Depth=1 end_loop # label32: @@ -621,7 +621,7 @@ main: # @main copy_local $6=, $8 i32.const $push286=, 8 i32.ne $push123=, $5, $pop286 - br_if $pop123, 0 # 0: up to label33 + br_if 0, $pop123 # 0: up to label33 .LBB2_15: # %for.body356 # =>This Inner Loop Header: Depth=1 end_loop # label34: @@ -662,7 +662,7 @@ main: # @main i32.add $6=, $6, $pop299 i32.const $push298=, 8 i32.ne $push134=, $6, $pop298 - br_if $pop134, 0 # 0: up to label35 + br_if 0, $pop134 # 0: up to label35 # BB#16: # %for.end378 end_loop # label36: i32.const $push135=, 0 diff --git a/test/torture-s/memset-3.c.s b/test/torture-s/memset-3.c.s index b9760d84e..7696efc15 100644 --- a/test/torture-s/memset-3.c.s +++ b/test/torture-s/memset-3.c.s @@ -28,14 +28,14 @@ check: # @check block i32.const $push29=, 0 i32.le_s $push0=, $0, $pop29 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: i32.load8_u $push1=, u($5) i32.const $push2=, 97 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 1 # 1: down to label2 + br_if 1, $pop3 # 1: down to label2 # BB#2: # %for.inc # in Loop: Header=BB1_1 Depth=1 i32.const $push6=, u+1 @@ -44,7 +44,7 @@ check: # @check i32.add $4=, $5, $pop4 copy_local $5=, $4 i32.lt_s $push5=, $4, $0 - br_if $pop5, 0 # 0: up to label1 + br_if 0, $pop5 # 0: up to label1 br 2 # 2: down to label0 .LBB1_3: # %if.then end_loop # label2: @@ -57,21 +57,21 @@ check: # @check block i32.const $push30=, 0 i32.le_s $push7=, $1, $pop30 - br_if $pop7, 0 # 0: down to label3 + br_if 0, $pop7 # 0: down to label3 .LBB1_5: # %for.body6 # =>This Inner Loop Header: Depth=1 loop # label4: i32.add $push8=, $3, $5 i32.load8_s $push9=, 0($pop8) i32.ne $push10=, $pop9, $2 - br_if $pop10, 1 # 1: down to label5 + br_if 1, $pop10 # 1: down to label5 # BB#6: # %for.inc12 # in Loop: Header=BB1_5 Depth=1 i32.const $push11=, 1 i32.add $5=, $5, $pop11 i32.add $4=, $3, $5 i32.lt_s $push12=, $5, $1 - br_if $pop12, 0 # 0: up to label4 + br_if 0, $pop12 # 0: up to label4 br 2 # 2: down to label3 .LBB1_7: # %if.then10 end_loop # label5: @@ -83,42 +83,42 @@ check: # @check i32.load8_u $push13=, 0($4) i32.const $push31=, 97 i32.ne $push14=, $pop13, $pop31 - br_if $pop14, 0 # 0: down to label6 + br_if 0, $pop14 # 0: down to label6 # BB#9: # %for.inc25 i32.load8_u $push15=, 1($4) i32.const $push32=, 97 i32.ne $push16=, $pop15, $pop32 - br_if $pop16, 0 # 0: down to label6 + br_if 0, $pop16 # 0: down to label6 # BB#10: # %for.inc25.1 i32.load8_u $push17=, 2($4) i32.const $push33=, 97 i32.ne $push18=, $pop17, $pop33 - br_if $pop18, 0 # 0: down to label6 + br_if 0, $pop18 # 0: down to label6 # BB#11: # %for.inc25.2 i32.load8_u $push19=, 3($4) i32.const $push34=, 97 i32.ne $push20=, $pop19, $pop34 - br_if $pop20, 0 # 0: down to label6 + br_if 0, $pop20 # 0: down to label6 # BB#12: # %for.inc25.3 i32.load8_u $push21=, 4($4) i32.const $push35=, 97 i32.ne $push22=, $pop21, $pop35 - br_if $pop22, 0 # 0: down to label6 + br_if 0, $pop22 # 0: down to label6 # BB#13: # %for.inc25.4 i32.load8_u $push23=, 5($4) i32.const $push36=, 97 i32.ne $push24=, $pop23, $pop36 - br_if $pop24, 0 # 0: down to label6 + br_if 0, $pop24 # 0: down to label6 # BB#14: # %for.inc25.5 i32.load8_u $push25=, 6($4) i32.const $push37=, 97 i32.ne $push26=, $pop25, $pop37 - br_if $pop26, 0 # 0: down to label6 + br_if 0, $pop26 # 0: down to label6 # BB#15: # %for.inc25.6 i32.load8_u $push27=, 7($4) i32.const $push38=, 97 i32.ne $push28=, $pop27, $pop38 - br_if $pop28, 0 # 0: down to label6 + br_if 0, $pop28 # 0: down to label6 # BB#16: # %for.inc25.7 return .LBB1_17: # %if.then23 @@ -158,13 +158,13 @@ main: # @main i32.const $push104=, 1 i32.lt_s $push2=, $1, $pop104 tee_local $push103=, $4=, $pop2 - br_if $pop103, 0 # 0: down to label12 + br_if 0, $pop103 # 0: down to label12 .LBB2_2: # %for.body6.i # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label13: i32.load8_u $push3=, u($3) - br_if $pop3, 1 # 1: down to label14 + br_if 1, $pop3 # 1: down to label14 # BB#3: # %for.inc12.i # in Loop: Header=BB2_2 Depth=2 i32.const $push109=, u+1 @@ -173,7 +173,7 @@ main: # @main i32.add $0=, $3, $pop108 copy_local $3=, $0 i32.lt_s $push4=, $0, $1 - br_if $pop4, 0 # 0: up to label13 + br_if 0, $pop4 # 0: up to label13 br 2 # 2: down to label12 .LBB2_4: # %if.then10.i end_loop # label14: @@ -185,49 +185,49 @@ main: # @main i32.load8_u $push5=, 0($2) i32.const $push110=, 97 i32.ne $push6=, $pop5, $pop110 - br_if $pop6, 4 # 4: down to label7 + br_if 4, $pop6 # 4: down to label7 # BB#6: # %for.inc25.i # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push7=, 1($2) i32.const $push111=, 97 i32.ne $push8=, $pop7, $pop111 - br_if $pop8, 4 # 4: down to label7 + br_if 4, $pop8 # 4: down to label7 # BB#7: # %for.inc25.1.i # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push9=, 2($2) i32.const $push112=, 97 i32.ne $push10=, $pop9, $pop112 - br_if $pop10, 4 # 4: down to label7 + br_if 4, $pop10 # 4: down to label7 # BB#8: # %for.inc25.2.i # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push11=, 3($2) i32.const $push113=, 97 i32.ne $push12=, $pop11, $pop113 - br_if $pop12, 4 # 4: down to label7 + br_if 4, $pop12 # 4: down to label7 # BB#9: # %for.inc25.3.i # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push13=, 4($2) i32.const $push114=, 97 i32.ne $push14=, $pop13, $pop114 - br_if $pop14, 4 # 4: down to label7 + br_if 4, $pop14 # 4: down to label7 # BB#10: # %for.inc25.4.i # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push15=, 5($2) i32.const $push115=, 97 i32.ne $push16=, $pop15, $pop115 - br_if $pop16, 4 # 4: down to label7 + br_if 4, $pop16 # 4: down to label7 # BB#11: # %for.inc25.5.i # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push17=, 6($2) i32.const $push116=, 97 i32.ne $push18=, $pop17, $pop116 - br_if $pop18, 4 # 4: down to label7 + br_if 4, $pop18 # 4: down to label7 # BB#12: # %for.inc25.6.i # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push19=, 7($2) i32.const $push117=, 97 i32.ne $push20=, $pop19, $pop117 - br_if $pop20, 4 # 4: down to label7 + br_if 4, $pop20 # 4: down to label7 # BB#13: # %check.exit # in Loop: Header=BB2_1 Depth=1 i32.const $3=, 0 @@ -236,7 +236,7 @@ main: # @main i32.load8_u $push22=, A($pop118) i32.call $2=, memset@FUNCTION, $pop21, $pop22, $1 block - br_if $4, 0 # 0: down to label15 + br_if 0, $4 # 0: down to label15 .LBB2_14: # %for.body6.i241 # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 @@ -244,7 +244,7 @@ main: # @main i32.load8_u $push23=, u($3) i32.const $push119=, 65 i32.ne $push24=, $pop23, $pop119 - br_if $pop24, 1 # 1: down to label17 + br_if 1, $pop24 # 1: down to label17 # BB#15: # %for.inc12.i246 # in Loop: Header=BB2_14 Depth=2 i32.const $push121=, u+1 @@ -253,7 +253,7 @@ main: # @main i32.add $0=, $3, $pop120 copy_local $3=, $0 i32.lt_s $push25=, $0, $1 - br_if $pop25, 0 # 0: up to label16 + br_if 0, $pop25 # 0: up to label16 br 2 # 2: down to label15 .LBB2_16: # %if.then10.i242 end_loop # label17: @@ -265,49 +265,49 @@ main: # @main i32.load8_u $push26=, 0($2) i32.const $push122=, 97 i32.ne $push27=, $pop26, $pop122 - br_if $pop27, 3 # 3: down to label8 + br_if 3, $pop27 # 3: down to label8 # BB#18: # %for.inc25.i253 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push28=, 1($2) i32.const $push123=, 97 i32.ne $push29=, $pop28, $pop123 - br_if $pop29, 3 # 3: down to label8 + br_if 3, $pop29 # 3: down to label8 # BB#19: # %for.inc25.1.i256 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push30=, 2($2) i32.const $push124=, 97 i32.ne $push31=, $pop30, $pop124 - br_if $pop31, 3 # 3: down to label8 + br_if 3, $pop31 # 3: down to label8 # BB#20: # %for.inc25.2.i259 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push32=, 3($2) i32.const $push125=, 97 i32.ne $push33=, $pop32, $pop125 - br_if $pop33, 3 # 3: down to label8 + br_if 3, $pop33 # 3: down to label8 # BB#21: # %for.inc25.3.i262 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push34=, 4($2) i32.const $push126=, 97 i32.ne $push35=, $pop34, $pop126 - br_if $pop35, 3 # 3: down to label8 + br_if 3, $pop35 # 3: down to label8 # BB#22: # %for.inc25.4.i265 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push36=, 5($2) i32.const $push127=, 97 i32.ne $push37=, $pop36, $pop127 - br_if $pop37, 3 # 3: down to label8 + br_if 3, $pop37 # 3: down to label8 # BB#23: # %for.inc25.5.i268 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push38=, 6($2) i32.const $push128=, 97 i32.ne $push39=, $pop38, $pop128 - br_if $pop39, 3 # 3: down to label8 + br_if 3, $pop39 # 3: down to label8 # BB#24: # %for.inc25.6.i271 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push40=, 7($2) i32.const $push129=, 97 i32.ne $push41=, $pop40, $pop129 - br_if $pop41, 3 # 3: down to label8 + br_if 3, $pop41 # 3: down to label8 # BB#25: # %check.exit272 # in Loop: Header=BB2_1 Depth=1 i32.const $push42=, u @@ -315,7 +315,7 @@ main: # @main i32.call $2=, memset@FUNCTION, $pop42, $pop130, $1 i32.const $3=, 0 block - br_if $4, 0 # 0: down to label18 + br_if 0, $4 # 0: down to label18 .LBB2_26: # %for.body6.i278 # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 @@ -323,7 +323,7 @@ main: # @main i32.load8_u $push43=, u($3) i32.const $push131=, 66 i32.ne $push44=, $pop43, $pop131 - br_if $pop44, 1 # 1: down to label20 + br_if 1, $pop44 # 1: down to label20 # BB#27: # %for.inc12.i283 # in Loop: Header=BB2_26 Depth=2 i32.const $push133=, u+1 @@ -332,7 +332,7 @@ main: # @main i32.add $0=, $3, $pop132 copy_local $3=, $0 i32.lt_s $push45=, $0, $1 - br_if $pop45, 0 # 0: up to label19 + br_if 0, $pop45 # 0: up to label19 br 2 # 2: down to label18 .LBB2_28: # %if.then10.i279 end_loop # label20: @@ -344,49 +344,49 @@ main: # @main i32.load8_u $push46=, 0($2) i32.const $push134=, 97 i32.ne $push47=, $pop46, $pop134 - br_if $pop47, 2 # 2: down to label9 + br_if 2, $pop47 # 2: down to label9 # BB#30: # %for.inc25.i290 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push48=, 1($2) i32.const $push135=, 97 i32.ne $push49=, $pop48, $pop135 - br_if $pop49, 2 # 2: down to label9 + br_if 2, $pop49 # 2: down to label9 # BB#31: # %for.inc25.1.i293 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push50=, 2($2) i32.const $push136=, 97 i32.ne $push51=, $pop50, $pop136 - br_if $pop51, 2 # 2: down to label9 + br_if 2, $pop51 # 2: down to label9 # BB#32: # %for.inc25.2.i296 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push52=, 3($2) i32.const $push137=, 97 i32.ne $push53=, $pop52, $pop137 - br_if $pop53, 2 # 2: down to label9 + br_if 2, $pop53 # 2: down to label9 # BB#33: # %for.inc25.3.i299 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push54=, 4($2) i32.const $push138=, 97 i32.ne $push55=, $pop54, $pop138 - br_if $pop55, 2 # 2: down to label9 + br_if 2, $pop55 # 2: down to label9 # BB#34: # %for.inc25.4.i302 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push56=, 5($2) i32.const $push139=, 97 i32.ne $push57=, $pop56, $pop139 - br_if $pop57, 2 # 2: down to label9 + br_if 2, $pop57 # 2: down to label9 # BB#35: # %for.inc25.5.i305 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push58=, 6($2) i32.const $push140=, 97 i32.ne $push59=, $pop58, $pop140 - br_if $pop59, 2 # 2: down to label9 + br_if 2, $pop59 # 2: down to label9 # BB#36: # %for.inc25.6.i308 # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push60=, 7($2) i32.const $push141=, 97 i32.ne $push61=, $pop60, $pop141 - br_if $pop61, 2 # 2: down to label9 + br_if 2, $pop61 # 2: down to label9 # BB#37: # %for.cond # in Loop: Header=BB2_1 Depth=1 i32.const $push102=, 1 @@ -395,7 +395,7 @@ main: # @main i32.const $0=, 0 i32.const $push101=, 14 i32.le_s $push62=, $1, $pop101 - br_if $pop62, 0 # 0: up to label10 + br_if 0, $pop62 # 0: up to label10 .LBB2_38: # %for.body13 # =>This Inner Loop Header: Depth=1 end_loop # label11: @@ -425,7 +425,7 @@ main: # @main i32.add $0=, $0, $pop143 i32.const $push142=, 15 i32.ne $push66=, $0, $pop142 - br_if $pop66, 0 # 0: up to label21 + br_if 0, $pop66 # 0: up to label21 .LBB2_39: # %for.body33 # =>This Inner Loop Header: Depth=1 end_loop # label22: @@ -456,7 +456,7 @@ main: # @main i32.const $0=, 0 i32.const $push155=, 15 i32.ne $push70=, $3, $pop155 - br_if $pop70, 0 # 0: up to label23 + br_if 0, $pop70 # 0: up to label23 .LBB2_40: # %for.body53 # =>This Inner Loop Header: Depth=1 end_loop # label24: @@ -486,7 +486,7 @@ main: # @main i32.add $0=, $0, $pop168 i32.const $push167=, 15 i32.ne $push75=, $0, $pop167 - br_if $pop75, 0 # 0: up to label25 + br_if 0, $pop75 # 0: up to label25 .LBB2_41: # %for.body73 # =>This Inner Loop Header: Depth=1 end_loop # label26: @@ -517,7 +517,7 @@ main: # @main i32.const $3=, 0 i32.const $push179=, 15 i32.ne $push79=, $1, $pop179 - br_if $pop79, 0 # 0: up to label27 + br_if 0, $pop79 # 0: up to label27 .LBB2_42: # %for.body93 # =>This Inner Loop Header: Depth=1 end_loop # label28: @@ -547,7 +547,7 @@ main: # @main i32.add $3=, $3, $pop192 i32.const $push191=, 15 i32.ne $push84=, $3, $pop191 - br_if $pop84, 0 # 0: up to label29 + br_if 0, $pop84 # 0: up to label29 .LBB2_43: # %for.body113 # =>This Inner Loop Header: Depth=1 end_loop # label30: @@ -577,7 +577,7 @@ main: # @main i32.const $3=, 0 i32.const $push203=, 15 i32.ne $push88=, $0, $pop203 - br_if $pop88, 0 # 0: up to label31 + br_if 0, $pop88 # 0: up to label31 .LBB2_44: # %for.body133 # =>This Inner Loop Header: Depth=1 end_loop # label32: @@ -607,7 +607,7 @@ main: # @main i32.add $3=, $3, $pop97 i32.const $push98=, 15 i32.ne $push99=, $3, $pop98 - br_if $pop99, 0 # 0: up to label33 + br_if 0, $pop99 # 0: up to label33 # BB#45: # %for.end149 end_loop # label34: i32.const $push100=, 0 diff --git a/test/torture-s/mod-1.c.s b/test/torture-s/mod-1.c.s index 976e60ad0..5d7f963ba 100644 --- a/test/torture-s/mod-1.c.s +++ b/test/torture-s/mod-1.c.s @@ -10,7 +10,7 @@ f: # @f # BB#0: # %entry block i32.rem_s $push0=, $0, $1 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end return $1 .LBB0_2: # %if.then diff --git a/test/torture-s/multi-ix.c.s b/test/torture-s/multi-ix.c.s index 70bbba1b0..eeeb517c7 100644 --- a/test/torture-s/multi-ix.c.s +++ b/test/torture-s/multi-ix.c.s @@ -17,7 +17,7 @@ f: # @f block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -939,7 +939,7 @@ f: # @f i32.store $217=, 0($53), $217 i32.const $push82=, -1 i32.add $0=, $0, $pop82 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 .LBB0_2: # %for.end end_loop # label2: end_block # label0: @@ -971,7 +971,7 @@ s: # @s block i32.const $push14=, 0 i32.eq $push15=, $0, $pop14 - br_if $pop15, 0 # 0: down to label3 + br_if 0, $pop15 # 0: down to label3 # BB#1: # %while.body.preheader i32.const $push7=, -1 i32.add $0=, $0, $pop7 @@ -993,7 +993,7 @@ s: # @s i32.add $0=, $pop5, $pop9 i32.const $push8=, -1 i32.ne $push6=, $0, $pop8 - br_if $pop6, 0 # 0: up to label4 + br_if 0, $pop6 # 0: up to label4 .LBB1_3: # %while.end end_loop # label5: end_block # label3: @@ -1025,7 +1025,7 @@ z: # @z block i32.const $push12=, 0 i32.eq $push13=, $0, $pop12 - br_if $pop13, 0 # 0: down to label6 + br_if 0, $pop13 # 0: down to label6 .LBB2_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label7: @@ -1044,7 +1044,7 @@ z: # @z i32.const $push10=, 0 i32.const $push9=, 2000 i32.call $discard=, memset@FUNCTION, $pop8, $pop10, $pop9 - br_if $0, 0 # 0: up to label7 + br_if 0, $0 # 0: up to label7 .LBB2_2: # %while.end end_loop # label8: end_block # label6: @@ -1083,7 +1083,7 @@ c: # @c loop # label10: i32.const $push16=, 0 i32.eq $push17=, $0, $pop16 - br_if $pop17, 2 # 2: down to label9 + br_if 2, $pop17 # 2: down to label9 # BB#2: # %while.body # in Loop: Header=BB3_1 Depth=1 i32.load $push2=, 12($6) @@ -1103,7 +1103,7 @@ c: # @c i32.add $1=, $1, $pop10 i32.load $push7=, 0($2) i32.eq $push8=, $0, $pop7 - br_if $pop8, 0 # 0: up to label10 + br_if 0, $pop8 # 0: up to label10 # BB#3: # %if.then end_loop # label11: call abort@FUNCTION diff --git a/test/torture-s/nestfunc-4.c.s b/test/torture-s/nestfunc-4.c.s index 398edcaac..5ca8f468e 100644 --- a/test/torture-s/nestfunc-4.c.s +++ b/test/torture-s/nestfunc-4.c.s @@ -64,7 +64,7 @@ bar: # @bar tee_local $push5=, $1=, $pop0 i32.const $push2=, 499 i32.gt_s $push3=, $pop5, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %cond.false i32.call $0=, foo@FUNCTION .LBB2_2: # %cond.end diff --git a/test/torture-s/p18298.c.s b/test/torture-s/p18298.c.s index 803951b16..a9a5087d3 100644 --- a/test/torture-s/p18298.c.s +++ b/test/torture-s/p18298.c.s @@ -29,7 +29,7 @@ main: # @main i32.load8_u $push0=, s($pop1):p2align=4 i32.const $push5=, 0 i32.eq $push6=, $pop0, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %while.body i32.const $push3=, 0 i32.const $push2=, 0 diff --git a/test/torture-s/packed-1.c.s b/test/torture-s/packed-1.c.s index cb2be74dd..7e1acc410 100644 --- a/test/torture-s/packed-1.c.s +++ b/test/torture-s/packed-1.c.s @@ -15,7 +15,7 @@ f: # @f i32.store16 $push2=, t($pop0), $pop1 i32.const $push3=, 17 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end return $0 .LBB0_2: # %if.then diff --git a/test/torture-s/pending-4.c.s b/test/torture-s/pending-4.c.s index 31db7f3c6..aab442f20 100644 --- a/test/torture-s/pending-4.c.s +++ b/test/torture-s/pending-4.c.s @@ -31,13 +31,13 @@ main: # @main block i32.const $push6=, 1 i32.eq $push0=, $4, $pop6 - br_if $pop0, 0 # 0: down to label3 + br_if 0, $pop0 # 0: down to label3 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 block i32.const $push10=, 0 i32.eq $push11=, $4, $pop10 - br_if $pop11, 0 # 0: down to label4 + br_if 0, $pop11 # 0: down to label4 # BB#3: # %if.else # in Loop: Header=BB1_1 Depth=1 i32.const $push8=, 1 @@ -48,11 +48,11 @@ main: # @main block i32.const $push1=, 1 i32.ne $push2=, $2, $pop1 - br_if $pop2, 0 # 0: down to label5 + br_if 0, $pop2 # 0: down to label5 # BB#5: # %for.end i32.const $push3=, 7 i32.ne $push4=, $3, $pop3 - br_if $pop4, 0 # 0: down to label5 + br_if 0, $pop4 # 0: down to label5 # BB#6: # %if.end7 i32.const $push5=, 0 call exit@FUNCTION, $pop5 diff --git a/test/torture-s/postmod-1.c.s b/test/torture-s/postmod-1.c.s index 5a88f30f5..04cfab6d0 100644 --- a/test/torture-s/postmod-1.c.s +++ b/test/torture-s/postmod-1.c.s @@ -147,7 +147,7 @@ foo: # @foo i32.store $discard=, vol($pop79), $pop45 i32.const $push77=, -1 i32.add $0=, $0, $pop77 - br_if $0, 0 # 0: up to label2 + br_if 0, $0 # 0: up to label2 # BB#3: # %for.end # in Loop: Header=BB0_1 Depth=1 end_loop # label3: @@ -155,7 +155,7 @@ foo: # @foo i32.load $push46=, stop($pop88) i32.const $push89=, 0 i32.eq $push90=, $pop46, $pop89 - br_if $pop90, 0 # 0: up to label0 + br_if 0, $pop90 # 0: up to label0 # BB#4: # %do.end end_loop # label1: return diff --git a/test/torture-s/pr15296.c.s b/test/torture-s/pr15296.c.s index 602502d3d..2b8271c48 100644 --- a/test/torture-s/pr15296.c.s +++ b/test/torture-s/pr15296.c.s @@ -9,7 +9,7 @@ f: # @f # BB#0: # %entry block i32.ge_s $push1=, $3, $4 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 .LBB0_1: # %l0 # =>This Inner Loop Header: Depth=1 loop # label1: @@ -24,10 +24,10 @@ f: # @f block i32.const $push12=, 0 i32.eq $push13=, $3, $pop12 - br_if $pop13, 0 # 0: down to label6 + br_if 0, $pop13 # 0: down to label6 # BB#3: # %if.end3 copy_local $4=, $5 - br_if $5, 0 # 0: down to label6 + br_if 0, $5 # 0: down to label6 # BB#4: # %if.end6 block i32.const $push3=, 4 @@ -35,7 +35,7 @@ f: # @f i32.load $push0=, 0($1) i32.load $push2=, 0($pop0) i32.store $push5=, 0($pop4), $pop2 - br_if $pop5, 0 # 0: down to label7 + br_if 0, $pop5 # 0: down to label7 # BB#5: # %if.end12 i32.const $push6=, 0 i32.const $push7=, -1 @@ -53,11 +53,11 @@ f: # @f i32.const $push8=, 4 i32.add $push9=, $1, $pop8 i32.store $1=, 0($pop9), $4 - br_if $3, 2 # 2: down to label3 + br_if 2, $3 # 2: down to label3 # BB#8: # %if.end19 i32.const $push14=, 0 i32.eq $push15=, $1, $pop14 - br_if $pop15, 1 # 1: down to label4 + br_if 1, $pop15 # 1: down to label4 # BB#9: # %if.end24 i32.store $discard=, 8($1), $3 .LBB0_10: # %l4 @@ -147,10 +147,10 @@ main: # @main i32.add $9=, $13, $9 block i32.ne $push16=, $pop15, $9 - br_if $pop16, 0 # 0: down to label8 + br_if 0, $pop16 # 0: down to label8 # BB#1: # %lor.lhs.false i32.load $push17=, 0($0):p2align=3 - br_if $pop17, 0 # 0: down to label8 + br_if 0, $pop17 # 0: down to label8 # BB#2: # %lor.lhs.false6 i32.const $push18=, 12 i32.const $10=, 8 @@ -159,7 +159,7 @@ main: # @main i32.load $push20=, 0($pop19) i32.const $push21=, 999 i32.ne $push22=, $pop20, $pop21 - br_if $pop22, 0 # 0: down to label8 + br_if 0, $pop22 # 0: down to label8 # BB#3: # %lor.lhs.false11 i32.const $push23=, 16 i32.const $11=, 8 @@ -168,12 +168,12 @@ main: # @main i32.load $push25=, 0($pop24):p2align=3 i32.const $push26=, 777 i32.ne $push27=, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label8 + br_if 0, $pop27 # 0: down to label8 # BB#4: # %lor.lhs.false16 i64.load $push28=, 32($13):p2align=4 i64.const $push29=, 953482739823 i64.ne $push30=, $pop28, $pop29 - br_if $pop30, 0 # 0: down to label8 + br_if 0, $pop30 # 0: down to label8 # BB#5: # %lor.lhs.false24 i32.const $push31=, 8 i32.const $12=, 32 @@ -182,7 +182,7 @@ main: # @main i64.load $push33=, 0($pop32) i64.const $push34=, 1906965479424 i64.ne $push35=, $pop33, $pop34 - br_if $pop35, 0 # 0: down to label8 + br_if 0, $pop35 # 0: down to label8 # BB#6: # %if.end i32.const $push36=, 0 call exit@FUNCTION, $pop36 diff --git a/test/torture-s/pr17133.c.s b/test/torture-s/pr17133.c.s index ed2462fd8..95ac27652 100644 --- a/test/torture-s/pr17133.c.s +++ b/test/torture-s/pr17133.c.s @@ -21,13 +21,13 @@ pure_alloc: # @pure_alloc i32.add $push1=, $pop11, $pop10 i32.store $push2=, foo($pop13), $pop1 i32.lt_u $push3=, $pop2, $1 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 .LBB0_1: # %if.end # =>This Inner Loop Header: Depth=1 loop # label1: i32.const $push16=, 2 i32.le_u $push4=, $1, $pop16 - br_if $pop4, 0 # 0: up to label1 + br_if 0, $pop4 # 0: up to label1 # BB#2: # %while.body.if.then_crit_edge end_loop # label2: i32.const $2=, 0 @@ -65,9 +65,9 @@ main: # @main i32.store $push4=, foo($pop13), $pop0 tee_local $push11=, $1=, $pop4 i32.ge_u $push5=, $pop11, $0 - br_if $pop5, 0 # 0: down to label5 + br_if 0, $pop5 # 0: down to label5 # BB#1: # %pure_alloc.exit - br_if $1, 1 # 1: down to label4 + br_if 1, $1 # 1: down to label4 # BB#2: # %if.then call abort@FUNCTION unreachable @@ -75,7 +75,7 @@ main: # @main end_block # label5: i32.const $push6=, 3 i32.lt_u $push7=, $0, $pop6 - br_if $pop7, 1 # 1: down to label3 + br_if 1, $pop7 # 1: down to label3 # BB#4: # %pure_alloc.exit.thread.split i32.const $push8=, 0 i32.const $push9=, 2 diff --git a/test/torture-s/pr17252.c.s b/test/torture-s/pr17252.c.s index 7827ea331..4683430e6 100644 --- a/test/torture-s/pr17252.c.s +++ b/test/torture-s/pr17252.c.s @@ -18,7 +18,7 @@ main: # @main i32.const $push4=, 0 i32.load $push2=, a($pop4) i32.eq $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push7=, 0 return $pop7 diff --git a/test/torture-s/pr19005.c.s b/test/torture-s/pr19005.c.s index 4014106a3..a2786b5a7 100644 --- a/test/torture-s/pr19005.c.s +++ b/test/torture-s/pr19005.c.s @@ -21,18 +21,18 @@ bar: # @bar tee_local $push17=, $3=, $pop1 i32.const $push22=, 0 i32.eq $push23=, $pop17, $pop22 - br_if $pop23, 0 # 0: down to label2 + br_if 0, $pop23 # 0: down to label2 # BB#1: # %if.else block i32.ne $push6=, $2, $1 - br_if $pop6, 0 # 0: down to label3 + br_if 0, $pop6 # 0: down to label3 # BB#2: # %if.else i32.const $push4=, 1 i32.add $push5=, $4, $pop4 i32.const $push21=, 255 i32.and $push3=, $pop5, $pop21 i32.eq $push7=, $pop3, $0 - br_if $pop7, 2 # 2: down to label1 + br_if 2, $pop7 # 2: down to label1 .LBB0_3: # %if.then19 end_block # label3: call abort@FUNCTION @@ -40,14 +40,14 @@ bar: # @bar .LBB0_4: # %if.then end_block # label2: i32.ne $push8=, $2, $0 - br_if $pop8, 1 # 1: down to label0 + br_if 1, $pop8 # 1: down to label0 # BB#5: # %lor.lhs.false i32.const $push9=, 1 i32.add $push10=, $4, $pop9 i32.const $push11=, 255 i32.and $push12=, $pop10, $pop11 i32.ne $push13=, $pop12, $1 - br_if $pop13, 1 # 1: down to label0 + br_if 1, $pop13 # 1: down to label0 .LBB0_6: # %if.end21 end_block # label1: i32.const $push16=, 0 @@ -93,18 +93,18 @@ foo: # @foo tee_local $push19=, $0=, $pop1 i32.const $push32=, 0 i32.eq $push33=, $pop19, $pop32 - br_if $pop33, 0 # 0: down to label8 + br_if 0, $pop33 # 0: down to label8 # BB#1: # %if.else.i block i32.ne $push5=, $3, $2 - br_if $pop5, 0 # 0: down to label9 + br_if 0, $pop5 # 0: down to label9 # BB#2: # %if.else.i i32.const $push29=, 1 i32.add $push4=, $4, $pop29 i32.const $push28=, 255 i32.and $4=, $pop4, $pop28 i32.ne $push6=, $4, $1 - br_if $pop6, 0 # 0: down to label9 + br_if 0, $pop6 # 0: down to label9 # BB#3: # %bar.exit i32.const $push9=, 0 i32.const $push7=, 1 @@ -112,7 +112,7 @@ foo: # @foo i32.store $discard=, s($pop9), $pop8 i32.const $push30=, 1 i32.eq $push10=, $0, $pop30 - br_if $pop10, 3 # 3: down to label6 + br_if 3, $pop10 # 3: down to label6 br 2 # 2: down to label7 .LBB1_4: # %if.then19.i end_block # label9: @@ -121,14 +121,14 @@ foo: # @foo .LBB1_5: # %if.then.i end_block # label8: i32.ne $push11=, $3, $1 - br_if $pop11, 3 # 3: down to label4 + br_if 3, $pop11 # 3: down to label4 # BB#6: # %lor.lhs.false.i i32.const $push26=, 1 i32.add $push12=, $4, $pop26 i32.const $push13=, 255 i32.and $4=, $pop12, $pop13 i32.ne $push14=, $4, $2 - br_if $pop14, 3 # 3: down to label4 + br_if 3, $pop14 # 3: down to label4 # BB#7: # %bar.exit.thread i32.const $push15=, 0 i32.const $push27=, 1 @@ -136,10 +136,10 @@ foo: # @foo .LBB1_8: # %if.else.i40 end_block # label7: i32.ne $push16=, $3, $1 - br_if $pop16, 1 # 1: down to label5 + br_if 1, $pop16 # 1: down to label5 # BB#9: # %if.else.i40 i32.ne $push17=, $4, $2 - br_if $pop17, 1 # 1: down to label5 + br_if 1, $pop17 # 1: down to label5 .LBB1_10: # %bar.exit43 end_block # label6: i32.const $push18=, 0 @@ -181,7 +181,7 @@ main: # @main i32.store $0=, v($pop9), $pop0 i32.const $push6=, 266 i32.lt_s $push3=, $0, $pop6 - br_if $pop3, 0 # 0: up to label10 + br_if 0, $pop3 # 0: up to label10 # BB#2: # %for.end end_loop # label11: i32.const $push4=, 0 diff --git a/test/torture-s/pr19449.c.s b/test/torture-s/pr19449.c.s index ea6d34957..1ce8ac8fe 100644 --- a/test/torture-s/pr19449.c.s +++ b/test/torture-s/pr19449.c.s @@ -24,13 +24,13 @@ main: # @main block i32.const $push5=, 0 i32.load $push1=, y($pop5) - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push6=, 0 i32.load $push0=, z($pop6) i32.const $push2=, 3 i32.ne $push3=, $pop0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %lor.lhs.false1 i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr19606.c.s b/test/torture-s/pr19606.c.s index 0c94b57e2..ed08812ba 100644 --- a/test/torture-s/pr19606.c.s +++ b/test/torture-s/pr19606.c.s @@ -48,14 +48,14 @@ main: # @main i32.shr_u $push3=, $pop11, $pop2 i32.const $push4=, 2147483646 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end block i32.const $push6=, 5 i32.rem_u $push7=, $0, $pop6 i32.const $push8=, 2 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#2: # %if.end7 i32.const $push10=, 0 call exit@FUNCTION, $pop10 diff --git a/test/torture-s/pr20100-1.c.s b/test/torture-s/pr20100-1.c.s index 4e4b5c408..5d3fd4bac 100644 --- a/test/torture-s/pr20100-1.c.s +++ b/test/torture-s/pr20100-1.c.s @@ -48,7 +48,7 @@ get_n: # @get_n i32.load16_u $push14=, g($pop16) tee_local $push15=, $2=, $pop14 i32.eq $push1=, $pop17, $pop15 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %while.body.lr.ph i32.const $push19=, 0 i32.load8_u $push2=, e($pop19) @@ -72,13 +72,13 @@ get_n: # @get_n i32.and $push7=, $1, $pop21 i32.const $push20=, 4 i32.gt_u $push8=, $pop7, $pop20 - br_if $pop8, 1 # 1: down to label2 + br_if 1, $pop8 # 1: down to label2 # BB#3: # %while.body # in Loop: Header=BB1_2 Depth=1 i32.const $push27=, 65535 i32.and $push9=, $2, $pop27 i32.ne $push10=, $3, $pop9 - br_if $pop10, 0 # 0: up to label1 + br_if 0, $pop10 # 0: up to label1 .LBB1_4: # %while.cond.while.end_crit_edge end_loop # label2: i32.const $push11=, 0 diff --git a/test/torture-s/pr20527-1.c.s b/test/torture-s/pr20527-1.c.s index ca395029e..c1ee2abeb 100644 --- a/test/torture-s/pr20527-1.c.s +++ b/test/torture-s/pr20527-1.c.s @@ -10,7 +10,7 @@ f: # @f # BB#0: # %entry block i32.gt_s $push0=, $2, $3 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push1=, 2 i32.shl $push2=, $2, $pop1 @@ -41,7 +41,7 @@ f: # @f i32.const $push13=, 4 i32.add $0=, $0, $pop13 i32.lt_s $push9=, $4, $3 - br_if $pop9, 0 # 0: up to label1 + br_if 0, $pop9 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: @@ -74,17 +74,17 @@ main: # @main i32.load $push3=, 4($3) i32.const $push4=, 3 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label3 + br_if 0, $pop5 # 0: down to label3 # BB#1: # %lor.lhs.false i32.load $push6=, 8($3) i32.const $push7=, 9 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label3 + br_if 0, $pop8 # 0: down to label3 # BB#2: # %lor.lhs.false3 i32.load $push9=, 12($3) i32.const $push10=, 21 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#3: # %if.end i32.const $push12=, 0 call exit@FUNCTION, $pop12 diff --git a/test/torture-s/pr20601-1.c.s b/test/torture-s/pr20601-1.c.s index 0513cb82c..adde90e22 100644 --- a/test/torture-s/pr20601-1.c.s +++ b/test/torture-s/pr20601-1.c.s @@ -60,7 +60,7 @@ main: # @main i32.load8_u $push12=, 0($pop46) i32.const $push45=, 45 i32.ne $push13=, $pop12, $pop45 - br_if $pop13, 1 # 1: down to label4 + br_if 1, $pop13 # 1: down to label4 # BB#2: # %while.body.i # in Loop: Header=BB2_1 Depth=1 block @@ -68,13 +68,13 @@ main: # @main tee_local $push47=, $3=, $pop1 i32.const $push70=, 0 i32.eq $push71=, $pop47, $pop70 - br_if $pop71, 0 # 0: down to label5 + br_if 0, $pop71 # 0: down to label5 # BB#3: # %land.lhs.true.i # in Loop: Header=BB2_1 Depth=1 i32.load8_u $push14=, 2($5) i32.const $push72=, 0 i32.eq $push73=, $pop14, $pop72 - br_if $pop73, 0 # 0: down to label5 + br_if 0, $pop73 # 0: down to label5 # BB#4: # %if.then.i call abort@FUNCTION unreachable @@ -85,18 +85,18 @@ main: # @main block i32.const $push48=, 80 i32.eq $push15=, $3, $pop48 - br_if $pop15, 0 # 0: down to label7 + br_if 0, $pop15 # 0: down to label7 # BB#6: # %if.end.i # in Loop: Header=BB2_1 Depth=1 block i32.const $push49=, 117 i32.eq $push16=, $3, $pop49 - br_if $pop16, 0 # 0: down to label8 + br_if 0, $pop16 # 0: down to label8 # BB#7: # %if.end.i # in Loop: Header=BB2_1 Depth=1 i32.const $push50=, 45 i32.ne $push17=, $3, $pop50 - br_if $pop17, 2 # 2: down to label6 + br_if 2, $pop17 # 2: down to label6 # BB#8: # %sw.bb22.i i32.const $push23=, 1536 i32.or $push24=, $1, $pop23 @@ -119,7 +119,7 @@ main: # @main i32.load $push25=, 4($0) i32.const $push74=, 0 i32.eq $push75=, $pop25, $pop74 - br_if $pop75, 0 # 0: down to label9 + br_if 0, $pop75 # 0: down to label9 # BB#10: # %if.end19.i # in Loop: Header=BB2_1 Depth=1 i32.const $push54=, 0 @@ -153,16 +153,16 @@ main: # @main i32.const $push57=, 0 i32.add $push7=, $0, $2 i32.store $0=, e($pop57), $pop7 - br_if $3, 0 # 0: up to label3 + br_if 0, $3 # 0: up to label3 .LBB2_14: # %while.end.i end_loop # label4: i32.const $push61=, 1 i32.lt_s $push27=, $4, $pop61 - br_if $pop27, 0 # 0: down to label2 + br_if 0, $pop27 # 0: down to label2 # BB#15: # %while.end.i i32.const $push62=, 1 i32.and $push26=, $1, $pop62 - br_if $pop26, 0 # 0: down to label2 + br_if 0, $pop26 # 0: down to label2 # BB#16: # %if.then36.i call abort@FUNCTION unreachable @@ -176,7 +176,7 @@ main: # @main i32.and $push30=, $1, $pop29 i32.const $push76=, 0 i32.eq $push77=, $pop30, $pop76 - br_if $pop77, 0 # 0: down to label10 + br_if 0, $pop77 # 0: down to label10 # BB#18: # %if.then6.i i32.const $push66=, 0 i32.const $push31=, 1 @@ -198,7 +198,7 @@ main: # @main i32.store $3=, f($4), $pop36 i32.const $push67=, 4 i32.add $4=, $4, $pop67 - br_if $3, 0 # 0: up to label11 + br_if 0, $3 # 0: up to label11 .LBB2_20: # %setup1.exit end_loop # label12: end_block # label10: @@ -207,11 +207,11 @@ main: # @main i32.and $push39=, $1, $pop38 i32.const $push78=, 0 i32.eq $push79=, $pop39, $pop78 - br_if $pop79, 0 # 0: down to label13 + br_if 0, $pop79 # 0: down to label13 # BB#21: # %setup1.exit i32.const $push69=, 0 i32.load $push37=, a+16($pop69):p2align=4 - br_if $pop37, 0 # 0: down to label13 + br_if 0, $pop37 # 0: down to label13 # BB#22: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/pr21173.c.s b/test/torture-s/pr21173.c.s index 87375883a..2ef20f700 100644 --- a/test/torture-s/pr21173.c.s +++ b/test/torture-s/pr21173.c.s @@ -39,7 +39,7 @@ main: # @main i32.const $push3=, 0 i32.load $push1=, a+4($pop3) i32.or $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.cond.1 i32.const $push5=, 0 return $pop5 diff --git a/test/torture-s/pr21964-1.c.s b/test/torture-s/pr21964-1.c.s index 675c64a85..55df7fab5 100644 --- a/test/torture-s/pr21964-1.c.s +++ b/test/torture-s/pr21964-1.c.s @@ -10,11 +10,11 @@ foo: # @foo block i32.const $push1=, 0 i32.eq $push2=, $1, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry i32.const $push3=, 0 i32.eq $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#2: # %if.then2.split call abort@FUNCTION unreachable diff --git a/test/torture-s/pr22098-3.c.s b/test/torture-s/pr22098-3.c.s index a57edf313..8e6436630 100644 --- a/test/torture-s/pr22098-3.c.s +++ b/test/torture-s/pr22098-3.c.s @@ -34,7 +34,7 @@ main: # @main i32.add $push2=, $pop3, $pop1 i32.store $discard=, n($pop5), $pop2 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/pr22348.c.s b/test/torture-s/pr22348.c.s index ca7cb1682..d4cbcf2fd 100644 --- a/test/torture-s/pr22348.c.s +++ b/test/torture-s/pr22348.c.s @@ -10,7 +10,7 @@ f: # @f block i32.const $push0=, 53 i32.ge_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/pr22630.c.s b/test/torture-s/pr22630.c.s index 8a133005e..ad9ff6947 100644 --- a/test/torture-s/pr22630.c.s +++ b/test/torture-s/pr22630.c.s @@ -11,7 +11,7 @@ bla: # @bla i32.const $push0=, j i32.select $push1=, $0, $pop0, $0 i32.eq $push2=, $pop1, $0 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then1 i32.const $push3=, 0 i32.const $push4=, 1 diff --git a/test/torture-s/pr23047.c.s b/test/torture-s/pr23047.c.s index 7a61fe177..0df9a231f 100644 --- a/test/torture-s/pr23047.c.s +++ b/test/torture-s/pr23047.c.s @@ -16,7 +16,7 @@ f: # @f i32.xor $push3=, $pop2, $1 i32.const $push4=, -1 i32.gt_s $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.then return .LBB0_2: # %if.end diff --git a/test/torture-s/pr23135.c.s b/test/torture-s/pr23135.c.s index 9fd4246be..2e561307d 100644 --- a/test/torture-s/pr23135.c.s +++ b/test/torture-s/pr23135.c.s @@ -9,10 +9,10 @@ verify: # @verify # BB#0: # %entry block i32.ne $push0=, $0, $2 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %entry i32.ne $push1=, $1, $3 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then @@ -51,11 +51,11 @@ main: # @main tee_local $push103=, $15=, $pop18 i32.const $push19=, 160 i32.ne $push20=, $pop103, $pop19 - br_if $pop20, 0 # 0: down to label1 + br_if 0, $pop20 # 0: down to label1 # BB#1: # %entry i32.const $push21=, 113 i32.ne $push22=, $3, $pop21 - br_if $pop22, 0 # 0: down to label1 + br_if 0, $pop22 # 0: down to label1 # BB#2: # %verify.exit i32.const $push23=, 0 i32.mul $push4=, $1, $0 @@ -66,11 +66,11 @@ main: # @main block i32.const $push24=, 1500 i32.ne $push25=, $4, $pop24 - br_if $pop25, 0 # 0: down to label2 + br_if 0, $pop25 # 0: down to label2 # BB#3: # %verify.exit i32.const $push26=, 1300 i32.ne $push27=, $5, $pop26 - br_if $pop27, 0 # 0: down to label2 + br_if 0, $pop27 # 0: down to label2 # BB#4: # %verify.exit48 i32.div_s $2=, $16, $17 i32.const $push28=, 0 @@ -81,11 +81,11 @@ main: # @main block i32.const $push29=, 15 i32.ne $push30=, $6, $pop29 - br_if $pop30, 0 # 0: down to label3 + br_if 0, $pop30 # 0: down to label3 # BB#5: # %verify.exit48 i32.const $push31=, 7 i32.ne $push32=, $2, $pop31 - br_if $pop32, 0 # 0: down to label3 + br_if 0, $pop32 # 0: down to label3 # BB#6: # %verify.exit54 i32.const $push33=, 0 i32.and $push7=, $1, $0 @@ -96,11 +96,11 @@ main: # @main block i32.const $push34=, 2 i32.ne $push35=, $7, $pop34 - br_if $pop35, 0 # 0: down to label4 + br_if 0, $pop35 # 0: down to label4 # BB#7: # %verify.exit54 i32.const $push36=, 4 i32.ne $push37=, $8, $pop36 - br_if $pop37, 0 # 0: down to label4 + br_if 0, $pop37 # 0: down to label4 # BB#8: # %verify.exit60 i32.const $push38=, 0 i32.or $push9=, $1, $0 @@ -111,11 +111,11 @@ main: # @main block i32.const $push39=, 158 i32.ne $push40=, $9, $pop39 - br_if $pop40, 0 # 0: down to label5 + br_if 0, $pop40 # 0: down to label5 # BB#9: # %verify.exit60 i32.const $push41=, 109 i32.ne $push42=, $10, $pop41 - br_if $pop42, 0 # 0: down to label5 + br_if 0, $pop42 # 0: down to label5 # BB#10: # %verify.exit66 i32.const $push43=, 0 i32.xor $push11=, $0, $1 @@ -126,11 +126,11 @@ main: # @main block i32.const $push44=, 156 i32.ne $push45=, $1, $pop44 - br_if $pop45, 0 # 0: down to label6 + br_if 0, $pop45 # 0: down to label6 # BB#11: # %verify.exit66 i32.const $push46=, 105 i32.ne $push47=, $17, $pop46 - br_if $pop47, 0 # 0: down to label6 + br_if 0, $pop47 # 0: down to label6 # BB#12: # %verify.exit72 i32.const $push48=, 0 i32.const $push118=, 0 @@ -143,11 +143,11 @@ main: # @main block i32.const $push49=, -150 i32.ne $push50=, $11, $pop49 - br_if $pop50, 0 # 0: down to label7 + br_if 0, $pop50 # 0: down to label7 # BB#13: # %verify.exit72 i32.const $push51=, -100 i32.ne $push52=, $12, $pop51 - br_if $pop52, 0 # 0: down to label7 + br_if 0, $pop52 # 0: down to label7 # BB#14: # %verify.exit78 i32.const $push54=, 0 i32.const $push53=, -1 @@ -160,11 +160,11 @@ main: # @main block i32.const $push55=, 150 i32.ne $push56=, $0, $pop55 - br_if $pop56, 0 # 0: down to label8 + br_if 0, $pop56 # 0: down to label8 # BB#15: # %verify.exit78 i32.const $push57=, -101 i32.ne $push58=, $14, $pop57 - br_if $pop58, 0 # 0: down to label8 + br_if 0, $pop58 # 0: down to label8 # BB#16: # %verify.exit84 i32.const $push71=, 0 i32.add $push60=, $4, $15 @@ -189,11 +189,11 @@ main: # @main block i32.const $push72=, 1675 i32.ne $push73=, $0, $pop72 - br_if $pop73, 0 # 0: down to label9 + br_if 0, $pop73 # 0: down to label9 # BB#17: # %verify.exit84 i32.const $push74=, 1430 i32.ne $push75=, $16, $pop74 - br_if $pop75, 0 # 0: down to label9 + br_if 0, $pop75 # 0: down to label9 # BB#18: # %verify.exit90 i32.const $push88=, 0 i32.mul $push77=, $4, $15 @@ -218,11 +218,11 @@ main: # @main block i32.const $push89=, 1456467968 i32.ne $push90=, $0, $pop89 - br_if $pop90, 0 # 0: down to label10 + br_if 0, $pop90 # 0: down to label10 # BB#19: # %verify.exit90 i32.const $push91=, -1579586240 i32.ne $push92=, $16, $pop91 - br_if $pop92, 0 # 0: down to label10 + br_if 0, $pop92 # 0: down to label10 # BB#20: # %verify.exit96 i32.div_s $0=, $3, $5 i32.div_s $push93=, $15, $4 @@ -248,7 +248,7 @@ main: # @main i32.const $push127=, 0 i32.store $push101=, res+4($pop127), $0 i32.or $push102=, $pop100, $pop101 - br_if $pop102, 0 # 0: down to label11 + br_if 0, $pop102 # 0: down to label11 # BB#21: # %verify.exit102 i32.const $push131=, 0 call exit@FUNCTION, $pop131 diff --git a/test/torture-s/pr23324.c.s b/test/torture-s/pr23324.c.s index 0138f5543..bf6b139ed 100644 --- a/test/torture-s/pr23324.c.s +++ b/test/torture-s/pr23324.c.s @@ -13,35 +13,35 @@ main: # @main f64.load $push2=, wv6+32($pop13) tee_local $push12=, $0=, $pop2 f64.ne $push3=, $pop12, $0 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %caller_bf6.exit block i32.const $push15=, 0 f32.load $push4=, yv7($pop15):p2align=3 tee_local $push14=, $1=, $pop4 f32.ne $push5=, $pop14, $1 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end26.i.i block i32.const $push6=, 0 f64.load $push7=, yv7+16($pop6) tee_local $push16=, $0=, $pop7 f64.ne $push8=, $pop16, $0 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end30.i.i block i32.const $push18=, 0 f32.load $push1=, yv7+24($pop18):p2align=3 tee_local $push17=, $1=, $pop1 f32.ne $push9=, $pop17, $1 - br_if $pop9, 0 # 0: down to label3 + br_if 0, $pop9 # 0: down to label3 # BB#4: # %if.end34.i.i block i32.const $push20=, 0 f32.load $push0=, zv7($pop20) tee_local $push19=, $1=, $pop0 f32.ne $push10=, $pop19, $1 - br_if $pop10, 0 # 0: down to label4 + br_if 0, $pop10 # 0: down to label4 # BB#5: # %caller_bf7.exit i32.const $push11=, 0 return $pop11 diff --git a/test/torture-s/pr23604.c.s b/test/torture-s/pr23604.c.s index 8130aa0d4..098652fb7 100644 --- a/test/torture-s/pr23604.c.s +++ b/test/torture-s/pr23604.c.s @@ -12,13 +12,13 @@ g: # @g block i32.const $push0=, 1 i32.gt_u $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %if.then2 i32.eq $push2=, $0, $1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#2: # %if.then2 i32.const $0=, 0 - br_if $1, 1 # 1: down to label0 + br_if 1, $1 # 1: down to label0 .LBB0_3: # %if.end9 end_block # label1: i32.const $0=, 1 diff --git a/test/torture-s/pr23941.c.s b/test/torture-s/pr23941.c.s index 22487830c..98edf9f78 100644 --- a/test/torture-s/pr23941.c.s +++ b/test/torture-s/pr23941.c.s @@ -12,7 +12,7 @@ main: # @main f64.load $push0=, d($pop3) f64.const $push1=, 0x1p-127 f64.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr24141.c.s b/test/torture-s/pr24141.c.s index 0d9e2e451..1352a47b8 100644 --- a/test/torture-s/pr24141.c.s +++ b/test/torture-s/pr24141.c.s @@ -24,9 +24,9 @@ f: # @f block i32.const $push2=, 0 i32.eq $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %entry - br_if $1, 0 # 0: down to label0 + br_if 0, $1 # 0: down to label0 # BB#2: # %if.then10 i32.const $push0=, 0 i32.const $push1=, 1 diff --git a/test/torture-s/pr24716.c.s b/test/torture-s/pr24716.c.s index 2b8e96cb9..8b3145c65 100644 --- a/test/torture-s/pr24716.c.s +++ b/test/torture-s/pr24716.c.s @@ -24,7 +24,7 @@ f: # @f block i32.const $push11=, 3 i32.lt_s $push0=, $4, $pop11 - br_if $pop0, 0 # 0: down to label3 + br_if 0, $pop0 # 0: down to label3 # BB#2: # %if.end.thread # in Loop: Header=BB0_1 Depth=1 i32.const $push13=, 1 @@ -38,13 +38,13 @@ f: # @f i32.const $3=, 0 i32.const $push14=, 1 i32.eq $push1=, $2, $pop14 - br_if $pop1, 2 # 2: down to label1 + br_if 2, $pop1 # 2: down to label1 .LBB0_4: # %while.cond.preheader # in Loop: Header=BB0_1 Depth=1 end_block # label2: block i32.le_s $push2=, $4, $1 - br_if $pop2, 0 # 0: down to label4 + br_if 0, $pop2 # 0: down to label4 # BB#5: # %while.body.lr.ph # in Loop: Header=BB0_1 Depth=1 i32.eq $0=, $3, $1 @@ -54,7 +54,7 @@ f: # @f loop # label5: i32.add $4=, $4, $0 i32.gt_s $push3=, $4, $1 - br_if $pop3, 0 # 0: up to label5 + br_if 0, $pop3 # 0: up to label5 .LBB0_7: # %do.body10.preheader # in Loop: Header=BB0_1 Depth=1 end_loop # label6: @@ -77,7 +77,7 @@ f: # @f block i32.const $push25=, 0 i32.eq $push26=, $0, $pop25 - br_if $pop26, 0 # 0: down to label11 + br_if 0, $pop26 # 0: down to label11 # BB#10: # %if.then13 # in Loop: Header=BB0_9 Depth=3 i32.const $push17=, 0 @@ -89,13 +89,13 @@ f: # @f i32.const $0=, 0 i32.const $push18=, 1 i32.lt_s $push5=, $1, $pop18 - br_if $pop5, 0 # 0: up to label9 + br_if 0, $pop5 # 0: up to label9 # BB#12: # %do.cond19 # in Loop: Header=BB0_8 Depth=2 end_loop # label10: i32.const $push19=, 0 i32.gt_s $push6=, $5, $pop19 - br_if $pop6, 0 # 0: up to label7 + br_if 0, $pop6 # 0: up to label7 .LBB0_13: # %do.body22 # Parent Loop BB0_1 Depth=1 # => This Loop Header: Depth=2 @@ -112,12 +112,12 @@ f: # @f # => This Inner Loop Header: Depth=3 loop # label14: i32.ge_s $push8=, $1, $3 - br_if $pop8, 1 # 1: down to label15 + br_if 1, $pop8 # 1: down to label15 # BB#15: # %while.body26 # in Loop: Header=BB0_14 Depth=3 i32.const $push21=, -1 i32.eq $push10=, $5, $pop21 - br_if $pop10, 0 # 0: up to label14 + br_if 0, $pop10 # 0: up to label14 # BB#16: # %if.then28 # in Loop: Header=BB0_14 Depth=3 i32.const $push23=, 1 @@ -132,7 +132,7 @@ f: # @f i32.const $2=, 1 i32.const $push24=, -1 i32.ne $push9=, $5, $pop24 - br_if $pop9, 0 # 0: up to label12 + br_if 0, $pop9 # 0: up to label12 br 2 # 2: up to label0 .LBB0_18: # %for.end end_loop # label13: @@ -164,7 +164,7 @@ main: # @main block i32.const $push8=, 3 i32.lt_s $push0=, $3, $pop8 - br_if $pop0, 0 # 0: down to label19 + br_if 0, $pop0 # 0: down to label19 # BB#2: # %if.end.thread.i # in Loop: Header=BB1_1 Depth=1 i32.const $push10=, 1 @@ -178,13 +178,13 @@ main: # @main i32.const $4=, 0 i32.const $push11=, 1 i32.eq $push1=, $2, $pop11 - br_if $pop1, 2 # 2: down to label17 + br_if 2, $pop1 # 2: down to label17 .LBB1_4: # %while.cond.preheader.i # in Loop: Header=BB1_1 Depth=1 end_block # label18: block i32.le_s $push3=, $3, $1 - br_if $pop3, 0 # 0: down to label20 + br_if 0, $pop3 # 0: down to label20 # BB#5: # %while.body.lr.ph.i # in Loop: Header=BB1_1 Depth=1 i32.eq $4=, $4, $1 @@ -194,7 +194,7 @@ main: # @main loop # label21: i32.add $3=, $3, $4 i32.gt_s $push4=, $3, $1 - br_if $pop4, 0 # 0: up to label21 + br_if 0, $pop4 # 0: up to label21 .LBB1_7: # %do.body10.i # in Loop: Header=BB1_1 Depth=1 end_loop # label22: @@ -212,7 +212,7 @@ main: # @main block i32.const $push18=, 0 i32.eq $push19=, $4, $pop18 - br_if $pop19, 0 # 0: down to label25 + br_if 0, $pop19 # 0: down to label25 # BB#9: # %if.then13.i # in Loop: Header=BB1_8 Depth=2 i32.const $push15=, 0 @@ -224,7 +224,7 @@ main: # @main i32.const $4=, 0 i32.const $push20=, 0 i32.eq $push21=, $1, $pop20 - br_if $pop21, 0 # 0: up to label23 + br_if 0, $pop21 # 0: up to label23 # BB#11: # %do.cond33.i.preheader # in Loop: Header=BB1_1 Depth=1 end_loop # label24: @@ -241,7 +241,7 @@ main: # @main i32.const $1=, 0 i32.const $push16=, -1 i32.ne $push7=, $4, $pop16 - br_if $pop7, 0 # 0: up to label26 + br_if 0, $pop7 # 0: up to label26 br 2 # 2: up to label16 .LBB1_13: # %f.exit end_loop # label27: @@ -249,7 +249,7 @@ main: # @main block i32.const $push22=, 0 i32.eq $push23=, $3, $pop22 - br_if $pop23, 0 # 0: down to label28 + br_if 0, $pop23 # 0: down to label28 # BB#14: # %if.end i32.const $push2=, 0 return $pop2 diff --git a/test/torture-s/pr25125.c.s b/test/torture-s/pr25125.c.s index 1ca9c3659..e83ae722e 100644 --- a/test/torture-s/pr25125.c.s +++ b/test/torture-s/pr25125.c.s @@ -13,7 +13,7 @@ f: # @f block i32.const $push6=, 0 i32.gt_s $push0=, $0, $pop6 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end i32.const $push1=, 65535 i32.and $push2=, $0, $pop1 @@ -40,7 +40,7 @@ main: # @main i32.call $push1=, f@FUNCTION, $pop0 i32.const $push2=, 1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/pr27073.c.s b/test/torture-s/pr27073.c.s index 31ed42d8d..866ba578a 100644 --- a/test/torture-s/pr27073.c.s +++ b/test/torture-s/pr27073.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.and $push1=, $4, $pop0 i32.const $push13=, 0 i32.eq $push14=, $pop1, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#1: # %while.body.preheader i32.const $push2=, 0 i32.sub $4=, $pop2, $4 @@ -36,7 +36,7 @@ foo: # @foo i32.add $4=, $4, $pop8 i32.const $push7=, 20 i32.add $0=, $0, $pop7 - br_if $4, 0 # 0: up to label1 + br_if 0, $4 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: @@ -70,58 +70,58 @@ main: # @main i32.load $push5=, 0($3):p2align=4 i32.const $push40=, 100 i32.ne $push6=, $pop5, $pop40 - br_if $pop6, 0 # 0: down to label3 + br_if 0, $pop6 # 0: down to label3 # BB#1: # %for.cond i32.const $push7=, 4 i32.or $push8=, $3, $pop7 i32.load $push9=, 0($pop8) i32.const $push42=, 200 i32.ne $push10=, $pop9, $pop42 - br_if $pop10, 0 # 0: down to label3 + br_if 0, $pop10 # 0: down to label3 # BB#2: # %for.cond.1 i32.const $push11=, 8 i32.or $push12=, $3, $pop11 i32.load $push13=, 0($pop12):p2align=3 i32.const $push14=, 300 i32.ne $push15=, $pop13, $pop14 - br_if $pop15, 0 # 0: down to label3 + br_if 0, $pop15 # 0: down to label3 # BB#3: # %for.cond.2 i32.const $push16=, 12 i32.or $push17=, $3, $pop16 i32.load $push18=, 0($pop17) i32.const $push19=, 400 i32.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label3 + br_if 0, $pop20 # 0: down to label3 # BB#4: # %for.cond.3 i32.load $push21=, 16($3):p2align=4 i32.const $push22=, 500 i32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label3 + br_if 0, $pop23 # 0: down to label3 # BB#5: # %for.cond.4 i32.load $push24=, 20($3) i32.const $push25=, 100 i32.ne $push26=, $pop24, $pop25 - br_if $pop26, 0 # 0: down to label3 + br_if 0, $pop26 # 0: down to label3 # BB#6: # %for.cond.5 i32.load $push27=, 24($3):p2align=3 i32.const $push28=, 200 i32.ne $push29=, $pop27, $pop28 - br_if $pop29, 0 # 0: down to label3 + br_if 0, $pop29 # 0: down to label3 # BB#7: # %for.cond.6 i32.load $push30=, 28($3) i32.const $push31=, 300 i32.ne $push32=, $pop30, $pop31 - br_if $pop32, 0 # 0: down to label3 + br_if 0, $pop32 # 0: down to label3 # BB#8: # %for.cond.7 i32.load $push33=, 32($3):p2align=4 i32.const $push34=, 400 i32.ne $push35=, $pop33, $pop34 - br_if $pop35, 0 # 0: down to label3 + br_if 0, $pop35 # 0: down to label3 # BB#9: # %for.cond.8 i32.load $push36=, 36($3) i32.const $push37=, 500 i32.ne $push38=, $pop36, $pop37 - br_if $pop38, 0 # 0: down to label3 + br_if 0, $pop38 # 0: down to label3 # BB#10: # %for.cond.9 i32.const $push39=, 0 call exit@FUNCTION, $pop39 diff --git a/test/torture-s/pr27260.c.s b/test/torture-s/pr27260.c.s index 49c54879a..aa94de3bd 100644 --- a/test/torture-s/pr27260.c.s +++ b/test/torture-s/pr27260.c.s @@ -34,14 +34,14 @@ main: # @main block loop # label1: i32.load8_u $push1=, buf($1) - br_if $pop1, 2 # 2: down to label0 + br_if 2, $pop1 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 i32.const $push14=, 1 i32.add $1=, $1, $pop14 i32.const $push13=, 63 i32.le_s $push2=, $1, $pop13 - br_if $pop2, 0 # 0: up to label1 + br_if 0, $pop2 # 0: up to label1 # BB#3: # %for.end end_loop # label2: i32.const $push3=, buf @@ -55,7 +55,7 @@ main: # @main loop # label4: i32.const $push16=, 63 i32.gt_s $push5=, $1, $pop16 - br_if $pop5, 2 # 2: down to label3 + br_if 2, $pop5 # 2: down to label3 # BB#5: # %for.cond3.for.body6_crit_edge # in Loop: Header=BB1_4 Depth=1 i32.load8_u $0=, buf($1) @@ -63,7 +63,7 @@ main: # @main i32.add $1=, $1, $pop18 i32.const $push17=, 1 i32.eq $push11=, $0, $pop17 - br_if $pop11, 0 # 0: up to label4 + br_if 0, $pop11 # 0: up to label4 # BB#6: # %if.then11 end_loop # label5: call abort@FUNCTION @@ -81,7 +81,7 @@ main: # @main loop # label7: i32.const $push19=, 63 i32.gt_s $push9=, $1, $pop19 - br_if $pop9, 2 # 2: down to label6 + br_if 2, $pop9 # 2: down to label6 # BB#9: # %for.cond16.for.body19_crit_edge # in Loop: Header=BB1_8 Depth=1 i32.load8_u $0=, buf($1) @@ -89,7 +89,7 @@ main: # @main i32.add $1=, $1, $pop20 i32.const $push21=, 0 i32.eq $push22=, $0, $pop21 - br_if $pop22, 0 # 0: up to label7 + br_if 0, $pop22 # 0: up to label7 # BB#10: # %if.then24 end_loop # label8: call abort@FUNCTION diff --git a/test/torture-s/pr27285.c.s b/test/torture-s/pr27285.c.s index 4781a84bf..1485dd4b6 100644 --- a/test/torture-s/pr27285.c.s +++ b/test/torture-s/pr27285.c.s @@ -13,7 +13,7 @@ foo: # @foo tee_local $push9=, $2=, $pop8 i32.const $push20=, 0 i32.eq $push21=, $pop9, $pop20 - br_if $pop21, 0 # 0: down to label0 + br_if 0, $pop21 # 0: down to label0 # BB#1: # %while.body.preheader i32.const $push0=, 3 i32.add $0=, $0, $pop0 @@ -42,7 +42,7 @@ foo: # @foo i32.add $0=, $0, $pop12 i32.const $push11=, 1 i32.add $1=, $1, $pop11 - br_if $2, 0 # 0: up to label1 + br_if 0, $2 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: @@ -110,28 +110,28 @@ main: # @main i32.load8_u $push18=, 0($pop17) i32.const $push19=, 170 i32.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label3 + br_if 0, $pop20 # 0: down to label3 # BB#1: # %lor.lhs.false i32.const $push21=, 4 i32.or $push22=, $8, $pop21 i32.load8_u $push23=, 0($pop22):p2align=2 i32.const $push24=, 187 i32.ne $push25=, $pop23, $pop24 - br_if $pop25, 0 # 0: down to label3 + br_if 0, $pop25 # 0: down to label3 # BB#2: # %lor.lhs.false13 i32.const $push26=, 5 i32.or $push27=, $8, $pop26 i32.load8_u $push28=, 0($pop27) i32.const $push29=, 204 i32.ne $push30=, $pop28, $pop29 - br_if $pop30, 0 # 0: down to label3 + br_if 0, $pop30 # 0: down to label3 # BB#3: # %lor.lhs.false22 i32.const $push31=, 6 i32.or $push32=, $8, $pop31 i32.load8_u $push33=, 0($pop32):p2align=1 i32.const $push34=, 128 i32.ne $push35=, $pop33, $pop34 - br_if $pop35, 0 # 0: down to label3 + br_if 0, $pop35 # 0: down to label3 # BB#4: # %if.end i32.const $push36=, 0 i32.const $3=, 48 diff --git a/test/torture-s/pr27364.c.s b/test/torture-s/pr27364.c.s index d7e2d1d82..890bbb4df 100644 --- a/test/torture-s/pr27364.c.s +++ b/test/torture-s/pr27364.c.s @@ -13,7 +13,7 @@ f: # @f block i32.const $push0=, 1294 i32.gt_u $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 3321928 i32.mul $push3=, $0, $pop2 diff --git a/test/torture-s/pr28403.c.s b/test/torture-s/pr28403.c.s index 325e766b3..807c407a3 100644 --- a/test/torture-s/pr28403.c.s +++ b/test/torture-s/pr28403.c.s @@ -59,7 +59,7 @@ main: # @main i64.call $push1=, bar@FUNCTION, $pop0 i64.const $push2=, 312749974122 i64.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/pr28651.c.s b/test/torture-s/pr28651.c.s index 37aa38f40..4b738b2c7 100644 --- a/test/torture-s/pr28651.c.s +++ b/test/torture-s/pr28651.c.s @@ -28,7 +28,7 @@ main: # @main i32.call $push1=, foo@FUNCTION, $pop0 i32.const $push3=, 0 i32.eq $push4=, $pop1, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 return $pop2 diff --git a/test/torture-s/pr28982a.c.s b/test/torture-s/pr28982a.c.s index 54b99e094..433529d1f 100644 --- a/test/torture-s/pr28982a.c.s +++ b/test/torture-s/pr28982a.c.s @@ -31,7 +31,7 @@ foo: # @foo block i32.const $push151=, 0 i32.eq $push152=, $0, $pop151 - br_if $pop152, 0 # 0: down to label0 + br_if 0, $pop152 # 0: down to label0 # BB#1: # %while.body.preheader i32.const $push129=, 0 i64.load $push39=, incs+72($pop129) @@ -268,7 +268,7 @@ foo: # @foo i32.add $23=, $23, $18 i32.add $22=, $22, $19 i32.add $21=, $21, $20 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: @@ -417,7 +417,7 @@ main: # @main i32.add $2=, $2, $1 i32.const $push129=, 80 i32.ne $push41=, $3, $pop129 - br_if $pop41, 0 # 0: up to label3 + br_if 0, $pop41 # 0: up to label3 # BB#2: # %for.end8 end_loop # label4: i32.const $push42=, 4 diff --git a/test/torture-s/pr29695-2.c.s b/test/torture-s/pr29695-2.c.s index aa37c0eab..4c7eda0c3 100644 --- a/test/torture-s/pr29695-2.c.s +++ b/test/torture-s/pr29695-2.c.s @@ -160,28 +160,28 @@ main: # @main i32.shr_u $push2=, $pop0, $pop1 i32.const $push17=, 0 i32.eq $push18=, $pop2, $pop17 - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#1: # %if.end block i32.const $push12=, 0 i32.load8_s $push3=, b($pop12) i32.const $push11=, 0 i32.ge_s $push4=, $pop3, $pop11 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#2: # %if.end12 block i32.const $push14=, 0 i32.load $push5=, c($pop14):p2align=3 i32.const $push13=, 0 i32.ge_s $push6=, $pop5, $pop13 - br_if $pop6, 0 # 0: down to label2 + br_if 0, $pop6 # 0: down to label2 # BB#3: # %if.end16 block i32.const $push16=, 0 i32.load $push7=, d($pop16) i32.const $push15=, 0 i32.ge_s $push8=, $pop7, $pop15 - br_if $pop8, 0 # 0: down to label3 + br_if 0, $pop8 # 0: down to label3 # BB#4: # %if.end28 i32.const $push9=, 0 return $pop9 diff --git a/test/torture-s/pr30778.c.s b/test/torture-s/pr30778.c.s index e8d507b0f..ec55ebab2 100644 --- a/test/torture-s/pr30778.c.s +++ b/test/torture-s/pr30778.c.s @@ -51,7 +51,7 @@ main: # @main block i32.load $push1=, 28($5) i32.ne $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 i32.const $3=, 32 diff --git a/test/torture-s/pr31072.c.s b/test/torture-s/pr31072.c.s index 4e58c5bec..79cd7809c 100644 --- a/test/torture-s/pr31072.c.s +++ b/test/torture-s/pr31072.c.s @@ -12,7 +12,7 @@ main: # @main i32.load $push0=, ReadyFlag_NotProperlyInitialized($pop3) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr31169.c.s b/test/torture-s/pr31169.c.s index 20a76b081..966cf8640 100644 --- a/test/torture-s/pr31169.c.s +++ b/test/torture-s/pr31169.c.s @@ -17,7 +17,7 @@ sign_bit_p: # @sign_bit_p tee_local $push20=, $0=, $pop0 i32.const $push3=, 33 i32.lt_u $push4=, $pop20, $pop3 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#1: # %if.then i32.const $push12=, 1 i32.const $push10=, -33 diff --git a/test/torture-s/pr31605.c.s b/test/torture-s/pr31605.c.s index 447bdcbc7..395fff39d 100644 --- a/test/torture-s/pr31605.c.s +++ b/test/torture-s/pr31605.c.s @@ -13,7 +13,7 @@ put_field: # @put_field i32.or $push2=, $pop0, $pop1 i32.const $push5=, -8 i32.ne $push3=, $pop2, $pop5 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/pr32244-1.c.s b/test/torture-s/pr32244-1.c.s index d32ab67f6..2ce3bfe46 100644 --- a/test/torture-s/pr32244-1.c.s +++ b/test/torture-s/pr32244-1.c.s @@ -13,7 +13,7 @@ test1: # @test1 i64.const $push2=, 32 i64.shl $push3=, $pop1, $pop2 i64.ne $push4=, $pop3, $0 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/pr33142.c.s b/test/torture-s/pr33142.c.s index 524052ce5..1f251a737 100644 --- a/test/torture-s/pr33142.c.s +++ b/test/torture-s/pr33142.c.s @@ -13,11 +13,11 @@ lisp_atan2: # @lisp_atan2 block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 0 i32.gt_s $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.then2 i32.const $push4=, 31 i32.shr_s $push5=, $1, $pop4 @@ -59,7 +59,7 @@ main: # @main i32.load $push2=, 12($3) i32.load $push3=, 8($3) i32.call $push4=, lisp_atan2@FUNCTION, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#1: # %if.end i32.const $push5=, 0 i32.const $2=, 16 diff --git a/test/torture-s/pr33382.c.s b/test/torture-s/pr33382.c.s index 528916aae..64036996e 100644 --- a/test/torture-s/pr33382.c.s +++ b/test/torture-s/pr33382.c.s @@ -32,7 +32,7 @@ main: # @main i32.const $push0=, 1 i32.store $discard=, x+4($pop1), $pop0 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 return $pop3 diff --git a/test/torture-s/pr33669.c.s b/test/torture-s/pr33669.c.s index e4b013c8a..4b97aad74 100644 --- a/test/torture-s/pr33669.c.s +++ b/test/torture-s/pr33669.c.s @@ -24,12 +24,12 @@ foo: # @foo i32.rem_u $push7=, $2, $5 i32.sub $push8=, $2, $pop7 i32.lt_u $push9=, $5, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end i64.sub $3=, $1, $4 i32.load $push10=, 4($0) i32.le_u $push11=, $pop10, $5 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#2: # %if.then13 i32.const $push12=, 4 i32.add $push13=, $0, $pop12 diff --git a/test/torture-s/pr33992.c.s b/test/torture-s/pr33992.c.s index 00cbe00f8..7412054ef 100644 --- a/test/torture-s/pr33992.c.s +++ b/test/torture-s/pr33992.c.s @@ -10,7 +10,7 @@ bar: # @bar block i64.const $push0=, 0 i64.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -46,7 +46,7 @@ do_test: # @do_test i64.and $push1=, $pop0, $1 i64.const $push12=, 0 i64.eq $push2=, $pop1, $pop12 - br_if $pop2, 0 # 0: up to label1 + br_if 0, $pop2 # 0: up to label1 # BB#2: # %foo.exit end_loop # label2: i64.const $push3=, 32 @@ -71,7 +71,7 @@ do_test: # @do_test i64.and $push7=, $pop6, $1 i64.const $push18=, 0 i64.eq $push8=, $pop7, $pop18 - br_if $pop8, 0 # 0: up to label3 + br_if 0, $pop8 # 0: up to label3 # BB#4: # %foo.exit.1 end_loop # label4: i64.const $push9=, 32 diff --git a/test/torture-s/pr34176.c.s b/test/torture-s/pr34176.c.s index f9a56910b..57eb0ef0a 100644 --- a/test/torture-s/pr34176.c.s +++ b/test/torture-s/pr34176.c.s @@ -35,7 +35,7 @@ foo: # @foo block i32.const $push4=, 1 i32.ge_s $push3=, $1, $pop4 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 0 return $pop8 @@ -74,7 +74,7 @@ main: # @main block i32.const $push3=, 0 i32.eq $push4=, $1, $pop3 - br_if $pop4, 0 # 0: down to label3 + br_if 0, $pop4 # 0: down to label3 .LBB2_2: # %while.body # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 @@ -83,7 +83,7 @@ main: # @main i32.add $1=, $1, $pop2 i32.const $push1=, 8 i32.add $0=, $0, $pop1 - br_if $1, 0 # 0: up to label4 + br_if 0, $1 # 0: up to label4 .LBB2_3: # %cleanup.thread # in Loop: Header=BB2_1 Depth=1 end_loop # label5: @@ -93,7 +93,7 @@ main: # @main i32.call $discard=, hash_find_entry@FUNCTION, $6 i32.const $push5=, 0 i32.eq $push6=, $0, $pop5 - br_if $pop6, 0 # 0: up to label1 + br_if 0, $pop6 # 0: up to label1 # BB#4: # %for.end end_loop # label2: i32.const $push0=, 0 diff --git a/test/torture-s/pr34415.c.s b/test/torture-s/pr34415.c.s index 2d54b8cc3..426ef5688 100644 --- a/test/torture-s/pr34415.c.s +++ b/test/torture-s/pr34415.c.s @@ -33,14 +33,14 @@ foo: # @foo tee_local $push19=, $3=, $pop2 i32.const $push18=, 66 i32.eq $push7=, $pop19, $pop18 - br_if $pop7, 0 # 0: down to label2 + br_if 0, $pop7 # 0: down to label2 # BB#2: # %for.cond # in Loop: Header=BB0_1 Depth=1 copy_local $0=, $5 block i32.const $push26=, 65 i32.ne $push8=, $3, $pop26 - br_if $pop8, 0 # 0: down to label3 + br_if 0, $pop8 # 0: down to label3 .LBB0_3: # %do.body # Parent Loop BB0_1 Depth=1 # => This Inner Loop Header: Depth=2 @@ -50,7 +50,7 @@ foo: # @foo i32.load8_u $push9=, 0($0) i32.const $push27=, 43 i32.eq $push10=, $pop9, $pop27 - br_if $pop10, 0 # 0: up to label4 + br_if 0, $pop10 # 0: up to label4 br 3 # 3: down to label2 .LBB0_4: # %for.end end_loop # label5: @@ -58,7 +58,7 @@ foo: # @foo block i32.const $push11=, 3 i32.lt_s $push12=, $2, $pop11 - br_if $pop12, 0 # 0: down to label6 + br_if 0, $pop12 # 0: down to label6 # BB#5: # %land.lhs.true17 i32.const $push13=, 255 i32.and $push14=, $4, $pop13 diff --git a/test/torture-s/pr34456.c.s b/test/torture-s/pr34456.c.s index 7bf43e193..57e495e90 100644 --- a/test/torture-s/pr34456.c.s +++ b/test/torture-s/pr34456.c.s @@ -62,13 +62,13 @@ compare: # @compare tee_local $push8=, $1=, $pop0 i32.const $push10=, 0 i32.eq $push11=, $pop8, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %land.lhs.true i32.load $push1=, 0($0) i32.call_indirect $push2=, $2, $pop1 i32.const $push12=, 0 i32.eq $push13=, $pop2, $pop12 - br_if $pop13, 0 # 0: down to label0 + br_if 0, $pop13 # 0: down to label0 # BB#2: # %if.then i32.const $push3=, 0 i32.const $push9=, 0 diff --git a/test/torture-s/pr34768-1.c.s b/test/torture-s/pr34768-1.c.s index 3471e999f..bc103243a 100644 --- a/test/torture-s/pr34768-1.c.s +++ b/test/torture-s/pr34768-1.c.s @@ -63,7 +63,7 @@ main: # @main i32.const $push0=, 1 i32.store $push1=, x($pop3), $pop0 i32.call $push2=, test@FUNCTION, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr34768-2.c.s b/test/torture-s/pr34768-2.c.s index c598f3fb8..14a27ffb5 100644 --- a/test/torture-s/pr34768-2.c.s +++ b/test/torture-s/pr34768-2.c.s @@ -67,7 +67,7 @@ main: # @main i32.const $push0=, 1 i32.store $push1=, x($pop3), $pop0 i32.call $push2=, test@FUNCTION, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr34971.c.s b/test/torture-s/pr34971.c.s index 7edf8747b..6f5e6bda7 100644 --- a/test/torture-s/pr34971.c.s +++ b/test/torture-s/pr34971.c.s @@ -20,7 +20,7 @@ test1: # @test1 i64.shr_u $push7=, $1, $pop6 i64.or $push8=, $pop5, $pop7 i64.ne $push9=, $pop8, $0 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/pr35231.c.s b/test/torture-s/pr35231.c.s index 35b5dbc20..3b8901b6d 100644 --- a/test/torture-s/pr35231.c.s +++ b/test/torture-s/pr35231.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.or $push0=, $1, $0 i32.const $push1=, 1 i32.eq $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end return $0 .LBB0_2: # %if.then @@ -36,7 +36,7 @@ main: # @main i32.call $push1=, foo@FUNCTION, $pop0, $pop4 i32.const $push3=, 2 i32.ne $push2=, $pop1, $pop3 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %if.end i32.const $push5=, 0 return $pop5 diff --git a/test/torture-s/pr35456.c.s b/test/torture-s/pr35456.c.s index 0d48a7f5e..dd41d5178 100644 --- a/test/torture-s/pr35456.c.s +++ b/test/torture-s/pr35456.c.s @@ -30,7 +30,7 @@ main: # @main i64.reinterpret/f64 $push2=, $pop1 i64.const $push3=, 0 i64.ge_s $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 return $pop5 diff --git a/test/torture-s/pr35472.c.s b/test/torture-s/pr35472.c.s index a2e7caf20..3df216671 100644 --- a/test/torture-s/pr35472.c.s +++ b/test/torture-s/pr35472.c.s @@ -52,7 +52,7 @@ test: # @test i32.load $push4=, 0($6):p2align=3 i32.const $push5=, -1 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.const $2=, 128 i32.add $6=, $6, $2 @@ -104,7 +104,7 @@ main: # @main i32.load $push3=, 0($6):p2align=3 i32.const $push4=, -1 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#1: # %test.exit i32.const $push12=, 0 i32.const $2=, 128 diff --git a/test/torture-s/pr35800.c.s b/test/torture-s/pr35800.c.s index bbbc01e5f..1b77046b5 100644 --- a/test/torture-s/pr35800.c.s +++ b/test/torture-s/pr35800.c.s @@ -13,7 +13,7 @@ stab_xcoff_builtin_type: # @stab_xcoff_builtin_type block i32.const $push1=, -34 i32.lt_u $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $1=, .L.str block @@ -22,7 +22,7 @@ stab_xcoff_builtin_type: # @stab_xcoff_builtin_type tee_local $push8=, $0=, $pop0 i32.const $push4=, 32 i32.gt_u $push5=, $pop8, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %switch.lookup i32.const $push6=, 2 i32.shl $push7=, $0, $pop6 @@ -55,7 +55,7 @@ main: # @main i32.load8_u $push1=, 0($pop0) i32.const $push8=, 105 i32.ne $push2=, $pop1, $pop8 - br_if $pop2, 2 # 2: down to label2 + br_if 2, $pop2 # 2: down to label2 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 i32.const $push7=, -1 @@ -64,7 +64,7 @@ main: # @main i32.add $0=, $0, $pop6 i32.const $push5=, -34 i32.ge_s $push3=, $1, $pop5 - br_if $pop3, 0 # 0: up to label3 + br_if 0, $pop3 # 0: up to label3 # BB#3: # %if.end21 end_loop # label4: i32.const $push4=, 0 diff --git a/test/torture-s/pr36034-1.c.s b/test/torture-s/pr36034-1.c.s index 59d9f2085..e7194acf8 100644 --- a/test/torture-s/pr36034-1.c.s +++ b/test/torture-s/pr36034-1.c.s @@ -145,181 +145,181 @@ main: # @main f64.load $push29=, tmp($pop62):p2align=4 f64.const $push61=, -0x1p0 f64.eq $push30=, $pop29, $pop61 - br_if $pop30, 0 # 0: down to label0 + br_if 0, $pop30 # 0: down to label0 # BB#1: # %entry i32.const $push64=, 0 f64.load $push0=, tmp+8($pop64) f64.const $push63=, -0x1p0 f64.eq $push31=, $pop0, $pop63 - br_if $pop31, 0 # 0: down to label0 + br_if 0, $pop31 # 0: down to label0 # BB#2: # %entry i32.const $push66=, 0 f64.load $push1=, tmp+16($pop66):p2align=4 f64.const $push65=, -0x1p0 f64.eq $push32=, $pop1, $pop65 - br_if $pop32, 0 # 0: down to label0 + br_if 0, $pop32 # 0: down to label0 # BB#3: # %entry i32.const $push68=, 0 f64.load $push2=, tmp+24($pop68) f64.const $push67=, -0x1p0 f64.eq $push33=, $pop2, $pop67 - br_if $pop33, 0 # 0: down to label0 + br_if 0, $pop33 # 0: down to label0 # BB#4: # %entry i32.const $push70=, 0 f64.load $push3=, tmp+32($pop70):p2align=4 f64.const $push69=, -0x1p0 f64.eq $push34=, $pop3, $pop69 - br_if $pop34, 0 # 0: down to label0 + br_if 0, $pop34 # 0: down to label0 # BB#5: # %entry i32.const $push72=, 0 f64.load $push4=, tmp+40($pop72) f64.const $push71=, -0x1p0 f64.eq $push35=, $pop4, $pop71 - br_if $pop35, 0 # 0: down to label0 + br_if 0, $pop35 # 0: down to label0 # BB#6: # %entry i32.const $push74=, 0 f64.load $push5=, tmp+48($pop74):p2align=4 f64.const $push73=, -0x1p0 f64.eq $push36=, $pop5, $pop73 - br_if $pop36, 0 # 0: down to label0 + br_if 0, $pop36 # 0: down to label0 # BB#7: # %entry i32.const $push76=, 0 f64.load $push6=, tmp+56($pop76) f64.const $push75=, -0x1p0 f64.eq $push37=, $pop6, $pop75 - br_if $pop37, 0 # 0: down to label0 + br_if 0, $pop37 # 0: down to label0 # BB#8: # %entry i32.const $push78=, 0 f64.load $push7=, tmp+64($pop78):p2align=4 f64.const $push77=, -0x1p0 f64.eq $push38=, $pop7, $pop77 - br_if $pop38, 0 # 0: down to label0 + br_if 0, $pop38 # 0: down to label0 # BB#9: # %entry i32.const $push80=, 0 f64.load $push8=, tmp+72($pop80) f64.const $push79=, -0x1p0 f64.eq $push39=, $pop8, $pop79 - br_if $pop39, 0 # 0: down to label0 + br_if 0, $pop39 # 0: down to label0 # BB#10: # %entry i32.const $push82=, 0 f64.load $push9=, tmp+80($pop82):p2align=4 f64.const $push81=, -0x1p0 f64.eq $push40=, $pop9, $pop81 - br_if $pop40, 0 # 0: down to label0 + br_if 0, $pop40 # 0: down to label0 # BB#11: # %entry i32.const $push84=, 0 f64.load $push10=, tmp+88($pop84) f64.const $push83=, -0x1p0 f64.eq $push41=, $pop10, $pop83 - br_if $pop41, 0 # 0: down to label0 + br_if 0, $pop41 # 0: down to label0 # BB#12: # %entry i32.const $push86=, 0 f64.load $push11=, tmp+96($pop86):p2align=4 f64.const $push85=, -0x1p0 f64.eq $push42=, $pop11, $pop85 - br_if $pop42, 0 # 0: down to label0 + br_if 0, $pop42 # 0: down to label0 # BB#13: # %entry i32.const $push88=, 0 f64.load $push12=, tmp+104($pop88) f64.const $push87=, -0x1p0 f64.eq $push43=, $pop12, $pop87 - br_if $pop43, 0 # 0: down to label0 + br_if 0, $pop43 # 0: down to label0 # BB#14: # %entry i32.const $push90=, 0 f64.load $push13=, tmp+112($pop90):p2align=4 f64.const $push89=, -0x1p0 f64.eq $push44=, $pop13, $pop89 - br_if $pop44, 0 # 0: down to label0 + br_if 0, $pop44 # 0: down to label0 # BB#15: # %entry i32.const $push92=, 0 f64.load $push14=, tmp+120($pop92) f64.const $push91=, -0x1p0 f64.eq $push45=, $pop14, $pop91 - br_if $pop45, 0 # 0: down to label0 + br_if 0, $pop45 # 0: down to label0 # BB#16: # %entry i32.const $push94=, 0 f64.load $push15=, tmp+128($pop94):p2align=4 f64.const $push93=, -0x1p0 f64.eq $push46=, $pop15, $pop93 - br_if $pop46, 0 # 0: down to label0 + br_if 0, $pop46 # 0: down to label0 # BB#17: # %entry i32.const $push96=, 0 f64.load $push16=, tmp+136($pop96) f64.const $push95=, -0x1p0 f64.eq $push47=, $pop16, $pop95 - br_if $pop47, 0 # 0: down to label0 + br_if 0, $pop47 # 0: down to label0 # BB#18: # %entry i32.const $push98=, 0 f64.load $push17=, tmp+144($pop98):p2align=4 f64.const $push97=, -0x1p0 f64.eq $push48=, $pop17, $pop97 - br_if $pop48, 0 # 0: down to label0 + br_if 0, $pop48 # 0: down to label0 # BB#19: # %entry i32.const $push100=, 0 f64.load $push18=, tmp+152($pop100) f64.const $push99=, -0x1p0 f64.eq $push49=, $pop18, $pop99 - br_if $pop49, 0 # 0: down to label0 + br_if 0, $pop49 # 0: down to label0 # BB#20: # %entry i32.const $push102=, 0 f64.load $push19=, tmp+160($pop102):p2align=4 f64.const $push101=, -0x1p0 f64.eq $push50=, $pop19, $pop101 - br_if $pop50, 0 # 0: down to label0 + br_if 0, $pop50 # 0: down to label0 # BB#21: # %entry i32.const $push104=, 0 f64.load $push20=, tmp+168($pop104) f64.const $push103=, -0x1p0 f64.eq $push51=, $pop20, $pop103 - br_if $pop51, 0 # 0: down to label0 + br_if 0, $pop51 # 0: down to label0 # BB#22: # %entry i32.const $push106=, 0 f64.load $push21=, tmp+176($pop106):p2align=4 f64.const $push105=, -0x1p0 f64.eq $push52=, $pop21, $pop105 - br_if $pop52, 0 # 0: down to label0 + br_if 0, $pop52 # 0: down to label0 # BB#23: # %entry i32.const $push108=, 0 f64.load $push22=, tmp+184($pop108) f64.const $push107=, -0x1p0 f64.eq $push53=, $pop22, $pop107 - br_if $pop53, 0 # 0: down to label0 + br_if 0, $pop53 # 0: down to label0 # BB#24: # %entry i32.const $push110=, 0 f64.load $push23=, tmp+192($pop110):p2align=4 f64.const $push109=, -0x1p0 f64.eq $push54=, $pop23, $pop109 - br_if $pop54, 0 # 0: down to label0 + br_if 0, $pop54 # 0: down to label0 # BB#25: # %entry i32.const $push112=, 0 f64.load $push24=, tmp+200($pop112) f64.const $push111=, -0x1p0 f64.eq $push55=, $pop24, $pop111 - br_if $pop55, 0 # 0: down to label0 + br_if 0, $pop55 # 0: down to label0 # BB#26: # %entry i32.const $push114=, 0 f64.load $push25=, tmp+208($pop114):p2align=4 f64.const $push113=, -0x1p0 f64.eq $push56=, $pop25, $pop113 - br_if $pop56, 0 # 0: down to label0 + br_if 0, $pop56 # 0: down to label0 # BB#27: # %entry i32.const $push116=, 0 f64.load $push26=, tmp+216($pop116) f64.const $push115=, -0x1p0 f64.eq $push57=, $pop26, $pop115 - br_if $pop57, 0 # 0: down to label0 + br_if 0, $pop57 # 0: down to label0 # BB#28: # %entry i32.const $push118=, 0 f64.load $push27=, tmp+224($pop118):p2align=4 f64.const $push117=, -0x1p0 f64.eq $push58=, $pop27, $pop117 - br_if $pop58, 0 # 0: down to label0 + br_if 0, $pop58 # 0: down to label0 # BB#29: # %entry i32.const $push120=, 0 f64.load $push28=, tmp+232($pop120) f64.const $push119=, -0x1p0 f64.eq $push59=, $pop28, $pop119 - br_if $pop59, 0 # 0: down to label0 + br_if 0, $pop59 # 0: down to label0 # BB#30: # %for.cond1.5.4 i32.const $push60=, 0 return $pop60 diff --git a/test/torture-s/pr36034-2.c.s b/test/torture-s/pr36034-2.c.s index 33494dac0..f4f44fd9f 100644 --- a/test/torture-s/pr36034-2.c.s +++ b/test/torture-s/pr36034-2.c.s @@ -40,7 +40,7 @@ test: # @test i32.add $2=, $2, $pop9 i32.const $push8=, 400 i32.ne $push7=, $3, $pop8 - br_if $pop7, 0 # 0: up to label0 + br_if 0, $pop7 # 0: up to label0 # BB#2: # %for.end end_loop # label1: return @@ -66,7 +66,7 @@ main: # @main f64.load $push0=, 0($0):p2align=4 f64.const $push19=, -0x1p0 f64.eq $push1=, $pop0, $pop19 - br_if $pop1, 2 # 2: down to label2 + br_if 2, $pop1 # 2: down to label2 # BB#2: # %for.cond1 # in Loop: Header=BB1_1 Depth=1 i32.const $push21=, 8 @@ -74,7 +74,7 @@ main: # @main f64.load $push3=, 0($pop2) f64.const $push20=, -0x1p0 f64.eq $push4=, $pop3, $pop20 - br_if $pop4, 2 # 2: down to label2 + br_if 2, $pop4 # 2: down to label2 # BB#3: # %for.cond1.1 # in Loop: Header=BB1_1 Depth=1 i32.const $push23=, 16 @@ -82,7 +82,7 @@ main: # @main f64.load $push6=, 0($pop5):p2align=4 f64.const $push22=, -0x1p0 f64.eq $push7=, $pop6, $pop22 - br_if $pop7, 2 # 2: down to label2 + br_if 2, $pop7 # 2: down to label2 # BB#4: # %for.cond1.2 # in Loop: Header=BB1_1 Depth=1 i32.const $push25=, 24 @@ -90,7 +90,7 @@ main: # @main f64.load $push9=, 0($pop8) f64.const $push24=, -0x1p0 f64.eq $push10=, $pop9, $pop24 - br_if $pop10, 2 # 2: down to label2 + br_if 2, $pop10 # 2: down to label2 # BB#5: # %for.cond1.3 # in Loop: Header=BB1_1 Depth=1 i32.const $push27=, 32 @@ -98,7 +98,7 @@ main: # @main f64.load $push12=, 0($pop11):p2align=4 f64.const $push26=, -0x1p0 f64.eq $push13=, $pop12, $pop26 - br_if $pop13, 2 # 2: down to label2 + br_if 2, $pop13 # 2: down to label2 # BB#6: # %for.cond1.4 # in Loop: Header=BB1_1 Depth=1 i32.const $push29=, 40 @@ -106,7 +106,7 @@ main: # @main f64.load $push15=, 0($pop14) f64.const $push28=, -0x1p0 f64.eq $push16=, $pop15, $pop28 - br_if $pop16, 2 # 2: down to label2 + br_if 2, $pop16 # 2: down to label2 # BB#7: # %for.cond1.5 # in Loop: Header=BB1_1 Depth=1 i32.const $push32=, 1 @@ -115,7 +115,7 @@ main: # @main i32.add $0=, $0, $pop31 i32.const $push30=, 5 i32.lt_s $push17=, $1, $pop30 - br_if $pop17, 0 # 0: up to label3 + br_if 0, $pop17 # 0: up to label3 # BB#8: # %for.end7 end_loop # label4: i32.const $push18=, 0 diff --git a/test/torture-s/pr36038.c.s b/test/torture-s/pr36038.c.s index 5a2728a6a..cb4fe241c 100644 --- a/test/torture-s/pr36038.c.s +++ b/test/torture-s/pr36038.c.s @@ -17,7 +17,7 @@ doit: # @doit tee_local $push17=, $0=, $pop1 i32.const $push6=, 6 i32.eq $push7=, $pop17, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %while.body.preheader i32.const $push22=, 0 i32.load $push2=, stack_base($pop22) @@ -45,7 +45,7 @@ doit: # @doit i32.add $2=, $2, $pop24 i32.const $push23=, 1 i32.add $1=, $1, $pop23 - br_if $1, 0 # 0: up to label1 + br_if 0, $1 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: @@ -107,7 +107,7 @@ main: # @main i32.const $push1=, list i32.const $push16=, 80 i32.call $push17=, memcmp@FUNCTION, $pop15, $pop1, $pop16 - br_if $pop17, 0 # 0: down to label3 + br_if 0, $pop17 # 0: down to label3 # BB#1: # %if.end i32.const $push32=, 0 return $pop32 diff --git a/test/torture-s/pr36339.c.s b/test/torture-s/pr36339.c.s index f7b4f7e14..c404d544a 100644 --- a/test/torture-s/pr36339.c.s +++ b/test/torture-s/pr36339.c.s @@ -48,13 +48,13 @@ check_a: # @check_a i32.load $push2=, 0($pop1) i32.const $push3=, 42 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#1: # %land.lhs.true i32.const $1=, 0 i32.load $push5=, 3($0) i32.const $push6=, 0 i32.eq $push7=, $pop5, $pop6 - br_if $pop7, 1 # 1: down to label0 + br_if 1, $pop7 # 1: down to label0 .LBB1_2: # %if.end end_block # label1: i32.const $1=, -1 @@ -77,7 +77,7 @@ main: # @main i32.call $push1=, try_a@FUNCTION, $pop0 i32.const $push2=, -1 i32.le_s $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr36343.c.s b/test/torture-s/pr36343.c.s index e69446b3c..d7aaa7e7c 100644 --- a/test/torture-s/pr36343.c.s +++ b/test/torture-s/pr36343.c.s @@ -44,7 +44,7 @@ foo: # @foo block i32.const $push6=, 0 i32.eq $push7=, $0, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#1: # %if.then2 i32.load $push3=, 0($2) i32.load $push4=, 0($pop3) @@ -76,7 +76,7 @@ main: # @main f32.call $push0=, foo@FUNCTION, $pop3 f32.const $push1=, 0x0p0 f32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label2 + br_if 0, $pop2 # 0: down to label2 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr36765.c.s b/test/torture-s/pr36765.c.s index 8f82c5133..449cb0bda 100644 --- a/test/torture-s/pr36765.c.s +++ b/test/torture-s/pr36765.c.s @@ -37,7 +37,7 @@ main: # @main i32.call $push0=, foo@FUNCTION, $pop3 i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr37102.c.s b/test/torture-s/pr37102.c.s index 50555c78f..025118a37 100644 --- a/test/torture-s/pr37102.c.s +++ b/test/torture-s/pr37102.c.s @@ -10,7 +10,7 @@ foo: # @foo block i32.const $push0=, 5 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -36,7 +36,7 @@ main: # @main i32.load $push0=, c($pop9) i32.const $push16=, 0 i32.eq $push17=, $pop0, $pop16 - br_if $pop17, 0 # 0: down to label1 + br_if 0, $pop17 # 0: down to label1 # BB#1: # %if.then.3 i32.const $push11=, 0 i32.store $discard=, a($pop11), $0 diff --git a/test/torture-s/pr37125.c.s b/test/torture-s/pr37125.c.s index 535fca212..842da4bbe 100644 --- a/test/torture-s/pr37125.c.s +++ b/test/torture-s/pr37125.c.s @@ -14,7 +14,7 @@ func_44: # @func_44 i32.rem_u $push2=, $pop1, $pop3 i32.const $push4=, 0 i32.eq $push5=, $pop2, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/pr37573.c.s b/test/torture-s/pr37573.c.s index 0ab4a5df4..679bf8e96 100644 --- a/test/torture-s/pr37573.c.s +++ b/test/torture-s/pr37573.c.s @@ -13,7 +13,7 @@ main: # @main i32.const $push0=, q i32.const $push2=, 23 i32.call $push3=, memcmp@FUNCTION, $pop1, $pop0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 @@ -63,7 +63,7 @@ bar: # @bar i32.add $0=, $0, $pop83 i32.const $push82=, 624 i32.ne $push8=, $2, $pop82 - br_if $pop8, 0 # 0: up to label1 + br_if 0, $pop8 # 0: up to label1 # BB#2: # %for.end end_loop # label2: i32.const $push9=, 4 @@ -277,7 +277,7 @@ foo: # @foo i32.const $push2=, -1 i32.add $push3=, $pop1, $pop2 i32.store $push4=, 4($0), $pop3 - br_if $pop4, 0 # 0: down to label3 + br_if 0, $pop4 # 0: down to label3 # BB#1: # %if.then i32.const $push44=, 8 i32.add $push5=, $0, $pop44 @@ -318,7 +318,7 @@ foo: # @foo copy_local $2=, $3 i32.const $push45=, 908 i32.ne $push20=, $1, $pop45 - br_if $pop20, 0 # 0: up to label4 + br_if 0, $pop20 # 0: up to label4 .LBB2_3: # %if.end end_loop # label5: end_block # label3: diff --git a/test/torture-s/pr38212.c.s b/test/torture-s/pr38212.c.s index d060be05c..9287b3ec9 100644 --- a/test/torture-s/pr38212.c.s +++ b/test/torture-s/pr38212.c.s @@ -48,7 +48,7 @@ main: # @main i32.call $push2=, foo@FUNCTION, $4, $pop1 i32.const $push4=, 1 i32.ne $push3=, $pop2, $pop4 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $3=, 16 i32.add $5=, $5, $3 diff --git a/test/torture-s/pr38236.c.s b/test/torture-s/pr38236.c.s index a378ff864..b2489485e 100644 --- a/test/torture-s/pr38236.c.s +++ b/test/torture-s/pr38236.c.s @@ -50,7 +50,7 @@ main: # @main i32.call $push1=, foo@FUNCTION, $pop5, $0, $pop0, $pop4 i32.const $push3=, 1 i32.ne $push2=, $pop1, $pop3 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 return $pop6 diff --git a/test/torture-s/pr38533.c.s b/test/torture-s/pr38533.c.s index 99e397a79..761255296 100644 --- a/test/torture-s/pr38533.c.s +++ b/test/torture-s/pr38533.c.s @@ -1233,7 +1233,7 @@ main: # @main # BB#0: # %entry block i32.call $push0=, foo@FUNCTION - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end i32.const $push1=, 0 return $pop1 diff --git a/test/torture-s/pr38969.c.s b/test/torture-s/pr38969.c.s index 34d164c22..6016cafe9 100644 --- a/test/torture-s/pr38969.c.s +++ b/test/torture-s/pr38969.c.s @@ -85,7 +85,7 @@ main: # @main f32.load $push3=, 24($6):p2align=3 f32.const $push6=, 0x1.2p3 f32.ne $push7=, $pop3, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %entry i32.const $push4=, 4 i32.const $5=, 24 @@ -94,7 +94,7 @@ main: # @main f32.load $push0=, 0($pop5) f32.const $push8=, 0x1.5p5 f32.ne $push9=, $pop0, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#2: # %if.end i32.const $push10=, 0 i32.const $2=, 32 diff --git a/test/torture-s/pr39120.c.s b/test/torture-s/pr39120.c.s index b8bffe340..7b6660326 100644 --- a/test/torture-s/pr39120.c.s +++ b/test/torture-s/pr39120.c.s @@ -54,7 +54,7 @@ main: # @main i32.load $push3=, 12($5) i32.const $push4=, 1 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $3=, 16 i32.add $5=, $5, $3 diff --git a/test/torture-s/pr39228.c.s b/test/torture-s/pr39228.c.s index 499d65fce..746a1dc4f 100644 --- a/test/torture-s/pr39228.c.s +++ b/test/torture-s/pr39228.c.s @@ -12,13 +12,13 @@ main: # @main i32.call $push1=, __builtin_isinff@FUNCTION, $pop0 i32.const $push2=, 0 i32.le_s $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end block i32.const $push4=, 1 i32.const $push11=, 0 i32.eq $push12=, $pop4, $pop11 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#2: # %if.end4 block i64.const $push6=, 0 @@ -26,7 +26,7 @@ main: # @main i32.call $push7=, __builtin_isinfl@FUNCTION, $pop6, $pop5 i32.const $push9=, 0 i32.le_s $push8=, $pop7, $pop9 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end8 i32.const $push10=, 0 return $pop10 diff --git a/test/torture-s/pr39233.c.s b/test/torture-s/pr39233.c.s index cabb69d27..d77f8c441 100644 --- a/test/torture-s/pr39233.c.s +++ b/test/torture-s/pr39233.c.s @@ -10,11 +10,11 @@ foo: # @foo block i32.const $push0=, 0 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 7 i32.ge_s $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then diff --git a/test/torture-s/pr39240.c.s b/test/torture-s/pr39240.c.s index 9d32287dd..9c0f8ce6a 100644 --- a/test/torture-s/pr39240.c.s +++ b/test/torture-s/pr39240.c.s @@ -199,7 +199,7 @@ main: # @main i32.const $push19=, 0 i32.load $push1=, l1($pop19) i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.const $push22=, -10 @@ -207,7 +207,7 @@ main: # @main i32.const $push21=, 0 i32.load $push4=, l2($pop21) i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end5 block i32.const $push24=, -10 @@ -215,7 +215,7 @@ main: # @main i32.const $push23=, 0 i32.load $push7=, l3($pop23) i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end11 block i32.const $push26=, -10 @@ -223,7 +223,7 @@ main: # @main i32.const $push25=, 0 i32.load $push10=, l4($pop25) i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.end16 block i32.const $push28=, -10 @@ -231,7 +231,7 @@ main: # @main i32.const $push27=, 0 i32.load $push13=, l5($pop27) i32.ne $push14=, $pop12, $pop13 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#5: # %if.end22 block i32.const $push30=, -10 @@ -239,7 +239,7 @@ main: # @main i32.const $push29=, 0 i32.load $push16=, l6($pop29) i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label5 + br_if 0, $pop17 # 0: down to label5 # BB#6: # %if.end28 i32.const $push18=, 0 return $pop18 diff --git a/test/torture-s/pr39339.c.s b/test/torture-s/pr39339.c.s index 119605256..574dc7ac9 100644 --- a/test/torture-s/pr39339.c.s +++ b/test/torture-s/pr39339.c.s @@ -29,7 +29,7 @@ foo: # @foo block i32.const $push13=, 2 i32.lt_s $push14=, $2, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $push12=, 4194304 i32.or $4=, $0, $pop12 @@ -52,7 +52,7 @@ foo: # @foo i32.add $0=, $0, $pop25 i32.const $push24=, -1 i32.add $2=, $2, $pop24 - br_if $2, 0 # 0: up to label1 + br_if 0, $2 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: @@ -136,7 +136,7 @@ main: # @main i32.load $push23=, 0($pop20) i32.const $push30=, 1434451954 i32.ne $push24=, $pop23, $pop30 - br_if $pop24, 0 # 0: down to label3 + br_if 0, $pop24 # 0: down to label3 # BB#1: # %if.end i32.const $push25=, 12 i32.const $15=, 16 @@ -146,7 +146,7 @@ main: # @main i32.load $push27=, 0($pop26) i32.const $push36=, 1434451954 i32.ne $push28=, $pop27, $pop36 - br_if $pop28, 0 # 0: down to label4 + br_if 0, $pop28 # 0: down to label4 # BB#2: # %if.end13 i32.const $push29=, 0 i32.const $4=, 64 diff --git a/test/torture-s/pr39501.c.s b/test/torture-s/pr39501.c.s index f1715117c..c09ed4908 100644 --- a/test/torture-s/pr39501.c.s +++ b/test/torture-s/pr39501.c.s @@ -133,7 +133,7 @@ main: # @main f32.call $push0=, float_min1@FUNCTION, $pop99, $pop98 f32.const $push97=, -0x1p0 f32.eq $push1=, $pop0, $pop97 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable @@ -145,7 +145,7 @@ main: # @main f32.call $push2=, float_min1@FUNCTION, $pop102, $pop101 f32.const $push100=, -0x1p0 f32.eq $push3=, $pop2, $pop100 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#3: # %if.then3 call abort@FUNCTION unreachable @@ -157,7 +157,7 @@ main: # @main f32.call $push4=, float_min1@FUNCTION, $pop105, $pop104 f32.const $push103=, 0x0p0 f32.eq $push5=, $pop4, $pop103 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#5: # %if.then7 call abort@FUNCTION unreachable @@ -169,7 +169,7 @@ main: # @main f32.call $push6=, float_min1@FUNCTION, $pop108, $pop107 f32.const $push106=, 0x0p0 f32.eq $push7=, $pop6, $pop106 - br_if $pop7, 0 # 0: down to label3 + br_if 0, $pop7 # 0: down to label3 # BB#7: # %if.then11 call abort@FUNCTION unreachable @@ -181,7 +181,7 @@ main: # @main f32.call $push8=, float_min1@FUNCTION, $pop111, $pop110 f32.const $push109=, -0x1p0 f32.eq $push9=, $pop8, $pop109 - br_if $pop9, 0 # 0: down to label4 + br_if 0, $pop9 # 0: down to label4 # BB#9: # %if.then15 call abort@FUNCTION unreachable @@ -193,7 +193,7 @@ main: # @main f32.call $push10=, float_min1@FUNCTION, $pop114, $pop113 f32.const $push112=, -0x1p0 f32.eq $push11=, $pop10, $pop112 - br_if $pop11, 0 # 0: down to label5 + br_if 0, $pop11 # 0: down to label5 # BB#11: # %if.then19 call abort@FUNCTION unreachable @@ -205,7 +205,7 @@ main: # @main f32.call $push12=, float_max1@FUNCTION, $pop117, $pop116 f32.const $push115=, 0x0p0 f32.eq $push13=, $pop12, $pop115 - br_if $pop13, 0 # 0: down to label6 + br_if 0, $pop13 # 0: down to label6 # BB#13: # %if.then23 call abort@FUNCTION unreachable @@ -217,7 +217,7 @@ main: # @main f32.call $push14=, float_max1@FUNCTION, $pop120, $pop119 f32.const $push118=, 0x0p0 f32.eq $push15=, $pop14, $pop118 - br_if $pop15, 0 # 0: down to label7 + br_if 0, $pop15 # 0: down to label7 # BB#15: # %if.then27 call abort@FUNCTION unreachable @@ -229,7 +229,7 @@ main: # @main f32.call $push16=, float_max1@FUNCTION, $pop123, $pop122 f32.const $push121=, 0x1p0 f32.eq $push17=, $pop16, $pop121 - br_if $pop17, 0 # 0: down to label8 + br_if 0, $pop17 # 0: down to label8 # BB#17: # %if.then31 call abort@FUNCTION unreachable @@ -241,7 +241,7 @@ main: # @main f32.call $push18=, float_max1@FUNCTION, $pop126, $pop125 f32.const $push124=, 0x1p0 f32.eq $push19=, $pop18, $pop124 - br_if $pop19, 0 # 0: down to label9 + br_if 0, $pop19 # 0: down to label9 # BB#19: # %if.then35 call abort@FUNCTION unreachable @@ -253,7 +253,7 @@ main: # @main f32.call $push20=, float_max1@FUNCTION, $pop129, $pop128 f32.const $push127=, 0x1p0 f32.eq $push21=, $pop20, $pop127 - br_if $pop21, 0 # 0: down to label10 + br_if 0, $pop21 # 0: down to label10 # BB#21: # %if.then39 call abort@FUNCTION unreachable @@ -265,7 +265,7 @@ main: # @main f32.call $push22=, float_max1@FUNCTION, $pop132, $pop131 f32.const $push130=, 0x1p0 f32.eq $push23=, $pop22, $pop130 - br_if $pop23, 0 # 0: down to label11 + br_if 0, $pop23 # 0: down to label11 # BB#23: # %if.then43 call abort@FUNCTION unreachable @@ -277,7 +277,7 @@ main: # @main f32.call $push24=, float_min2@FUNCTION, $pop135, $pop134 f32.const $push133=, -0x1p0 f32.eq $push25=, $pop24, $pop133 - br_if $pop25, 0 # 0: down to label12 + br_if 0, $pop25 # 0: down to label12 # BB#25: # %if.then47 call abort@FUNCTION unreachable @@ -289,7 +289,7 @@ main: # @main f32.call $push26=, float_min2@FUNCTION, $pop138, $pop137 f32.const $push136=, -0x1p0 f32.eq $push27=, $pop26, $pop136 - br_if $pop27, 0 # 0: down to label13 + br_if 0, $pop27 # 0: down to label13 # BB#27: # %if.then51 call abort@FUNCTION unreachable @@ -301,7 +301,7 @@ main: # @main f32.call $push28=, float_min2@FUNCTION, $pop141, $pop140 f32.const $push139=, 0x0p0 f32.eq $push29=, $pop28, $pop139 - br_if $pop29, 0 # 0: down to label14 + br_if 0, $pop29 # 0: down to label14 # BB#29: # %if.then55 call abort@FUNCTION unreachable @@ -313,7 +313,7 @@ main: # @main f32.call $push30=, float_min2@FUNCTION, $pop144, $pop143 f32.const $push142=, 0x0p0 f32.eq $push31=, $pop30, $pop142 - br_if $pop31, 0 # 0: down to label15 + br_if 0, $pop31 # 0: down to label15 # BB#31: # %if.then59 call abort@FUNCTION unreachable @@ -325,7 +325,7 @@ main: # @main f32.call $push32=, float_min2@FUNCTION, $pop147, $pop146 f32.const $push145=, -0x1p0 f32.eq $push33=, $pop32, $pop145 - br_if $pop33, 0 # 0: down to label16 + br_if 0, $pop33 # 0: down to label16 # BB#33: # %if.then63 call abort@FUNCTION unreachable @@ -337,7 +337,7 @@ main: # @main f32.call $push34=, float_min2@FUNCTION, $pop150, $pop149 f32.const $push148=, -0x1p0 f32.eq $push35=, $pop34, $pop148 - br_if $pop35, 0 # 0: down to label17 + br_if 0, $pop35 # 0: down to label17 # BB#35: # %if.then67 call abort@FUNCTION unreachable @@ -349,7 +349,7 @@ main: # @main f32.call $push36=, float_max2@FUNCTION, $pop153, $pop152 f32.const $push151=, 0x0p0 f32.eq $push37=, $pop36, $pop151 - br_if $pop37, 0 # 0: down to label18 + br_if 0, $pop37 # 0: down to label18 # BB#37: # %if.then71 call abort@FUNCTION unreachable @@ -361,7 +361,7 @@ main: # @main f32.call $push38=, float_max2@FUNCTION, $pop156, $pop155 f32.const $push154=, 0x0p0 f32.eq $push39=, $pop38, $pop154 - br_if $pop39, 0 # 0: down to label19 + br_if 0, $pop39 # 0: down to label19 # BB#39: # %if.then75 call abort@FUNCTION unreachable @@ -373,7 +373,7 @@ main: # @main f32.call $push40=, float_max2@FUNCTION, $pop159, $pop158 f32.const $push157=, 0x1p0 f32.eq $push41=, $pop40, $pop157 - br_if $pop41, 0 # 0: down to label20 + br_if 0, $pop41 # 0: down to label20 # BB#41: # %if.then79 call abort@FUNCTION unreachable @@ -385,7 +385,7 @@ main: # @main f32.call $push42=, float_max2@FUNCTION, $pop162, $pop161 f32.const $push160=, 0x1p0 f32.eq $push43=, $pop42, $pop160 - br_if $pop43, 0 # 0: down to label21 + br_if 0, $pop43 # 0: down to label21 # BB#43: # %if.then83 call abort@FUNCTION unreachable @@ -397,7 +397,7 @@ main: # @main f32.call $push44=, float_max2@FUNCTION, $pop165, $pop164 f32.const $push163=, 0x1p0 f32.eq $push45=, $pop44, $pop163 - br_if $pop45, 0 # 0: down to label22 + br_if 0, $pop45 # 0: down to label22 # BB#45: # %if.then87 call abort@FUNCTION unreachable @@ -409,7 +409,7 @@ main: # @main f32.call $push46=, float_max2@FUNCTION, $pop168, $pop167 f32.const $push166=, 0x1p0 f32.eq $push47=, $pop46, $pop166 - br_if $pop47, 0 # 0: down to label23 + br_if 0, $pop47 # 0: down to label23 # BB#47: # %if.then91 call abort@FUNCTION unreachable @@ -421,7 +421,7 @@ main: # @main f64.call $push48=, double_min1@FUNCTION, $pop171, $pop170 f64.const $push169=, -0x1p0 f64.eq $push49=, $pop48, $pop169 - br_if $pop49, 0 # 0: down to label24 + br_if 0, $pop49 # 0: down to label24 # BB#49: # %if.then95 call abort@FUNCTION unreachable @@ -433,7 +433,7 @@ main: # @main f64.call $push50=, double_min1@FUNCTION, $pop174, $pop173 f64.const $push172=, -0x1p0 f64.eq $push51=, $pop50, $pop172 - br_if $pop51, 0 # 0: down to label25 + br_if 0, $pop51 # 0: down to label25 # BB#51: # %if.then99 call abort@FUNCTION unreachable @@ -445,7 +445,7 @@ main: # @main f64.call $push52=, double_min1@FUNCTION, $pop177, $pop176 f64.const $push175=, 0x0p0 f64.eq $push53=, $pop52, $pop175 - br_if $pop53, 0 # 0: down to label26 + br_if 0, $pop53 # 0: down to label26 # BB#53: # %if.then103 call abort@FUNCTION unreachable @@ -457,7 +457,7 @@ main: # @main f64.call $push54=, double_min1@FUNCTION, $pop180, $pop179 f64.const $push178=, 0x0p0 f64.eq $push55=, $pop54, $pop178 - br_if $pop55, 0 # 0: down to label27 + br_if 0, $pop55 # 0: down to label27 # BB#55: # %if.then107 call abort@FUNCTION unreachable @@ -469,7 +469,7 @@ main: # @main f64.call $push56=, double_min1@FUNCTION, $pop183, $pop182 f64.const $push181=, -0x1p0 f64.eq $push57=, $pop56, $pop181 - br_if $pop57, 0 # 0: down to label28 + br_if 0, $pop57 # 0: down to label28 # BB#57: # %if.then111 call abort@FUNCTION unreachable @@ -481,7 +481,7 @@ main: # @main f64.call $push58=, double_min1@FUNCTION, $pop186, $pop185 f64.const $push184=, -0x1p0 f64.eq $push59=, $pop58, $pop184 - br_if $pop59, 0 # 0: down to label29 + br_if 0, $pop59 # 0: down to label29 # BB#59: # %if.then115 call abort@FUNCTION unreachable @@ -493,7 +493,7 @@ main: # @main f64.call $push60=, double_max1@FUNCTION, $pop189, $pop188 f64.const $push187=, 0x0p0 f64.eq $push61=, $pop60, $pop187 - br_if $pop61, 0 # 0: down to label30 + br_if 0, $pop61 # 0: down to label30 # BB#61: # %if.then119 call abort@FUNCTION unreachable @@ -505,7 +505,7 @@ main: # @main f64.call $push62=, double_max1@FUNCTION, $pop192, $pop191 f64.const $push190=, 0x0p0 f64.eq $push63=, $pop62, $pop190 - br_if $pop63, 0 # 0: down to label31 + br_if 0, $pop63 # 0: down to label31 # BB#63: # %if.then123 call abort@FUNCTION unreachable @@ -517,7 +517,7 @@ main: # @main f64.call $push64=, double_max1@FUNCTION, $pop195, $pop194 f64.const $push193=, 0x1p0 f64.eq $push65=, $pop64, $pop193 - br_if $pop65, 0 # 0: down to label32 + br_if 0, $pop65 # 0: down to label32 # BB#65: # %if.then127 call abort@FUNCTION unreachable @@ -529,7 +529,7 @@ main: # @main f64.call $push66=, double_max1@FUNCTION, $pop198, $pop197 f64.const $push196=, 0x1p0 f64.eq $push67=, $pop66, $pop196 - br_if $pop67, 0 # 0: down to label33 + br_if 0, $pop67 # 0: down to label33 # BB#67: # %if.then131 call abort@FUNCTION unreachable @@ -541,7 +541,7 @@ main: # @main f64.call $push68=, double_max1@FUNCTION, $pop201, $pop200 f64.const $push199=, 0x1p0 f64.eq $push69=, $pop68, $pop199 - br_if $pop69, 0 # 0: down to label34 + br_if 0, $pop69 # 0: down to label34 # BB#69: # %if.then135 call abort@FUNCTION unreachable @@ -553,7 +553,7 @@ main: # @main f64.call $push70=, double_max1@FUNCTION, $pop204, $pop203 f64.const $push202=, 0x1p0 f64.eq $push71=, $pop70, $pop202 - br_if $pop71, 0 # 0: down to label35 + br_if 0, $pop71 # 0: down to label35 # BB#71: # %if.then139 call abort@FUNCTION unreachable @@ -565,7 +565,7 @@ main: # @main f64.call $push72=, double_min2@FUNCTION, $pop207, $pop206 f64.const $push205=, -0x1p0 f64.eq $push73=, $pop72, $pop205 - br_if $pop73, 0 # 0: down to label36 + br_if 0, $pop73 # 0: down to label36 # BB#73: # %if.then143 call abort@FUNCTION unreachable @@ -577,7 +577,7 @@ main: # @main f64.call $push74=, double_min2@FUNCTION, $pop210, $pop209 f64.const $push208=, -0x1p0 f64.eq $push75=, $pop74, $pop208 - br_if $pop75, 0 # 0: down to label37 + br_if 0, $pop75 # 0: down to label37 # BB#75: # %if.then147 call abort@FUNCTION unreachable @@ -589,7 +589,7 @@ main: # @main f64.call $push76=, double_min2@FUNCTION, $pop213, $pop212 f64.const $push211=, 0x0p0 f64.eq $push77=, $pop76, $pop211 - br_if $pop77, 0 # 0: down to label38 + br_if 0, $pop77 # 0: down to label38 # BB#77: # %if.then151 call abort@FUNCTION unreachable @@ -601,7 +601,7 @@ main: # @main f64.call $push78=, double_min2@FUNCTION, $pop216, $pop215 f64.const $push214=, 0x0p0 f64.eq $push79=, $pop78, $pop214 - br_if $pop79, 0 # 0: down to label39 + br_if 0, $pop79 # 0: down to label39 # BB#79: # %if.then155 call abort@FUNCTION unreachable @@ -613,7 +613,7 @@ main: # @main f64.call $push80=, double_min2@FUNCTION, $pop219, $pop218 f64.const $push217=, -0x1p0 f64.eq $push81=, $pop80, $pop217 - br_if $pop81, 0 # 0: down to label40 + br_if 0, $pop81 # 0: down to label40 # BB#81: # %if.then159 call abort@FUNCTION unreachable @@ -625,7 +625,7 @@ main: # @main f64.call $push82=, double_min2@FUNCTION, $pop222, $pop221 f64.const $push220=, -0x1p0 f64.eq $push83=, $pop82, $pop220 - br_if $pop83, 0 # 0: down to label41 + br_if 0, $pop83 # 0: down to label41 # BB#83: # %if.then163 call abort@FUNCTION unreachable @@ -637,7 +637,7 @@ main: # @main f64.call $push84=, double_max2@FUNCTION, $pop225, $pop224 f64.const $push223=, 0x0p0 f64.eq $push85=, $pop84, $pop223 - br_if $pop85, 0 # 0: down to label42 + br_if 0, $pop85 # 0: down to label42 # BB#85: # %if.then167 call abort@FUNCTION unreachable @@ -649,7 +649,7 @@ main: # @main f64.call $push86=, double_max2@FUNCTION, $pop228, $pop227 f64.const $push226=, 0x0p0 f64.eq $push87=, $pop86, $pop226 - br_if $pop87, 0 # 0: down to label43 + br_if 0, $pop87 # 0: down to label43 # BB#87: # %if.then171 call abort@FUNCTION unreachable @@ -661,7 +661,7 @@ main: # @main f64.call $push88=, double_max2@FUNCTION, $pop231, $pop230 f64.const $push229=, 0x1p0 f64.eq $push89=, $pop88, $pop229 - br_if $pop89, 0 # 0: down to label44 + br_if 0, $pop89 # 0: down to label44 # BB#89: # %if.then175 call abort@FUNCTION unreachable @@ -673,7 +673,7 @@ main: # @main f64.call $push90=, double_max2@FUNCTION, $pop234, $pop233 f64.const $push232=, 0x1p0 f64.eq $push91=, $pop90, $pop232 - br_if $pop91, 0 # 0: down to label45 + br_if 0, $pop91 # 0: down to label45 # BB#91: # %if.then179 call abort@FUNCTION unreachable @@ -685,7 +685,7 @@ main: # @main f64.call $push92=, double_max2@FUNCTION, $pop237, $pop236 f64.const $push235=, 0x1p0 f64.eq $push93=, $pop92, $pop235 - br_if $pop93, 0 # 0: down to label46 + br_if 0, $pop93 # 0: down to label46 # BB#93: # %if.then183 call abort@FUNCTION unreachable @@ -697,7 +697,7 @@ main: # @main f64.call $push94=, double_max2@FUNCTION, $pop240, $pop239 f64.const $push238=, 0x1p0 f64.eq $push95=, $pop94, $pop238 - br_if $pop95, 0 # 0: down to label47 + br_if 0, $pop95 # 0: down to label47 # BB#95: # %if.then187 call abort@FUNCTION unreachable diff --git a/test/torture-s/pr40022.c.s b/test/torture-s/pr40022.c.s index 3de3a86b1..2c8c35fb5 100644 --- a/test/torture-s/pr40022.c.s +++ b/test/torture-s/pr40022.c.s @@ -42,13 +42,13 @@ bar: # @bar tee_local $push5=, $1=, $pop3 i32.const $push7=, 0 i32.eq $push8=, $pop5, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 .LBB1_1: # %while.cond.while.cond_crit_edge # =>This Inner Loop Header: Depth=1 loop # label1: copy_local $0=, $1 i32.load $1=, 0($1) - br_if $1, 0 # 0: up to label1 + br_if 0, $1 # 0: up to label1 .LBB1_2: # %while.end end_loop # label2: end_block # label0: @@ -58,13 +58,13 @@ bar: # @bar tee_local $push6=, $1=, $pop4 i32.const $push9=, 0 i32.eq $push10=, $pop6, $pop9 - br_if $pop10, 0 # 0: down to label3 + br_if 0, $pop10 # 0: down to label3 .LBB1_3: # %while.cond2.while.cond2_crit_edge # =>This Inner Loop Header: Depth=1 loop # label4: copy_local $0=, $1 i32.load $1=, 0($1) - br_if $1, 0 # 0: up to label4 + br_if 0, $1 # 0: up to label4 .LBB1_4: # %while.end6 end_loop # label5: end_block # label3: @@ -97,22 +97,22 @@ main: # @main tee_local $push10=, $0=, $pop0 i32.const $push15=, 0 i32.eq $push16=, $pop10, $pop15 - br_if $pop16, 0 # 0: down to label6 + br_if 0, $pop16 # 0: down to label6 # BB#1: # %lor.lhs.false i32.load $push1=, 0($0) tee_local $push13=, $0=, $pop1 i32.const $push17=, 0 i32.eq $push18=, $pop13, $pop17 - br_if $pop18, 0 # 0: down to label6 + br_if 0, $pop18 # 0: down to label6 # BB#2: # %lor.lhs.false2 i32.load $push2=, 0($0) tee_local $push14=, $0=, $pop2 i32.const $push19=, 0 i32.eq $push20=, $pop14, $pop19 - br_if $pop20, 0 # 0: down to label6 + br_if 0, $pop20 # 0: down to label6 # BB#3: # %lor.lhs.false6 i32.load $push8=, 0($0) - br_if $pop8, 0 # 0: down to label6 + br_if 0, $pop8 # 0: down to label6 # BB#4: # %if.end i32.const $push9=, 0 return $pop9 diff --git a/test/torture-s/pr40057.c.s b/test/torture-s/pr40057.c.s index 882c32fbb..b112862d7 100644 --- a/test/torture-s/pr40057.c.s +++ b/test/torture-s/pr40057.c.s @@ -42,26 +42,26 @@ main: # @main block i64.const $push0=, 6042589866 i32.call $push1=, foo@FUNCTION, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end block i64.const $push2=, 6579460778 i32.call $push3=, foo@FUNCTION, $pop2 i32.const $push9=, 0 i32.eq $push10=, $pop3, $pop9 - br_if $pop10, 0 # 0: down to label1 + br_if 0, $pop10 # 0: down to label1 # BB#2: # %if.end4 block i64.const $push4=, 6042589866 i32.call $push5=, bar@FUNCTION, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#3: # %if.end8 block i64.const $push6=, 6579460778 i32.call $push7=, bar@FUNCTION, $pop6 i32.const $push11=, 0 i32.eq $push12=, $pop7, $pop11 - br_if $pop12, 0 # 0: down to label3 + br_if 0, $pop12 # 0: down to label3 # BB#4: # %if.end12 i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/pr40386.c.s b/test/torture-s/pr40386.c.s index 58a44c01c..011790637 100644 --- a/test/torture-s/pr40386.c.s +++ b/test/torture-s/pr40386.c.s @@ -23,7 +23,7 @@ main: # @main i32.or $push17=, $pop16, $pop14 i32.const $push132=, 835 i32.ne $push18=, $pop17, $pop132 - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#1: # %if.end block i32.const $push19=, 4 @@ -33,7 +33,7 @@ main: # @main i32.or $push22=, $pop20, $pop21 i32.const $push137=, 835 i32.ne $push23=, $pop22, $pop137 - br_if $pop23, 0 # 0: down to label1 + br_if 0, $pop23 # 0: down to label1 # BB#2: # %if.end11 block i32.const $push24=, 0 @@ -47,7 +47,7 @@ main: # @main i32.or $push28=, $pop25, $pop27 i32.const $push139=, -221 i32.ne $push29=, $pop28, $pop139 - br_if $pop29, 0 # 0: down to label2 + br_if 0, $pop29 # 0: down to label2 # BB#3: # %if.end21 block i32.const $push30=, 4 @@ -57,7 +57,7 @@ main: # @main i32.or $push34=, $pop31, $pop33 i32.const $push142=, -221 i32.ne $push35=, $pop34, $pop142 - br_if $pop35, 0 # 0: down to label3 + br_if 0, $pop35 # 0: down to label3 # BB#4: # %if.end30 block i32.const $push36=, 0 @@ -71,7 +71,7 @@ main: # @main i32.or $push40=, $pop37, $pop39 i32.const $push143=, 1073745699 i32.ne $push41=, $pop40, $pop143 - br_if $pop41, 0 # 0: down to label4 + br_if 0, $pop41 # 0: down to label4 # BB#5: # %if.end38 block i32.const $push42=, 4 @@ -81,7 +81,7 @@ main: # @main i32.or $push46=, $pop43, $pop45 i32.const $push146=, 1073745699 i32.ne $push47=, $pop46, $pop146 - br_if $pop47, 0 # 0: down to label5 + br_if 0, $pop47 # 0: down to label5 # BB#6: # %if.end45 block i32.const $push48=, 0 @@ -92,7 +92,7 @@ main: # @main i32.or $push51=, $pop49, $pop50 i32.const $push147=, -14465689 i32.ne $push52=, $pop51, $pop147 - br_if $pop52, 0 # 0: down to label6 + br_if 0, $pop52 # 0: down to label6 # BB#7: # %if.end53 block i32.const $push53=, 4 @@ -102,7 +102,7 @@ main: # @main i32.or $push57=, $pop54, $pop56 i32.const $push149=, -14465689 i32.ne $push58=, $pop57, $pop149 - br_if $pop58, 0 # 0: down to label7 + br_if 0, $pop58 # 0: down to label7 # BB#8: # %if.end60 block i32.const $push59=, 0 @@ -119,7 +119,7 @@ main: # @main i64.or $push64=, $pop60, $pop63 i64.const $push150=, 68174490360335855 i64.ne $push65=, $pop64, $pop150 - br_if $pop65, 0 # 0: down to label8 + br_if 0, $pop65 # 0: down to label8 # BB#9: # %if.end69 block i64.const $push66=, 4 @@ -129,7 +129,7 @@ main: # @main i64.or $push70=, $pop67, $pop69 i64.const $push154=, 68174490360335855 i64.ne $push71=, $pop70, $pop154 - br_if $pop71, 0 # 0: down to label9 + br_if 0, $pop71 # 0: down to label9 # BB#10: # %if.end76 block i32.const $push75=, 64 @@ -146,7 +146,7 @@ main: # @main i64.or $push78=, $pop77, $pop74 i64.const $push155=, -994074541463572736 i64.ne $push79=, $pop78, $pop155 - br_if $pop79, 0 # 0: down to label10 + br_if 0, $pop79 # 0: down to label10 # BB#11: # %if.end86 block i64.const $push80=, 60 @@ -156,7 +156,7 @@ main: # @main i64.or $push84=, $pop81, $pop83 i64.const $push159=, -994074541463572736 i64.ne $push85=, $pop84, $pop159 - br_if $pop85, 0 # 0: down to label11 + br_if 0, $pop85 # 0: down to label11 # BB#12: # %if.end93 block i32.shr_s $push87=, $2, $0 @@ -164,7 +164,7 @@ main: # @main i32.or $push88=, $pop87, $pop86 i32.const $push89=, 835 i32.ne $push90=, $pop88, $pop89 - br_if $pop90, 0 # 0: down to label12 + br_if 0, $pop90 # 0: down to label12 # BB#13: # %if.end112 block i32.shl $push91=, $4, $1 @@ -172,7 +172,7 @@ main: # @main i32.or $push93=, $pop91, $pop92 i32.const $push160=, -1 i32.ne $push94=, $pop93, $pop160 - br_if $pop94, 0 # 0: down to label13 + br_if 0, $pop94 # 0: down to label13 # BB#14: # %if.end122 block i32.const $push95=, 4 @@ -182,7 +182,7 @@ main: # @main i32.or $push99=, $pop96, $pop98 i32.const $push161=, -1 i32.ne $push100=, $pop99, $pop161 - br_if $pop100, 0 # 0: down to label14 + br_if 0, $pop100 # 0: down to label14 # BB#15: # %if.end131 block i32.shl $push101=, $6, $1 @@ -190,7 +190,7 @@ main: # @main i32.or $push103=, $pop101, $pop102 i32.const $push162=, 992064 i32.ne $push104=, $pop103, $pop162 - br_if $pop104, 0 # 0: down to label15 + br_if 0, $pop104 # 0: down to label15 # BB#16: # %if.end139 block i32.const $push105=, 4 @@ -200,7 +200,7 @@ main: # @main i32.or $push109=, $pop106, $pop108 i32.const $push163=, 992064 i32.ne $push110=, $pop109, $pop163 - br_if $pop110, 0 # 0: down to label16 + br_if 0, $pop110 # 0: down to label16 # BB#17: # %if.end146 block i32.shl $push111=, $7, $1 @@ -208,7 +208,7 @@ main: # @main i32.or $push113=, $pop111, $pop112 i32.const $push164=, -1 i32.ne $push114=, $pop113, $pop164 - br_if $pop114, 0 # 0: down to label17 + br_if 0, $pop114 # 0: down to label17 # BB#18: # %if.end154 block i32.const $push115=, 4 @@ -218,7 +218,7 @@ main: # @main i32.or $push119=, $pop116, $pop118 i32.const $push165=, -1 i32.ne $push120=, $pop119, $pop165 - br_if $pop120, 0 # 0: down to label18 + br_if 0, $pop120 # 0: down to label18 # BB#19: # %if.end161 block i64.shl $push121=, $10, $9 @@ -226,7 +226,7 @@ main: # @main i64.or $push123=, $pop121, $pop122 i64.const $push124=, -994074541463572736 i64.ne $push125=, $pop123, $pop124 - br_if $pop125, 0 # 0: down to label19 + br_if 0, $pop125 # 0: down to label19 # BB#20: # %if.end178 block i64.shr_s $push127=, $10, $12 @@ -234,7 +234,7 @@ main: # @main i64.or $push128=, $pop127, $pop126 i64.const $push129=, 68174490360335855 i64.ne $push130=, $pop128, $pop129 - br_if $pop130, 0 # 0: down to label20 + br_if 0, $pop130 # 0: down to label20 # BB#21: # %if.end195 i32.const $push131=, 0 call exit@FUNCTION, $pop131 diff --git a/test/torture-s/pr40579.c.s b/test/torture-s/pr40579.c.s index 32f29c2d9..904fe23c5 100644 --- a/test/torture-s/pr40579.c.s +++ b/test/torture-s/pr40579.c.s @@ -29,7 +29,7 @@ foo: # @foo block i32.const $push0=, 4 i32.ge_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB1_2: # %if.then diff --git a/test/torture-s/pr40657.c.s b/test/torture-s/pr40657.c.s index c38689761..6548b6408 100644 --- a/test/torture-s/pr40657.c.s +++ b/test/torture-s/pr40657.c.s @@ -68,7 +68,7 @@ main: # @main i32.const $push3=, 0 i64.load $push1=, v($pop3) i64.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/pr40668.c.s b/test/torture-s/pr40668.c.s index 9d461a039..1373c0cec 100644 --- a/test/torture-s/pr40668.c.s +++ b/test/torture-s/pr40668.c.s @@ -13,7 +13,7 @@ bar: # @bar tee_local $push8=, $0=, $pop0 i32.const $push2=, 8 i32.gt_u $push3=, $pop8, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %entry block block diff --git a/test/torture-s/pr41239.c.s b/test/torture-s/pr41239.c.s index 41b8912be..d78201662 100644 --- a/test/torture-s/pr41239.c.s +++ b/test/torture-s/pr41239.c.s @@ -21,7 +21,7 @@ test: # @test i32.add $push2=, $0, $pop1 i32.load $push0=, 0($pop2) tee_local $push13=, $0=, $pop0 - br_if $pop13, 0 # 0: down to label0 + br_if 0, $pop13 # 0: down to label0 # BB#1: # %if.then i32.const $push7=, 20 i32.const $push4=, .L.str @@ -33,7 +33,7 @@ test: # @test i32.and $push9=, $2, $pop8 i32.const $push14=, 0 i32.eq $push15=, $pop9, $pop14 - br_if $pop15, 0 # 0: down to label0 + br_if 0, $pop15 # 0: down to label0 # BB#2: # %cond.true i32.const $push10=, 33816706 i32.call $2=, fn3@FUNCTION, $pop10 @@ -96,7 +96,7 @@ fn2: # @fn2 #APP #NO_APP block - br_if $0, 0 # 0: down to label1 + br_if 0, $0 # 0: down to label1 # BB#1: # %if.end return .LBB2_2: # %if.then diff --git a/test/torture-s/pr41395-1.c.s b/test/torture-s/pr41395-1.c.s index b2400877c..d4839ffa1 100644 --- a/test/torture-s/pr41395-1.c.s +++ b/test/torture-s/pr41395-1.c.s @@ -42,7 +42,7 @@ main: # @main i32.and $push5=, $pop3, $pop4 i32.const $push6=, 1 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/pr41395-2.c.s b/test/torture-s/pr41395-2.c.s index 02a0e69c8..fe381d0b0 100644 --- a/test/torture-s/pr41395-2.c.s +++ b/test/torture-s/pr41395-2.c.s @@ -42,7 +42,7 @@ main: # @main i32.and $push5=, $pop3, $pop4 i32.const $push6=, 1 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/pr41463.c.s b/test/torture-s/pr41463.c.s index d3f6b461e..45040d7db 100644 --- a/test/torture-s/pr41463.c.s +++ b/test/torture-s/pr41463.c.s @@ -40,7 +40,7 @@ main: # @main i32.call $push3=, foo@FUNCTION, $pop1, $pop2 i32.const $push4=, global i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 return $pop6 diff --git a/test/torture-s/pr41750.c.s b/test/torture-s/pr41750.c.s index fa3d75610..21f54cc58 100644 --- a/test/torture-s/pr41750.c.s +++ b/test/torture-s/pr41750.c.s @@ -30,12 +30,12 @@ elf64_ia64_check_relocs: # @elf64_ia64_check_relocs tee_local $push8=, $3=, $pop0 i32.load $push6=, 8($pop8) tee_local $push7=, $2=, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.then.i block i32.load $push5=, 4($3) tee_local $push9=, $2=, $pop5 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#2: # %if.then3.i i32.const $push1=, 4 i32.add $push2=, $3, $pop1 @@ -69,7 +69,7 @@ main: # @main i32.call $push3=, elf64_ia64_check_relocs@FUNCTION, $pop2, $pop1 i32.const $push5=, abfd i32.ne $push4=, $pop3, $pop5 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#1: # %if.end i32.const $push7=, 0 return $pop7 diff --git a/test/torture-s/pr41917.c.s b/test/torture-s/pr41917.c.s index 272696db8..22ab58c43 100644 --- a/test/torture-s/pr41917.c.s +++ b/test/torture-s/pr41917.c.s @@ -16,7 +16,7 @@ main: # @main i32.rem_u $push4=, $pop3, $pop2 i32.const $push6=, -942519458 i32.ne $push5=, $pop4, $pop6 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/pr42142.c.s b/test/torture-s/pr42142.c.s index e41ba94ed..e96da5114 100644 --- a/test/torture-s/pr42142.c.s +++ b/test/torture-s/pr42142.c.s @@ -34,7 +34,7 @@ main: # @main i32.call $push1=, sort@FUNCTION, $pop0 i32.const $push2=, 1 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr42154.c.s b/test/torture-s/pr42154.c.s index dc4ebbfdf..d26d65573 100644 --- a/test/torture-s/pr42154.c.s +++ b/test/torture-s/pr42154.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.and $push1=, $0, $pop0 i32.const $push2=, 97 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/pr42231.c.s b/test/torture-s/pr42231.c.s index 0b603cef7..cf2129241 100644 --- a/test/torture-s/pr42231.c.s +++ b/test/torture-s/pr42231.c.s @@ -12,7 +12,7 @@ main: # @main i32.call $push1=, CallFunctionRec@FUNCTION, $pop0 i32.const $push8=, 0 i32.eq $push9=, $pop1, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %land.rhs.i i32.const $push2=, 0 call storemax@FUNCTION, $pop2 @@ -23,7 +23,7 @@ main: # @main i32.load $push3=, max($pop6) i32.const $push4=, 10 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#3: # %if.end i32.const $push7=, 0 return $pop7 @@ -47,12 +47,12 @@ CallFunctionRec: # @CallFunctionRec block i32.const $push5=, 0 i32.eq $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label2 + br_if 0, $pop6 # 0: down to label2 # BB#1: # %if.end i32.const $1=, 1 i32.const $push0=, 9 i32.gt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label2 + br_if 0, $pop1 # 0: down to label2 # BB#2: # %if.then1 i32.const $push2=, 1 i32.add $push3=, $0, $pop2 @@ -75,7 +75,7 @@ storemax: # @storemax i32.const $push2=, 0 i32.load $push0=, max($pop2) i32.ge_s $push1=, $pop0, $0 - br_if $pop1, 0 # 0: down to label3 + br_if 0, $pop1 # 0: down to label3 # BB#1: # %if.then i32.const $push3=, 0 i32.store $discard=, max($pop3), $0 diff --git a/test/torture-s/pr42248.c.s b/test/torture-s/pr42248.c.s index 88e946057..848f096ac 100644 --- a/test/torture-s/pr42248.c.s +++ b/test/torture-s/pr42248.c.s @@ -11,12 +11,12 @@ check: # @check f64.load $push2=, 0($0) f64.load $push3=, 0($1) f64.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %entry f64.load $push0=, 8($0) f64.load $push1=, 8($1) f64.ne $push5=, $pop0, $pop1 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then diff --git a/test/torture-s/pr42512.c.s b/test/torture-s/pr42512.c.s index 414aaed3f..228e1bb66 100644 --- a/test/torture-s/pr42512.c.s +++ b/test/torture-s/pr42512.c.s @@ -21,7 +21,7 @@ main: # @main i32.add $push2=, $0, $pop7 i32.const $push6=, 255 i32.and $0=, $pop2, $pop6 - br_if $0, 0 # 0: up to label0 + br_if 0, $0 # 0: up to label0 # BB#2: # %for.end end_loop # label1: i32.const $push10=, 0 @@ -31,7 +31,7 @@ main: # @main i32.and $push4=, $1, $pop3 i32.const $push9=, 65535 i32.ne $push5=, $pop4, $pop9 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#3: # %if.end i32.const $push11=, 0 return $pop11 diff --git a/test/torture-s/pr42614.c.s b/test/torture-s/pr42614.c.s index 369227069..c059c6add 100644 --- a/test/torture-s/pr42614.c.s +++ b/test/torture-s/pr42614.c.s @@ -24,12 +24,12 @@ expect_func: # @expect_func block i32.const $push0=, 0 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end block i32.const $push2=, 0 i32.eq $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %if.end6 return .LBB1_3: # %if.then5 diff --git a/test/torture-s/pr42691.c.s b/test/torture-s/pr42691.c.s index 737a28b91..2aa92f3af 100644 --- a/test/torture-s/pr42691.c.s +++ b/test/torture-s/pr42691.c.s @@ -15,7 +15,7 @@ add: # @add f64.load $push0=, 0($0) tee_local $push6=, $2=, $pop0 f64.eq $push1=, $pop7, $pop6 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end.preheader i32.const $push8=, 8 i32.add $1=, $1, $pop8 @@ -24,14 +24,14 @@ add: # @add loop # label1: f64.const $push10=, infinity f64.ne $push2=, $3, $pop10 - br_if $pop2, 1 # 1: down to label2 + br_if 1, $pop2 # 1: down to label2 # BB#3: # %while.body # in Loop: Header=BB0_2 Depth=1 f64.load $3=, 0($1) i32.const $push9=, 8 i32.add $1=, $1, $pop9 f64.ne $push3=, $3, $2 - br_if $pop3, 0 # 0: up to label1 + br_if 0, $pop3 # 0: up to label1 br 2 # 2: down to label0 .LBB0_4: # %if.then3 end_loop # label2: @@ -73,7 +73,7 @@ main: # @main loop # label4: f64.const $push10=, infinity f64.ne $push2=, $0, $pop10 - br_if $pop2, 2 # 2: down to label3 + br_if 2, $pop2 # 2: down to label3 # BB#2: # %while.body.i # in Loop: Header=BB1_1 Depth=1 f64.load $0=, 0($1) @@ -81,7 +81,7 @@ main: # @main i32.add $1=, $1, $pop9 f64.const $push8=, 0x1.7p4 f64.ne $push3=, $0, $pop8 - br_if $pop3, 0 # 0: up to label4 + br_if 0, $pop3 # 0: up to label4 # BB#3: # %add.exit end_loop # label5: i32.const $push4=, 0 diff --git a/test/torture-s/pr42721.c.s b/test/torture-s/pr42721.c.s index 33e83ee85..3f346c55c 100644 --- a/test/torture-s/pr42721.c.s +++ b/test/torture-s/pr42721.c.s @@ -16,7 +16,7 @@ main: # @main i32.xor $push2=, $pop3, $pop1 i32.store $discard=, b($pop5), $pop2 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 return $pop6 diff --git a/test/torture-s/pr42833.c.s b/test/torture-s/pr42833.c.s index 648d7cd03..660b559b8 100644 --- a/test/torture-s/pr42833.c.s +++ b/test/torture-s/pr42833.c.s @@ -17,12 +17,12 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 tee_local $push91=, $5=, $pop0 i32.const $push6=, 117440512 i32.gt_s $push7=, $pop91, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.else block i32.const $push8=, -134217729 i32.gt_s $push9=, $5, $pop8 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#2: # %if.then13 i32.const $push21=, 24 i32.shl $push22=, $0, $pop21 @@ -37,7 +37,7 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 tee_local $push93=, $6=, $pop1 i32.const $push10=, -8 i32.eq $push11=, $pop93, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#4: # %if.else34 i32.const $push12=, 24 i32.shl $push13=, $0, $pop12 @@ -46,7 +46,7 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 block i32.const $push95=, -1 i32.le_s $push14=, $5, $pop95 - br_if $pop14, 0 # 0: down to label2 + br_if 0, $pop14 # 0: down to label2 # BB#5: # %if.else48 i32.shl $3=, $3, $6 br 1 # 1: down to label0 @@ -70,14 +70,14 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 tee_local $push99=, $5=, $pop2 i32.const $push98=, 7 i32.gt_s $push25=, $pop99, $pop98 - br_if $pop25, 0 # 0: down to label3 + br_if 0, $pop25 # 0: down to label3 # BB#8: # %if.else68 i32.const $push5=, 8 i32.shr_u $6=, $0, $pop5 block i32.const $push26=, -9 i32.gt_s $push27=, $5, $pop26 - br_if $pop27, 0 # 0: down to label4 + br_if 0, $pop27 # 0: down to label4 # BB#9: # %if.then72 i32.const $push39=, 24 i32.shl $push40=, $6, $pop39 @@ -88,7 +88,7 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 end_block # label4: i32.const $push28=, -8 i32.eq $push29=, $5, $pop28 - br_if $pop29, 0 # 0: down to label3 + br_if 0, $pop29 # 0: down to label3 # BB#11: # %if.else96 i32.const $push30=, 24 i32.shl $push31=, $6, $pop30 @@ -97,7 +97,7 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 block i32.const $push102=, -1 i32.le_s $push32=, $5, $pop102 - br_if $pop32, 0 # 0: down to label5 + br_if 0, $pop32 # 0: down to label5 # BB#12: # %if.else112 i32.shl $4=, $4, $5 br 1 # 1: down to label3 @@ -123,14 +123,14 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 tee_local $push106=, $7=, $pop3 i32.const $push105=, 7 i32.gt_s $push44=, $pop106, $pop105 - br_if $pop44, 0 # 0: down to label6 + br_if 0, $pop44 # 0: down to label6 # BB#15: # %if.else133 i32.const $push108=, 16 i32.shr_u $2=, $0, $pop108 block i32.const $push45=, -9 i32.gt_s $push46=, $7, $pop45 - br_if $pop46, 0 # 0: down to label7 + br_if 0, $pop46 # 0: down to label7 # BB#16: # %if.then137 i32.const $push58=, 24 i32.shl $push59=, $2, $pop58 @@ -142,7 +142,7 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 i32.const $5=, 0 i32.const $push47=, -8 i32.eq $push48=, $7, $pop47 - br_if $pop48, 0 # 0: down to label6 + br_if 0, $pop48 # 0: down to label6 # BB#18: # %if.else161 i32.const $push49=, 24 i32.shl $push50=, $2, $pop49 @@ -151,7 +151,7 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 block i32.const $push109=, -1 i32.le_s $push51=, $7, $pop109 - br_if $pop51, 0 # 0: down to label8 + br_if 0, $pop51 # 0: down to label8 # BB#19: # %if.else177 i32.shl $5=, $5, $7 br 1 # 1: down to label6 @@ -173,12 +173,12 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 tee_local $push112=, $1=, $pop4 i32.const $push61=, 7 i32.gt_s $push62=, $pop112, $pop61 - br_if $pop62, 0 # 0: down to label9 + br_if 0, $pop62 # 0: down to label9 # BB#22: # %if.else199 block i32.const $push63=, -9 i32.gt_s $push64=, $1, $pop63 - br_if $pop64, 0 # 0: down to label10 + br_if 0, $pop64 # 0: down to label10 # BB#23: # %if.then203 i32.const $push75=, 31 i32.shr_s $6=, $0, $pop75 @@ -187,14 +187,14 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 end_block # label10: i32.const $push65=, -8 i32.eq $push66=, $1, $pop65 - br_if $pop66, 0 # 0: down to label9 + br_if 0, $pop66 # 0: down to label9 # BB#25: # %if.else227 i32.const $push67=, 24 i32.shr_s $0=, $0, $pop67 block i32.const $push114=, -1 i32.le_s $push68=, $1, $pop114 - br_if $pop68, 0 # 0: down to label11 + br_if 0, $pop68 # 0: down to label11 # BB#26: # %if.else243 i32.shl $6=, $0, $1 br 1 # 1: down to label9 diff --git a/test/torture-s/pr43008.c.s b/test/torture-s/pr43008.c.s index 2e623c66e..22e933a5e 100644 --- a/test/torture-s/pr43008.c.s +++ b/test/torture-s/pr43008.c.s @@ -43,7 +43,7 @@ main: # @main i32.store $0=, i($pop6), $pop8 block i32.load $push7=, 0($1) - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end return $0 .LBB1_2: # %if.then diff --git a/test/torture-s/pr43220.c.s b/test/torture-s/pr43220.c.s index a534411d6..d8c689975 100644 --- a/test/torture-s/pr43220.c.s +++ b/test/torture-s/pr43220.c.s @@ -56,7 +56,7 @@ main: # @main i32.add $4=, $4, $2 i32.const $push13=, 1000000 i32.lt_s $push11=, $4, $pop13 - br_if $pop11, 0 # 0: up to label0 + br_if 0, $pop11 # 0: up to label0 # BB#2: # %if.end end_loop # label1: i32.const $push12=, 0 diff --git a/test/torture-s/pr43236.c.s b/test/torture-s/pr43236.c.s index 86b47390d..db96ab9c5 100644 --- a/test/torture-s/pr43236.c.s +++ b/test/torture-s/pr43236.c.s @@ -105,13 +105,13 @@ main: # @main i32.add $19=, $21, $19 block i32.call $push36=, memcmp@FUNCTION, $19, $21, $pop39 - br_if $pop36, 0 # 0: down to label0 + br_if 0, $pop36 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $push52=, 30 i32.const $20=, 32 i32.add $20=, $21, $20 i32.call $push37=, memcmp@FUNCTION, $20, $21, $pop52 - br_if $pop37, 0 # 0: down to label0 + br_if 0, $pop37 # 0: down to label0 # BB#2: # %if.end i32.const $push38=, 0 i32.const $6=, 96 diff --git a/test/torture-s/pr43269.c.s b/test/torture-s/pr43269.c.s index d4ef89258..377060eac 100644 --- a/test/torture-s/pr43269.c.s +++ b/test/torture-s/pr43269.c.s @@ -13,7 +13,7 @@ main: # @main i32.load $push0=, g_261($pop3) i32.const $push1=, -1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 @@ -36,7 +36,7 @@ func_32: # @func_32 i32.const $push1=, -1 i32.store $push2=, g_261($pop5), $pop1 i32.eq $push4=, $pop3, $pop2 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#1: # %for.end return .LBB1_2: # %if.else diff --git a/test/torture-s/pr43385.c.s b/test/torture-s/pr43385.c.s index 34162aadd..1bbf88064 100644 --- a/test/torture-s/pr43385.c.s +++ b/test/torture-s/pr43385.c.s @@ -10,11 +10,11 @@ foo: # @foo block i32.const $push5=, 0 i32.eq $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %entry i32.const $push7=, 0 i32.eq $push8=, $1, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#2: # %if.then i32.const $push0=, 0 i32.const $push4=, 0 @@ -70,7 +70,7 @@ main: # @main i32.load $push3=, e($pop27) i32.const $push26=, 1 i32.ne $push4=, $pop3, $pop26 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#1: # %if.end call foo@FUNCTION, $2, $0 block @@ -78,7 +78,7 @@ main: # @main i32.load $push5=, e($pop32) i32.const $push31=, 1 i32.ne $push6=, $pop5, $pop31 - br_if $pop6, 0 # 0: down to label2 + br_if 0, $pop6 # 0: down to label2 # BB#2: # %if.end5 call foo@FUNCTION, $1, $1 block @@ -86,7 +86,7 @@ main: # @main i32.load $push7=, e($pop34) i32.const $push33=, 2 i32.ne $push8=, $pop7, $pop33 - br_if $pop8, 0 # 0: down to label3 + br_if 0, $pop8 # 0: down to label3 # BB#3: # %if.end10 call foo@FUNCTION, $1, $0 block @@ -94,7 +94,7 @@ main: # @main i32.load $push9=, e($pop36) i32.const $push35=, 2 i32.ne $push10=, $pop9, $pop35 - br_if $pop10, 0 # 0: down to label4 + br_if 0, $pop10 # 0: down to label4 # BB#4: # %if.end14 call foo@FUNCTION, $0, $1 block @@ -102,7 +102,7 @@ main: # @main i32.load $push11=, e($pop38) i32.const $push37=, 2 i32.ne $push12=, $pop11, $pop37 - br_if $pop12, 0 # 0: down to label5 + br_if 0, $pop12 # 0: down to label5 # BB#5: # %if.end18 call foo@FUNCTION, $0, $0 block @@ -110,35 +110,35 @@ main: # @main i32.load $push13=, e($pop40) i32.const $push39=, 2 i32.ne $push14=, $pop13, $pop39 - br_if $pop14, 0 # 0: down to label6 + br_if 0, $pop14 # 0: down to label6 # BB#6: # %if.end21 block i32.call $push15=, bar@FUNCTION, $2, $1 i32.const $push16=, 1 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label7 + br_if 0, $pop17 # 0: down to label7 # BB#7: # %if.end26 block i32.call $push18=, bar@FUNCTION, $2, $0 - br_if $pop18, 0 # 0: down to label8 + br_if 0, $pop18 # 0: down to label8 # BB#8: # %if.end31 block i32.call $push19=, bar@FUNCTION, $1, $1 i32.const $push20=, 1 i32.ne $push21=, $pop19, $pop20 - br_if $pop21, 0 # 0: down to label9 + br_if 0, $pop21 # 0: down to label9 # BB#9: # %if.end37 block i32.call $push22=, bar@FUNCTION, $1, $0 - br_if $pop22, 0 # 0: down to label10 + br_if 0, $pop22 # 0: down to label10 # BB#10: # %if.end42 block i32.call $push23=, bar@FUNCTION, $0, $1 - br_if $pop23, 0 # 0: down to label11 + br_if 0, $pop23 # 0: down to label11 # BB#11: # %if.end47 block i32.call $push24=, bar@FUNCTION, $0, $0 - br_if $pop24, 0 # 0: down to label12 + br_if 0, $pop24 # 0: down to label12 # BB#12: # %if.end51 i32.const $push25=, 0 return $pop25 diff --git a/test/torture-s/pr43560.c.s b/test/torture-s/pr43560.c.s index baa7b1f9c..202b1816c 100644 --- a/test/torture-s/pr43560.c.s +++ b/test/torture-s/pr43560.c.s @@ -13,7 +13,7 @@ test: # @test tee_local $push16=, $1=, $pop15 i32.const $push2=, 2 i32.lt_s $push3=, $pop16, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 .LBB0_1: # %land.rhs # =>This Inner Loop Header: Depth=1 loop # label1: @@ -27,7 +27,7 @@ test: # @test i32.load8_u $push7=, 0($pop17) i32.const $push8=, 47 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 1 # 1: down to label2 + br_if 1, $pop9 # 1: down to label2 # BB#2: # %while.body # in Loop: Header=BB0_1 Depth=1 i32.const $push10=, 4 @@ -39,7 +39,7 @@ test: # @test i32.load $1=, 0($3) i32.const $push13=, 1 i32.gt_s $push14=, $1, $pop13 - br_if $pop14, 0 # 0: up to label1 + br_if 0, $pop14 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/pr43629.c.s b/test/torture-s/pr43629.c.s index 576221633..a5e597db4 100644 --- a/test/torture-s/pr43629.c.s +++ b/test/torture-s/pr43629.c.s @@ -10,7 +10,7 @@ main: # @main block i32.const $push1=, 0 i32.load $push0=, flag($pop1) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end4 i32.const $push2=, 0 return $pop2 diff --git a/test/torture-s/pr43784.c.s b/test/torture-s/pr43784.c.s index 741e72b14..aeda8e8c8 100644 --- a/test/torture-s/pr43784.c.s +++ b/test/torture-s/pr43784.c.s @@ -23,7 +23,7 @@ main: # @main i32.add $0=, $pop0, $pop9 i32.const $push8=, 256 i32.ne $push1=, $0, $pop8 - br_if $pop1, 0 # 0: up to label0 + br_if 0, $pop1 # 0: up to label0 # BB#2: # %for.end end_loop # label1: call rp@FUNCTION, $4 @@ -37,14 +37,14 @@ main: # @main loop # label3: i32.load8_u $push4=, v+4($0) i32.ne $push5=, $0, $pop4 - br_if $pop5, 2 # 2: down to label2 + br_if 2, $pop5 # 2: down to label2 # BB#4: # %for.cond1 # in Loop: Header=BB0_3 Depth=1 i32.const $push11=, 1 i32.add $0=, $0, $pop11 i32.const $push10=, 255 i32.le_s $push6=, $0, $pop10 - br_if $pop6, 0 # 0: up to label3 + br_if 0, $pop6 # 0: up to label3 # BB#5: # %for.end12 end_loop # label4: i32.const $push7=, 0 diff --git a/test/torture-s/pr43835.c.s b/test/torture-s/pr43835.c.s index 3849276cd..19ce5738b 100644 --- a/test/torture-s/pr43835.c.s +++ b/test/torture-s/pr43835.c.s @@ -35,20 +35,20 @@ mark_cell: # @mark_cell i32.load $push1=, 8($1) i32.const $push2=, 4 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %land.lhs.true i32.load $push0=, 0($1) tee_local $push9=, $1=, $pop0 i32.const $push10=, 0 i32.eq $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#2: # %land.lhs.true1 i32.const $push4=, 2 i32.add $push5=, $1, $pop4 i32.load8_u $push6=, 0($pop5):p2align=1 i32.const $push7=, 4 i32.and $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#3: # %if.then call Parrot_gc_mark_PMC_alive_fun@FUNCTION, $1, $1 unreachable diff --git a/test/torture-s/pr44164.c.s b/test/torture-s/pr44164.c.s index 45de8daaa..caf1b65af 100644 --- a/test/torture-s/pr44164.c.s +++ b/test/torture-s/pr44164.c.s @@ -34,7 +34,7 @@ main: # @main i32.const $push2=, a i32.call $push3=, foo@FUNCTION, $pop2 i32.ne $push4=, $pop1, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 return $pop6 diff --git a/test/torture-s/pr44202-1.c.s b/test/torture-s/pr44202-1.c.s index 1ba159c47..8c930aa16 100644 --- a/test/torture-s/pr44202-1.c.s +++ b/test/torture-s/pr44202-1.c.s @@ -15,7 +15,7 @@ add512: # @add512 tee_local $push2=, $2=, $pop0 i32.const $push3=, 0 i32.eq $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.then i32.store $discard=, 0($1), $0 .LBB0_2: # %if.end @@ -38,7 +38,7 @@ add513: # @add513 i32.const $push1=, 513 i32.add $push0=, $0, $pop1 tee_local $push2=, $2=, $pop0 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %if.then i32.store $discard=, 0($1), $0 .LBB1_2: # %if.end @@ -70,22 +70,22 @@ main: # @main i32.add $3=, $5, $3 block i32.call $push4=, add512@FUNCTION, $pop3, $3 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#1: # %entry i32.load $push0=, 12($5) i32.ne $push5=, $pop0, $0 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#2: # %lor.lhs.false2 i32.const $push10=, -513 i32.const $4=, 8 i32.add $4=, $5, $4 i32.call $push7=, add513@FUNCTION, $pop10, $4 - br_if $pop7, 0 # 0: down to label2 + br_if 0, $pop7 # 0: down to label2 # BB#3: # %lor.lhs.false2 i32.load $push6=, 8($5) i32.const $push11=, -513 i32.ne $push8=, $pop6, $pop11 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#4: # %if.end i32.const $push9=, 0 call exit@FUNCTION, $pop9 diff --git a/test/torture-s/pr44468.c.s b/test/torture-s/pr44468.c.s index 8e5aac68c..fed0ed5c6 100644 --- a/test/torture-s/pr44468.c.s +++ b/test/torture-s/pr44468.c.s @@ -76,7 +76,7 @@ main: # @main i32.call $push1=, test1@FUNCTION, $pop11 i32.const $push10=, 3 i32.ne $push2=, $pop1, $pop10 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push15=, 0 i64.store $discard=, s+4($pop15):p2align=2, $0 @@ -85,7 +85,7 @@ main: # @main i32.call $push3=, test2@FUNCTION, $pop14 i32.const $push13=, 3 i32.ne $push4=, $pop3, $pop13 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#2: # %if.end4 i32.const $push16=, 0 i64.const $push5=, 8589934593 @@ -95,7 +95,7 @@ main: # @main i32.call $push7=, test3@FUNCTION, $pop6 i32.const $push8=, 3 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label2 + br_if 0, $pop9 # 0: down to label2 # BB#3: # %if.end8 i32.const $push17=, 0 return $pop17 diff --git a/test/torture-s/pr44683.c.s b/test/torture-s/pr44683.c.s index df3641023..840d0ac9f 100644 --- a/test/torture-s/pr44683.c.s +++ b/test/torture-s/pr44683.c.s @@ -13,13 +13,13 @@ copysign_bug: # @copysign_bug block f64.const $push9=, 0x0p0 f64.eq $push2=, $0, $pop9 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %entry i32.const $1=, 1 f64.const $push1=, 0x1p-1 f64.mul $push0=, $0, $pop1 f64.eq $push3=, $pop0, $0 - br_if $pop3, 1 # 1: down to label0 + br_if 1, $pop3 # 1: down to label0 .LBB0_2: # %if.end end_block # label1: i32.const $push8=, 2 @@ -48,7 +48,7 @@ main: # @main i32.call $push1=, copysign_bug@FUNCTION, $pop0 i32.const $push2=, 2 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr44828.c.s b/test/torture-s/pr44828.c.s index 6bafcc340..60681abcb 100644 --- a/test/torture-s/pr44828.c.s +++ b/test/torture-s/pr44828.c.s @@ -16,7 +16,7 @@ main: # @main i32.shr_s $push4=, $pop2, $pop3 i32.const $push5=, 1 i32.ge_s $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/pr44852.c.s b/test/torture-s/pr44852.c.s index 933c50364..181fb1d12 100644 --- a/test/torture-s/pr44852.c.s +++ b/test/torture-s/pr44852.c.s @@ -23,12 +23,12 @@ sf: # @sf tee_local $push7=, $2=, $pop0 i32.const $push6=, 57 i32.ne $push2=, $pop7, $pop6 - br_if $pop2, 2 # 2: down to label1 + br_if 2, $pop2 # 2: down to label1 # BB#2: # %while.body # in Loop: Header=BB0_1 Depth=1 copy_local $0=, $3 i32.ne $push4=, $1, $3 - br_if $pop4, 0 # 0: up to label2 + br_if 0, $pop4 # 0: up to label2 # BB#3: # %if.then end_loop # label3: i32.const $push10=, 1 @@ -94,13 +94,13 @@ main: # @main block i32.or $push12=, $7, $pop11 i32.ne $push13=, $pop10, $pop12 - br_if $pop13, 0 # 0: down to label4 + br_if 0, $pop13 # 0: down to label4 # BB#1: # %lor.lhs.false i32.const $push14=, .L.str i32.const $8=, 8 i32.add $8=, $9, $8 i32.call $push15=, strcmp@FUNCTION, $8, $pop14 - br_if $pop15, 0 # 0: down to label4 + br_if 0, $pop15 # 0: down to label4 # BB#2: # %if.end i32.const $push16=, 0 i32.const $2=, 16 diff --git a/test/torture-s/pr44858.c.s b/test/torture-s/pr44858.c.s index 9b0100fbb..e6b233b73 100644 --- a/test/torture-s/pr44858.c.s +++ b/test/torture-s/pr44858.c.s @@ -47,7 +47,7 @@ main: # @main i32.load $push0=, b($pop3) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr44942.c.s b/test/torture-s/pr44942.c.s index 2ba18c89b..1242033ea 100644 --- a/test/torture-s/pr44942.c.s +++ b/test/torture-s/pr44942.c.s @@ -28,7 +28,7 @@ test1: # @test1 i32.load $push7=, 0($9) i32.const $push8=, 1234 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end i32.const $12=, 16 i32.add $13=, $14, $12 @@ -71,7 +71,7 @@ test2: # @test2 i32.load $push7=, 0($18) i32.const $push8=, 1234 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#1: # %if.end i32.const $21=, 16 i32.add $22=, $23, $21 @@ -114,7 +114,7 @@ test3: # @test3 f64.load $push7=, 0($9) f64.const $push8=, 0x1.348p10 f64.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label2 + br_if 0, $pop9 # 0: down to label2 # BB#1: # %if.end i32.const $12=, 16 i32.add $13=, $14, $12 @@ -157,7 +157,7 @@ test4: # @test4 f64.load $push7=, 0($18) f64.const $push8=, 0x1.348p10 f64.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label3 + br_if 0, $pop9 # 0: down to label3 # BB#1: # %if.end i32.const $21=, 16 i32.add $22=, $23, $21 diff --git a/test/torture-s/pr45034.c.s b/test/torture-s/pr45034.c.s index fa60900dc..20e92b452 100644 --- a/test/torture-s/pr45034.c.s +++ b/test/torture-s/pr45034.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.add $push1=, $1, $pop0 i32.const $push2=, 256 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -49,7 +49,7 @@ test_neg: # @test_neg i32.and $push2=, $2, $pop9 i32.const $push8=, 127 i32.gt_u $push3=, $pop2, $pop8 - br_if $pop3, 0 # 0: down to label4 + br_if 0, $pop3 # 0: down to label4 # BB#2: # %cond.true.i # in Loop: Header=BB1_1 Depth=1 i32.const $push15=, 24 @@ -72,7 +72,7 @@ test_neg: # @test_neg i32.add $1=, $1, $pop20 i32.const $push19=, 127 i32.ne $push6=, $3, $pop19 - br_if $pop6, 0 # 0: up to label1 + br_if 0, $pop6 # 0: up to label1 # BB#5: # %for.end end_loop # label2: i32.const $push7=, 0 @@ -107,7 +107,7 @@ main: # @main i32.and $push2=, $2, $pop9 i32.const $push8=, 127 i32.gt_u $push3=, $pop2, $pop8 - br_if $pop3, 0 # 0: down to label8 + br_if 0, $pop3 # 0: down to label8 # BB#2: # %cond.true.i.i # in Loop: Header=BB2_1 Depth=1 i32.const $push15=, 24 @@ -130,7 +130,7 @@ main: # @main i32.add $1=, $1, $pop20 i32.const $push19=, 127 i32.ne $push6=, $3, $pop19 - br_if $pop6, 0 # 0: up to label5 + br_if 0, $pop6 # 0: up to label5 # BB#5: # %if.end end_loop # label6: i32.const $push7=, 0 diff --git a/test/torture-s/pr45070.c.s b/test/torture-s/pr45070.c.s index b3eed0e5b..a68d42147 100644 --- a/test/torture-s/pr45070.c.s +++ b/test/torture-s/pr45070.c.s @@ -25,27 +25,27 @@ main: # @main block block block - br_if $1, 0 # 0: down to label4 + br_if 0, $1 # 0: down to label4 # BB#2: # %for.body # in Loop: Header=BB0_1 Depth=1 i32.const $push11=, 65535 i32.and $push2=, $0, $pop11 i32.const $push10=, 65535 i32.ne $push3=, $pop2, $pop10 - br_if $pop3, 1 # 1: down to label3 + br_if 1, $pop3 # 1: down to label3 .LBB0_3: # %lor.lhs.false # in Loop: Header=BB0_1 Depth=1 end_block # label4: i32.const $push12=, 1 i32.lt_s $push4=, $1, $pop12 - br_if $pop4, 1 # 1: down to label2 + br_if 1, $pop4 # 1: down to label2 # BB#4: # %lor.lhs.false # in Loop: Header=BB0_1 Depth=1 i32.const $push13=, 65535 i32.and $push5=, $0, $pop13 i32.const $push14=, 0 i32.eq $push15=, $pop5, $pop14 - br_if $pop15, 1 # 1: down to label2 + br_if 1, $pop15 # 1: down to label2 .LBB0_5: # %if.then end_block # label3: call abort@FUNCTION @@ -57,7 +57,7 @@ main: # @main i32.add $1=, $1, $pop9 i32.const $push8=, 15 i32.le_s $push6=, $1, $pop8 - br_if $pop6, 0 # 0: up to label0 + br_if 0, $pop6 # 0: up to label0 # BB#7: # %for.end end_loop # label1: i32.const $push7=, 0 @@ -82,7 +82,7 @@ next: # @next i32.load $push0=, 0($0) i32.load $push1=, 4($0) i32.lt_s $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label5 + br_if 0, $pop2 # 0: down to label5 # BB#1: # %if.then.lr.ph i32.const $push3=, 8 i32.add $1=, $0, $pop3 @@ -94,7 +94,7 @@ next: # @next i32.load $push4=, 0($1) i32.const $push13=, 0 i32.eq $push14=, $pop4, $pop13 - br_if $pop14, 1 # 1: down to label7 + br_if 1, $pop14 # 1: down to label7 # BB#3: # %if.then1 # in Loop: Header=BB1_2 Depth=1 i32.const $push5=, 0 @@ -103,7 +103,7 @@ next: # @next i32.load $push6=, 0($0) i32.load $push8=, 0($2) i32.ge_s $push9=, $pop6, $pop8 - br_if $pop9, 0 # 0: up to label6 + br_if 0, $pop9 # 0: up to label6 br 2 # 2: down to label5 .LBB1_4: # %if.end end_loop # label7: diff --git a/test/torture-s/pr45695.c.s b/test/torture-s/pr45695.c.s index 22cdba61b..254b7b666 100644 --- a/test/torture-s/pr45695.c.s +++ b/test/torture-s/pr45695.c.s @@ -53,13 +53,13 @@ main: # @main i32.call $push3=, f@FUNCTION, $0, $pop10, $pop9 i32.const $push4=, -1 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end block i32.call $push6=, f@FUNCTION, $1, $2, $1 i32.const $push12=, 1 i32.ne $push7=, $pop6, $pop12 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %if.end9 i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/pr46309.c.s b/test/torture-s/pr46309.c.s index 0e462e350..b1c43e2dd 100644 --- a/test/torture-s/pr46309.c.s +++ b/test/torture-s/pr46309.c.s @@ -14,11 +14,11 @@ bar: # @bar i32.and $push2=, $pop12, $pop1 i32.const $push3=, 2 i32.eq $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.then i32.const $push10=, 1 i32.ne $push11=, $0, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#2: # %if.then i32.const $push6=, 0 i32.load $push7=, q($pop6) @@ -27,7 +27,7 @@ bar: # @bar i32.and $push5=, $pop8, $pop9 i32.const $push13=, 0 i32.eq $push14=, $pop5, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#3: # %cond.true call abort@FUNCTION unreachable diff --git a/test/torture-s/pr46316.c.s b/test/torture-s/pr46316.c.s index cdf8cae78..b3b37687b 100644 --- a/test/torture-s/pr46316.c.s +++ b/test/torture-s/pr46316.c.s @@ -37,7 +37,7 @@ main: # @main i64.call $push1=, foo@FUNCTION, $pop0 i64.const $push2=, -4 i64.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr46909-1.c.s b/test/torture-s/pr46909-1.c.s index c86392387..72bd8ae41 100644 --- a/test/torture-s/pr46909-1.c.s +++ b/test/torture-s/pr46909-1.c.s @@ -49,7 +49,7 @@ main: # @main i32.shl $push3=, $pop2, $pop11 i32.sub $push4=, $pop13, $pop3 i32.ne $push5=, $pop1, $pop4 - br_if $pop5, 2 # 2: down to label0 + br_if 2, $pop5 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 i32.const $push10=, 5 @@ -58,7 +58,7 @@ main: # @main i32.add $1=, $1, $pop9 i32.const $push8=, 9 i32.le_s $push6=, $0, $pop8 - br_if $pop6, 0 # 0: up to label1 + br_if 0, $pop6 # 0: up to label1 # BB#3: # %for.end end_loop # label2: i32.const $push7=, 0 diff --git a/test/torture-s/pr46909-2.c.s b/test/torture-s/pr46909-2.c.s index 8451d9774..e5a2c10ac 100644 --- a/test/torture-s/pr46909-2.c.s +++ b/test/torture-s/pr46909-2.c.s @@ -13,10 +13,10 @@ foo: # @foo block i32.const $push0=, 13 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry i32.const $1=, 1 - br_if $0, 1 # 1: down to label0 + br_if 1, $0 # 1: down to label0 .LBB0_2: # %if.end end_block # label1: i32.const $1=, -1 @@ -53,14 +53,14 @@ main: # @main i32.shl $push5=, $pop4, $pop12 i32.sub $push6=, $pop3, $pop5 i32.ne $push7=, $pop0, $pop6 - br_if $pop7, 2 # 2: down to label2 + br_if 2, $pop7 # 2: down to label2 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 i32.const $push11=, 1 i32.add $0=, $0, $pop11 i32.const $push10=, 29 i32.le_s $push8=, $0, $pop10 - br_if $pop8, 0 # 0: up to label3 + br_if 0, $pop8 # 0: up to label3 # BB#3: # %for.end end_loop # label4: i32.const $push9=, 0 diff --git a/test/torture-s/pr47237.c.s b/test/torture-s/pr47237.c.s index 54c19f602..5c2f01e69 100644 --- a/test/torture-s/pr47237.c.s +++ b/test/torture-s/pr47237.c.s @@ -25,7 +25,7 @@ foo: # @foo block i32.const $push0=, 5 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB1_2: # %if.then diff --git a/test/torture-s/pr47299.c.s b/test/torture-s/pr47299.c.s index 10721dffb..e7c842078 100644 --- a/test/torture-s/pr47299.c.s +++ b/test/torture-s/pr47299.c.s @@ -27,7 +27,7 @@ main: # @main i32.call $push1=, foo@FUNCTION, $pop0 i32.const $push2=, 16320 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr47337.c.s b/test/torture-s/pr47337.c.s index 5a83729fa..e284bf9dd 100644 --- a/test/torture-s/pr47337.c.s +++ b/test/torture-s/pr47337.c.s @@ -20,7 +20,7 @@ main: # @main i32.store $discard=, a+1024($1), $pop32 i32.const $push31=, 4 i32.add $1=, $1, $pop31 - br_if $1, 0 # 0: up to label0 + br_if 0, $1 # 0: up to label0 # BB#2: # %for.cond7.preheader end_loop # label1: i32.const $push3=, 0 @@ -29,7 +29,7 @@ main: # @main block i32.const $push48=, 0 i32.eq $push49=, $0, $pop48 - br_if $pop49, 0 # 0: down to label2 + br_if 0, $pop49 # 0: down to label2 # BB#3: # %fnx.exit i32.load $push4=, b($1) i32.const $push5=, 1 diff --git a/test/torture-s/pr47538.c.s b/test/torture-s/pr47538.c.s index 7f7f416dd..0c9326f66 100644 --- a/test/torture-s/pr47538.c.s +++ b/test/torture-s/pr47538.c.s @@ -17,7 +17,7 @@ foo: # @foo block i32.const $push51=, 0 i32.eq $push52=, $2, $pop51 - br_if $pop52, 0 # 0: down to label1 + br_if 0, $pop52 # 0: down to label1 # BB#1: # %if.else f64.sub $push4=, $8, $9 f64.const $push5=, 0x1p-2 @@ -28,7 +28,7 @@ foo: # @foo tee_local $push41=, $10=, $pop0 i32.const $push6=, 2 i32.ne $push7=, $pop41, $pop6 - br_if $pop7, 0 # 0: down to label2 + br_if 0, $pop7 # 0: down to label2 # BB#2: # %if.then6 i32.load $0=, 16($0):p2align=3 i32.load $push34=, 16($1):p2align=3 @@ -51,7 +51,7 @@ foo: # @foo tee_local $push42=, $11=, $pop1 i32.const $push53=, 0 i32.eq $push54=, $pop42, $pop53 - br_if $pop54, 0 # 0: down to label3 + br_if 0, $pop54 # 0: down to label3 # BB#4: # %for.body.preheader f64.const $9=, 0x0p0 i32.const $push43=, 8 @@ -82,7 +82,7 @@ foo: # @foo i32.add $0=, $0, $pop45 copy_local $7=, $6 i32.le_u $push18=, $6, $11 - br_if $pop18, 0 # 0: up to label4 + br_if 0, $pop18 # 0: up to label4 .LBB0_6: # %for.end end_loop # label5: end_block # label3: @@ -198,22 +198,22 @@ main: # @main f64.load $push24=, 0($22):p2align=4 f64.const $push25=, 0x0p0 f64.ne $push26=, $pop24, $pop25 - br_if $pop26, 0 # 0: down to label6 + br_if 0, $pop26 # 0: down to label6 # BB#1: # %lor.lhs.false f64.load $push27=, 0($3) f64.const $push28=, 0x1.4p4 f64.ne $push29=, $pop27, $pop28 - br_if $pop29, 0 # 0: down to label6 + br_if 0, $pop29 # 0: down to label6 # BB#2: # %lor.lhs.false9 f64.load $push30=, 16($22):p2align=4 f64.const $push31=, 0x1.4p3 f64.ne $push32=, $pop30, $pop31 - br_if $pop32, 0 # 0: down to label6 + br_if 0, $pop32 # 0: down to label6 # BB#3: # %lor.lhs.false12 f64.load $push33=, 24($22) f64.const $push34=, -0x1.4p3 f64.ne $push35=, $pop33, $pop34 - br_if $pop35, 0 # 0: down to label6 + br_if 0, $pop35 # 0: down to label6 # BB#4: # %if.end i32.const $push39=, 20 i32.const $13=, 64 @@ -256,22 +256,22 @@ main: # @main f64.load $push56=, 0($22):p2align=4 f64.const $push57=, 0x1.ep5 f64.ne $push58=, $pop56, $pop57 - br_if $pop58, 0 # 0: down to label7 + br_if 0, $pop58 # 0: down to label7 # BB#5: # %if.end f64.load $push36=, 0($3) f64.const $push59=, 0x1.4p4 f64.ne $push60=, $pop36, $pop59 - br_if $pop60, 0 # 0: down to label7 + br_if 0, $pop60 # 0: down to label7 # BB#6: # %if.end f64.load $push37=, 0($0):p2align=4 f64.const $push61=, -0x1.4p3 f64.ne $push62=, $pop37, $pop61 - br_if $pop62, 0 # 0: down to label7 + br_if 0, $pop62 # 0: down to label7 # BB#7: # %if.end f64.load $push38=, 0($1) f64.const $push63=, 0x1.d8p6 f64.ne $push64=, $pop38, $pop63 - br_if $pop64, 0 # 0: down to label7 + br_if 0, $pop64 # 0: down to label7 # BB#8: # %if.end30 i32.const $push68=, 20 i32.const $16=, 64 @@ -314,22 +314,22 @@ main: # @main f64.load $push85=, 0($22):p2align=4 f64.const $push86=, -0x1.4p4 f64.ne $push87=, $pop85, $pop86 - br_if $pop87, 0 # 0: down to label8 + br_if 0, $pop87 # 0: down to label8 # BB#9: # %if.end30 f64.load $push65=, 0($3) f64.const $push88=, -0x1.4p3 f64.ne $push89=, $pop65, $pop88 - br_if $pop89, 0 # 0: down to label8 + br_if 0, $pop89 # 0: down to label8 # BB#10: # %if.end30 f64.load $push66=, 0($0):p2align=4 f64.const $push146=, 0x1.d8p6 f64.ne $push90=, $pop66, $pop146 - br_if $pop90, 0 # 0: down to label8 + br_if 0, $pop90 # 0: down to label8 # BB#11: # %if.end30 f64.load $push67=, 0($1) f64.const $push147=, 0x1.d8p6 f64.ne $push91=, $pop67, $pop147 - br_if $pop91, 0 # 0: down to label8 + br_if 0, $pop91 # 0: down to label8 # BB#12: # %if.end46 i32.const $push99=, 28 i32.add $push100=, $22, $pop99 @@ -368,22 +368,22 @@ main: # @main f64.load $push112=, 0($22):p2align=4 f64.const $push113=, 0x0p0 f64.ne $push114=, $pop112, $pop113 - br_if $pop114, 0 # 0: down to label9 + br_if 0, $pop114 # 0: down to label9 # BB#13: # %if.end46 f64.load $push92=, 0($0) f64.const $push152=, 0x1.d8p6 f64.ne $push115=, $pop92, $pop152 - br_if $pop115, 0 # 0: down to label9 + br_if 0, $pop115 # 0: down to label9 # BB#14: # %if.end46 f64.load $push93=, 0($1):p2align=4 f64.const $push153=, 0x1.d8p6 f64.ne $push116=, $pop93, $pop153 - br_if $pop116, 0 # 0: down to label9 + br_if 0, $pop116 # 0: down to label9 # BB#15: # %if.end46 f64.load $push94=, 0($2) f64.const $push117=, 0x1.d8p6 f64.ne $push118=, $pop94, $pop117 - br_if $pop118, 0 # 0: down to label9 + br_if 0, $pop118 # 0: down to label9 # BB#16: # %if.end62 i32.const $push119=, 0 i32.const $6=, 112 diff --git a/test/torture-s/pr47925.c.s b/test/torture-s/pr47925.c.s index bf751bdf9..b60e62af7 100644 --- a/test/torture-s/pr47925.c.s +++ b/test/torture-s/pr47925.c.s @@ -26,14 +26,14 @@ foo: # @foo block i32.const $push0=, 1 i32.lt_s $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: i32.load $0=, 0($0) i32.const $push2=, -1 i32.add $1=, $1, $pop2 - br_if $1, 0 # 0: up to label1 + br_if 0, $1 # 0: up to label1 .LBB1_2: # %for.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/pr48571-1.c.s b/test/torture-s/pr48571-1.c.s index 8f5e8901e..1b4894e80 100644 --- a/test/torture-s/pr48571-1.c.s +++ b/test/torture-s/pr48571-1.c.s @@ -17,7 +17,7 @@ bar: # @bar i32.store $discard=, c+2496($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label0 + br_if 0, $0 # 0: up to label0 # BB#2: # %for.end end_loop # label1: return @@ -41,7 +41,7 @@ main: # @main i32.store $discard=, c+2496($0), $pop5 i32.const $push4=, 4 i32.add $0=, $0, $pop4 - br_if $0, 0 # 0: up to label2 + br_if 0, $0 # 0: up to label2 # BB#2: # %for.end end_loop # label3: call bar@FUNCTION @@ -54,7 +54,7 @@ main: # @main loop # label5: i32.load $push0=, 0($0) i32.ne $push1=, $pop0, $1 - br_if $pop1, 2 # 2: down to label4 + br_if 2, $pop1 # 2: down to label4 # BB#4: # %if.end # in Loop: Header=BB1_3 Depth=1 i32.const $push9=, 1 @@ -65,7 +65,7 @@ main: # @main i32.add $0=, $0, $pop7 i32.const $push6=, 624 i32.lt_u $push2=, $2, $pop6 - br_if $pop2, 0 # 0: up to label5 + br_if 0, $pop2 # 0: up to label5 # BB#5: # %for.end8 end_loop # label6: i32.const $push3=, 0 diff --git a/test/torture-s/pr48717.c.s b/test/torture-s/pr48717.c.s index 84064c2c2..b63ee44ac 100644 --- a/test/torture-s/pr48717.c.s +++ b/test/torture-s/pr48717.c.s @@ -59,7 +59,7 @@ main: # @main i32.store $push6=, v($pop11), $pop5 i32.const $push8=, 65535 i32.ne $push7=, $pop6, $pop8 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push12=, 0 return $pop12 diff --git a/test/torture-s/pr48809.c.s b/test/torture-s/pr48809.c.s index fb26ecb7e..71f1e4557 100644 --- a/test/torture-s/pr48809.c.s +++ b/test/torture-s/pr48809.c.s @@ -13,7 +13,7 @@ foo: # @foo block i32.const $push0=, 32 i32.gt_u $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry block block @@ -207,14 +207,14 @@ foo: # @foo block i32.const $push2=, -62 i32.eq $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label33 + br_if 0, $pop3 # 0: down to label33 # BB#34: # %entry i32.const $push4=, 98 i32.eq $1=, $0, $pop4 i32.const $0=, 0 i32.const $push5=, 0 i32.eq $push6=, $1, $pop5 - br_if $pop6, 1 # 1: down to label0 + br_if 1, $pop6 # 1: down to label0 # BB#35: # %sw.bb33 i32.const $0=, 18 br 1 # 1: down to label0 diff --git a/test/torture-s/pr48814-1.c.s b/test/torture-s/pr48814-1.c.s index 919467945..7ac6791a4 100644 --- a/test/torture-s/pr48814-1.c.s +++ b/test/torture-s/pr48814-1.c.s @@ -40,13 +40,13 @@ main: # @main i32.store $push5=, count($pop13), $pop4 i32.const $push12=, 2 i32.ne $push8=, $pop5, $pop12 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %entry i32.const $push16=, 0 i32.load $push0=, arr+8($pop16):p2align=3 i32.const $push9=, 3 i32.ne $push10=, $pop0, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#2: # %if.end i32.const $push11=, 0 return $pop11 diff --git a/test/torture-s/pr48814-2.c.s b/test/torture-s/pr48814-2.c.s index 05ad5e083..f50787323 100644 --- a/test/torture-s/pr48814-2.c.s +++ b/test/torture-s/pr48814-2.c.s @@ -40,14 +40,14 @@ main: # @main i32.add $push0=, $1, $pop11 i32.store $0=, count($pop12), $pop0 block - br_if $1, 0 # 0: down to label0 + br_if 0, $1 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $push16=, 2 i32.shl $push6=, $0, $pop16 i32.load $push7=, arr($pop6) i32.const $push8=, 3 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#2: # %if.end i32.const $push10=, 0 return $pop10 diff --git a/test/torture-s/pr48973-1.c.s b/test/torture-s/pr48973-1.c.s index 25cb070de..4ce8d0f1a 100644 --- a/test/torture-s/pr48973-1.c.s +++ b/test/torture-s/pr48973-1.c.s @@ -10,7 +10,7 @@ foo: # @foo block i32.const $push0=, -1 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -44,7 +44,7 @@ main: # @main block i32.const $push12=, 0 i32.eq $push13=, $0, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#1: # %foo.exit i32.const $push11=, 0 return $pop11 diff --git a/test/torture-s/pr48973-2.c.s b/test/torture-s/pr48973-2.c.s index e2228f292..5b01afac8 100644 --- a/test/torture-s/pr48973-2.c.s +++ b/test/torture-s/pr48973-2.c.s @@ -23,7 +23,7 @@ main: # @main block i32.const $push7=, 1 i32.ne $push8=, $0, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %if.end i32.const $push13=, 0 return $pop13 diff --git a/test/torture-s/pr49039.c.s b/test/torture-s/pr49039.c.s index 8c5d59e06..4465a4c23 100644 --- a/test/torture-s/pr49039.c.s +++ b/test/torture-s/pr49039.c.s @@ -11,11 +11,11 @@ foo: # @foo block i32.const $push0=, 1 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push2=, -2 i32.eq $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.end i32.gt_u $push6=, $0, $1 i32.select $2=, $0, $1, $pop6 @@ -24,7 +24,7 @@ foo: # @foo i32.select $push5=, $0, $1, $pop4 i32.const $push17=, 1 i32.ne $push7=, $pop5, $pop17 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#3: # %if.then9 i32.const $push8=, 0 i32.const $push19=, 0 @@ -36,7 +36,7 @@ foo: # @foo end_block # label1: i32.const $push11=, -2 i32.ne $push12=, $2, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#5: # %if.then12 i32.const $push13=, 0 i32.const $push20=, 0 @@ -66,7 +66,7 @@ main: # @main i32.load $push2=, cnt($pop5) i32.const $push3=, 2 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#1: # %if.end i32.const $push6=, 0 return $pop6 diff --git a/test/torture-s/pr49073.c.s b/test/torture-s/pr49073.c.s index 9b5f2c72e..83a6faa77 100644 --- a/test/torture-s/pr49073.c.s +++ b/test/torture-s/pr49073.c.s @@ -20,12 +20,12 @@ main: # @main i32.and $push1=, $2, $pop11 i32.const $push17=, 0 i32.eq $push18=, $pop1, $pop17 - br_if $pop18, 0 # 0: down to label3 + br_if 0, $pop18 # 0: down to label3 # BB#2: # %do.body # in Loop: Header=BB0_1 Depth=1 i32.const $push12=, 4 i32.ne $push2=, $0, $pop12 - br_if $pop2, 0 # 0: down to label3 + br_if 0, $pop2 # 0: down to label3 # BB#3: # %if.then i32.const $push5=, 0 i32.const $push13=, 0 @@ -43,7 +43,7 @@ main: # @main i32.add $1=, $1, $pop15 i32.const $push14=, 7 i32.lt_s $push3=, $0, $pop14 - br_if $pop3, 0 # 0: up to label1 + br_if 0, $pop3 # 0: up to label1 # BB#5: # %do.endthread-pre-split end_loop # label2: i32.const $push4=, 0 @@ -53,7 +53,7 @@ main: # @main block i32.const $push8=, 1 i32.ne $push9=, $0, $pop8 - br_if $pop9, 0 # 0: down to label4 + br_if 0, $pop9 # 0: down to label4 # BB#7: # %if.end6 i32.const $push10=, 0 return $pop10 diff --git a/test/torture-s/pr49161.c.s b/test/torture-s/pr49161.c.s index 5b8648560..a66cc6fda 100644 --- a/test/torture-s/pr49161.c.s +++ b/test/torture-s/pr49161.c.s @@ -17,7 +17,7 @@ bar: # @bar i32.store $discard=, c($pop0), $pop3 block i32.ne $push4=, $1, $0 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -43,13 +43,13 @@ foo: # @foo i32.add $push1=, $0, $pop0 i32.const $push2=, 2 i32.ge_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label4 + br_if 0, $pop3 # 0: down to label4 # BB#1: # %l4 i32.const $push9=, 0 call bar@FUNCTION, $pop9 i32.const $push10=, 4 i32.eq $push11=, $0, $pop10 - br_if $pop11, 1 # 1: down to label3 + br_if 1, $pop11 # 1: down to label3 # BB#2: # %if.then.thread i32.const $push12=, 1 call bar@FUNCTION, $pop12 @@ -58,7 +58,7 @@ foo: # @foo end_block # label4: i32.const $push4=, 6 i32.ne $push5=, $0, $pop4 - br_if $pop5, 2 # 2: down to label1 + br_if 2, $pop5 # 2: down to label1 # BB#4: # %if.then i32.const $push6=, -1 call bar@FUNCTION, $pop6 @@ -95,7 +95,7 @@ main: # @main i32.load $push1=, c($pop4) i32.const $push3=, 3 i32.ne $push2=, $pop1, $pop3 - br_if $pop2, 0 # 0: down to label5 + br_if 0, $pop2 # 0: down to label5 # BB#1: # %if.end i32.const $push5=, 0 return $pop5 diff --git a/test/torture-s/pr49218.c.s b/test/torture-s/pr49218.c.s index b5ea5ac4d..546f2fbfe 100644 --- a/test/torture-s/pr49218.c.s +++ b/test/torture-s/pr49218.c.s @@ -32,7 +32,7 @@ main: # @main i64.const $push14=, 0 i64.eq $push3=, $4, $pop14 i32.select $push7=, $pop6, $pop4, $pop3 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 .LBB0_1: # %do.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -51,7 +51,7 @@ main: # @main i64.or $push10=, $4, $pop9 i64.const $push19=, 0 i64.ne $push11=, $pop10, $pop19 - br_if $pop11, 0 # 0: up to label1 + br_if 0, $pop11 # 0: up to label1 .LBB0_2: # %if.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/pr49279.c.s b/test/torture-s/pr49279.c.s index e467b5d1f..c5ee6c5f1 100644 --- a/test/torture-s/pr49279.c.s +++ b/test/torture-s/pr49279.c.s @@ -79,7 +79,7 @@ main: # @main i32.call $push0=, foo@FUNCTION, $3, $4 i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 i32.const $2=, 16 diff --git a/test/torture-s/pr49281.c.s b/test/torture-s/pr49281.c.s index 2edd94fba..753771650 100644 --- a/test/torture-s/pr49281.c.s +++ b/test/torture-s/pr49281.c.s @@ -46,38 +46,38 @@ main: # @main i32.call $push1=, foo@FUNCTION, $pop0 i32.const $push2=, 172 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $push4=, 1 i32.call $push5=, foo@FUNCTION, $pop4 i32.const $push6=, 4 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#2: # %lor.lhs.false3 i32.const $push8=, 2 i32.call $push9=, foo@FUNCTION, $pop8 i32.const $push10=, 12 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#3: # %if.end block i32.const $push12=, 43 i32.call $push13=, bar@FUNCTION, $pop12 i32.const $push14=, 175 i32.ne $push15=, $pop13, $pop14 - br_if $pop15, 0 # 0: down to label1 + br_if 0, $pop15 # 0: down to label1 # BB#4: # %lor.lhs.false8 i32.const $push16=, 1 i32.call $push17=, bar@FUNCTION, $pop16 i32.const $push18=, 7 i32.ne $push19=, $pop17, $pop18 - br_if $pop19, 0 # 0: down to label1 + br_if 0, $pop19 # 0: down to label1 # BB#5: # %lor.lhs.false11 i32.const $push20=, 2 i32.call $push21=, bar@FUNCTION, $pop20 i32.const $push22=, 11 i32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label1 + br_if 0, $pop23 # 0: down to label1 # BB#6: # %if.end15 i32.const $push24=, 0 return $pop24 diff --git a/test/torture-s/pr49419.c.s b/test/torture-s/pr49419.c.s index 43a83bbda..e7cbaf9e8 100644 --- a/test/torture-s/pr49419.c.s +++ b/test/torture-s/pr49419.c.s @@ -13,7 +13,7 @@ foo: # @foo block i32.const $push0=, -1 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.cond.preheader i32.const $5=, 0 i32.const $push26=, 0 @@ -21,7 +21,7 @@ foo: # @foo block i32.const $push6=, 1 i32.lt_s $push7=, $3, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %for.cond.preheader copy_local $6=, $0 i32.const $push3=, 12 @@ -29,14 +29,14 @@ foo: # @foo i32.add $push5=, $4, $pop4 i32.load $push2=, 0($pop5) i32.ne $push8=, $pop2, $1 - br_if $pop8, 0 # 0: down to label1 + br_if 0, $pop8 # 0: down to label1 .LBB0_3: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: i32.const $push13=, 1 i32.add $5=, $5, $pop13 i32.ge_s $push16=, $5, $3 - br_if $pop16, 1 # 1: down to label3 + br_if 1, $pop16 # 1: down to label3 # BB#4: # %for.body # in Loop: Header=BB0_3 Depth=1 i32.const $push10=, 12 @@ -48,18 +48,18 @@ foo: # @foo i32.add $push15=, $4, $pop14 i32.load $push9=, 0($pop15) i32.eq $push17=, $pop9, $1 - br_if $pop17, 0 # 0: up to label2 + br_if 0, $pop17 # 0: up to label2 .LBB0_5: # %for.end end_loop # label3: end_block # label1: block i32.eq $push18=, $5, $3 - br_if $pop18, 0 # 0: down to label4 + br_if 0, $pop18 # 0: down to label4 # BB#6: # %if.end7 block i32.const $push28=, 1 i32.lt_s $push19=, $5, $pop28 - br_if $pop19, 0 # 0: down to label5 + br_if 0, $pop19 # 0: down to label5 # BB#7: # %for.body10.preheader i32.const $push20=, 2 i32.shl $push21=, $5, $pop20 @@ -82,7 +82,7 @@ foo: # @foo i32.add $6=, $6, $pop31 i32.const $push30=, 1 i32.gt_s $push25=, $3, $pop30 - br_if $pop25, 0 # 0: up to label6 + br_if 0, $pop25 # 0: up to label6 .LBB0_9: # %for.end16 end_loop # label7: end_block # label5: @@ -137,14 +137,14 @@ main: # @main copy_local $3=, $0 block i32.ne $push9=, $1, $0 - br_if $pop9, 0 # 0: down to label8 + br_if 0, $pop9 # 0: down to label8 .LBB1_1: # %for.body.i.for.body.i_crit_edge # =>This Inner Loop Header: Depth=1 loop # label9: i32.add $3=, $2, $5 i32.add $2=, $2, $0 i32.gt_s $push15=, $3, $5 - br_if $pop15, 1 # 1: down to label10 + br_if 1, $pop15 # 1: down to label10 # BB#2: # %for.body.i.for.body.i_crit_edge # in Loop: Header=BB1_1 Depth=1 i32.const $push41=, 12 @@ -157,20 +157,20 @@ main: # @main i32.load $push10=, 0($pop14) i32.const $push16=, 1 i32.eq $push17=, $pop10, $pop16 - br_if $pop17, 0 # 0: up to label9 + br_if 0, $pop17 # 0: up to label9 .LBB1_3: # %for.end.i end_loop # label10: end_block # label8: block i32.const $push18=, 3 i32.eq $push19=, $3, $pop18 - br_if $pop19, 0 # 0: down to label11 + br_if 0, $pop19 # 0: down to label11 # BB#4: # %if.end7.i block block i32.const $push42=, 0 i32.lt_s $push20=, $2, $pop42 - br_if $pop20, 0 # 0: down to label13 + br_if 0, $pop20 # 0: down to label13 # BB#5: # %for.body10.i.preheader i32.const $5=, 1 i32.const $push21=, 2 @@ -183,7 +183,7 @@ main: # @main i32.const $push43=, 2 i32.store $push24=, 0($pop23), $pop43 i32.lt_s $push25=, $3, $pop24 - br_if $pop25, 0 # 0: down to label14 + br_if 0, $pop25 # 0: down to label14 # BB#6: # %for.body10.i.for.body10.i_crit_edge.preheader i32.const $10=, 36 i32.add $10=, $11, $10 @@ -207,22 +207,22 @@ main: # @main i32.add $4=, $4, $pop48 i32.const $push47=, 1 i32.gt_s $push30=, $3, $pop47 - br_if $pop30, 0 # 0: up to label15 + br_if 0, $pop30 # 0: up to label15 .LBB1_8: # %foo.exit end_loop # label16: end_block # label14: i32.store $3=, 36($11), $5 - br_if $2, 1 # 1: down to label12 + br_if 1, $2 # 1: down to label12 # BB#9: # %if.end block i32.const $push31=, 1 i32.ne $push32=, $3, $pop31 - br_if $pop32, 0 # 0: down to label17 + br_if 0, $pop32 # 0: down to label17 # BB#10: # %lor.lhs.false i32.load $push33=, 40($11) i32.const $push34=, 2 i32.ne $push35=, $pop33, $pop34 - br_if $pop35, 0 # 0: down to label17 + br_if 0, $pop35 # 0: down to label17 # BB#11: # %if.end6 i32.const $push36=, 0 i32.const $8=, 48 diff --git a/test/torture-s/pr49712.c.s b/test/torture-s/pr49712.c.s index 3157fcd92..f57a2df9c 100644 --- a/test/torture-s/pr49712.c.s +++ b/test/torture-s/pr49712.c.s @@ -24,7 +24,7 @@ bar: # @bar i32.load $push0=, d($pop5) i32.const $push4=, 0 i32.gt_s $push1=, $pop0, $pop4 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.cond4.preheader.preheader i32.const $push7=, 0 i32.const $push6=, 0 @@ -55,7 +55,7 @@ main: # @main i32.load $push2=, c($pop8) i32.const $push15=, 0 i32.eq $push16=, $pop2, $pop15 - br_if $pop16, 0 # 0: down to label1 + br_if 0, $pop16 # 0: down to label1 # BB#1: # %while.body.preheader i32.load $push3=, d($0) i32.const $push10=, 1 @@ -67,7 +67,7 @@ main: # @main i32.and $push4=, $0, $pop11 i32.const $push17=, 0 i32.eq $push18=, $pop4, $pop17 - br_if $pop18, 0 # 0: up to label2 + br_if 0, $pop18 # 0: up to label2 # BB#3: # %for.cond4.preheader.preheader.i # in Loop: Header=BB2_2 Depth=1 i32.const $push5=, 0 diff --git a/test/torture-s/pr49886.c.s b/test/torture-s/pr49886.c.s index 1ace64f87..1bc98b894 100644 --- a/test/torture-s/pr49886.c.s +++ b/test/torture-s/pr49886.c.s @@ -55,24 +55,24 @@ mark_cell: # @mark_cell block i32.const $push49=, 0 i32.eq $push50=, $0, $pop49 - br_if $pop50, 0 # 0: down to label0 + br_if 0, $pop50 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 0 i32.load $push1=, cond($pop2) i32.const $push51=, 0 i32.eq $push52=, $pop1, $pop51 - br_if $pop52, 0 # 0: down to label0 + br_if 0, $pop52 # 0: down to label0 # BB#2: # %land.lhs.true i32.load $push3=, 8($0) i32.const $push4=, 4 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#3: # %land.lhs.true2 i32.load $push0=, 0($0) tee_local $push41=, $0=, $pop0 i32.const $push53=, 0 i32.eq $push54=, $pop41, $pop53 - br_if $pop54, 0 # 0: down to label0 + br_if 0, $pop54 # 0: down to label0 # BB#4: # %land.lhs.true4 block i32.const $push43=, 2 @@ -83,7 +83,7 @@ mark_cell: # @mark_cell i32.and $push9=, $pop7, $pop8 i32.const $push55=, 0 i32.eq $push56=, $pop9, $pop55 - br_if $pop56, 0 # 0: down to label1 + br_if 0, $pop56 # 0: down to label1 # BB#5: # %land.lhs.true17 block i32.load8_u $push10=, 0($1):p2align=1 @@ -91,7 +91,7 @@ mark_cell: # @mark_cell i32.and $push11=, $pop10, $pop44 i32.const $push57=, 0 i32.eq $push58=, $pop11, $pop57 - br_if $pop58, 0 # 0: down to label2 + br_if 0, $pop58 # 0: down to label2 # BB#6: # %land.lhs.true33 block i32.const $push12=, 2 @@ -101,7 +101,7 @@ mark_cell: # @mark_cell i32.and $push15=, $pop14, $pop45 i32.const $push59=, 0 i32.eq $push60=, $pop15, $pop59 - br_if $pop60, 0 # 0: down to label3 + br_if 0, $pop60 # 0: down to label3 # BB#7: # %land.lhs.true49 block i32.const $push46=, 1 @@ -111,7 +111,7 @@ mark_cell: # @mark_cell i32.shr_u $push19=, $pop17, $pop18 i32.const $push61=, 0 i32.eq $push62=, $pop19, $pop61 - br_if $pop62, 0 # 0: down to label4 + br_if 0, $pop62 # 0: down to label4 # BB#8: # %land.lhs.true65 block i32.const $push20=, 1 @@ -122,7 +122,7 @@ mark_cell: # @mark_cell i32.and $push24=, $pop22, $pop23 i32.const $push63=, 0 i32.eq $push64=, $pop24, $pop63 - br_if $pop64, 0 # 0: down to label5 + br_if 0, $pop64 # 0: down to label5 # BB#9: # %land.lhs.true81 block i32.load8_u $push25=, 0($1) @@ -130,7 +130,7 @@ mark_cell: # @mark_cell i32.and $push27=, $pop25, $pop26 i32.const $push65=, 0 i32.eq $push66=, $pop27, $pop65 - br_if $pop66, 0 # 0: down to label6 + br_if 0, $pop66 # 0: down to label6 # BB#10: # %land.lhs.true97 block i32.const $push28=, 1 @@ -141,7 +141,7 @@ mark_cell: # @mark_cell i32.and $push32=, $pop30, $pop31 i32.const $push67=, 0 i32.eq $push68=, $pop32, $pop67 - br_if $pop68, 0 # 0: down to label7 + br_if 0, $pop68 # 0: down to label7 # BB#11: # %land.lhs.true113 block i32.load8_u $push33=, 0($1) @@ -149,14 +149,14 @@ mark_cell: # @mark_cell i32.and $push35=, $pop33, $pop34 i32.const $push69=, 0 i32.eq $push70=, $pop35, $pop69 - br_if $pop70, 0 # 0: down to label8 + br_if 0, $pop70 # 0: down to label8 # BB#12: # %land.lhs.true129 i32.const $push36=, 1 i32.add $push37=, $0, $pop36 i32.load8_u $push38=, 0($pop37) i32.const $push39=, 4 i32.and $push40=, $pop38, $pop39 - br_if $pop40, 8 # 8: down to label0 + br_if 8, $pop40 # 8: down to label0 # BB#13: # %if.then134 call never_ever@FUNCTION, $0, $0 unreachable diff --git a/test/torture-s/pr51323.c.s b/test/torture-s/pr51323.c.s index c5c540dcf..be1cf1bc1 100644 --- a/test/torture-s/pr51323.c.s +++ b/test/torture-s/pr51323.c.s @@ -10,14 +10,14 @@ foo: # @foo block i32.const $push2=, 9 i32.ne $push3=, $2, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %entry - br_if $1, 0 # 0: down to label0 + br_if 0, $1 # 0: down to label0 # BB#2: # %entry i32.const $push1=, 0 i32.load $push0=, v($pop1) i32.ne $push4=, $pop0, $0 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#3: # %if.end return .LBB0_4: # %if.then diff --git a/test/torture-s/pr51466.c.s b/test/torture-s/pr51466.c.s index 34b9b8b18..24e5f1300 100644 --- a/test/torture-s/pr51466.c.s +++ b/test/torture-s/pr51466.c.s @@ -109,19 +109,19 @@ main: # @main i32.call $push2=, bar@FUNCTION, $pop1 i32.const $push12=, 8 i32.ne $push3=, $pop2, $pop12 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %lor.lhs.false3 i32.const $push4=, 0 i32.call $push5=, baz@FUNCTION, $pop4 i32.const $push13=, 8 i32.ne $push6=, $pop5, $pop13 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#2: # %lor.lhs.false6 i32.const $push7=, 1 i32.call $push8=, baz@FUNCTION, $pop7 i32.const $push9=, 6 i32.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#3: # %if.end i32.const $push11=, 0 return $pop11 diff --git a/test/torture-s/pr51581-1.c.s b/test/torture-s/pr51581-1.c.s index e29891650..1fd9f543e 100644 --- a/test/torture-s/pr51581-1.c.s +++ b/test/torture-s/pr51581-1.c.s @@ -17,7 +17,7 @@ f1: # @f1 i32.store $discard=, c+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label0 + br_if 0, $0 # 0: up to label0 # BB#2: # %for.end end_loop # label1: return @@ -42,7 +42,7 @@ f2: # @f2 i32.store $discard=, d+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label2 + br_if 0, $0 # 0: up to label2 # BB#2: # %for.end end_loop # label3: return @@ -67,7 +67,7 @@ f3: # @f3 i32.store $discard=, c+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label4 + br_if 0, $0 # 0: up to label4 # BB#2: # %for.end end_loop # label5: return @@ -92,7 +92,7 @@ f4: # @f4 i32.store $discard=, d+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label6 + br_if 0, $0 # 0: up to label6 # BB#2: # %for.end end_loop # label7: return @@ -117,7 +117,7 @@ f5: # @f5 i32.store $discard=, c+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label8 + br_if 0, $0 # 0: up to label8 # BB#2: # %for.end end_loop # label9: return @@ -142,7 +142,7 @@ f6: # @f6 i32.store $discard=, d+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label10 + br_if 0, $0 # 0: up to label10 # BB#2: # %for.end end_loop # label11: return @@ -175,7 +175,7 @@ f7: # @f7 i32.store $discard=, c+16384($0), $pop6 i32.const $push7=, 4 i32.add $0=, $0, $pop7 - br_if $0, 0 # 0: up to label12 + br_if 0, $0 # 0: up to label12 # BB#2: # %for.end end_loop # label13: return @@ -202,7 +202,7 @@ f8: # @f8 i64.store32 $discard=, d+16384($0), $pop2 i32.const $push3=, 4 i32.add $0=, $0, $pop3 - br_if $0, 0 # 0: up to label14 + br_if 0, $0 # 0: up to label14 # BB#2: # %for.end end_loop # label15: return @@ -235,7 +235,7 @@ f9: # @f9 i32.store $discard=, c+16384($0), $pop6 i32.const $push7=, 4 i32.add $0=, $0, $pop7 - br_if $0, 0 # 0: up to label16 + br_if 0, $0 # 0: up to label16 # BB#2: # %for.end end_loop # label17: return @@ -262,7 +262,7 @@ f10: # @f10 i64.store32 $discard=, d+16384($0), $pop2 i32.const $push3=, 4 i32.add $0=, $0, $pop3 - br_if $0, 0 # 0: up to label18 + br_if 0, $0 # 0: up to label18 # BB#2: # %for.end end_loop # label19: return @@ -295,7 +295,7 @@ f11: # @f11 i32.store $discard=, c+16384($0), $pop6 i32.const $push7=, 4 i32.add $0=, $0, $pop7 - br_if $0, 0 # 0: up to label20 + br_if 0, $0 # 0: up to label20 # BB#2: # %for.end end_loop # label21: return @@ -331,7 +331,7 @@ f12: # @f12 i32.store $discard=, d+16384($1), $pop7 i32.const $push8=, 4 i32.add $1=, $1, $pop8 - br_if $1, 0 # 0: up to label22 + br_if 0, $1 # 0: up to label22 # BB#2: # %for.end end_loop # label23: return @@ -362,7 +362,7 @@ main: # @main i32.add $0=, $pop1, $pop62 i32.const $push61=, 4 i32.add $1=, $1, $pop61 - br_if $1, 0 # 0: up to label24 + br_if 0, $1 # 0: up to label24 # BB#2: # %for.end end_loop # label25: i32.const $1=, 0 @@ -390,7 +390,7 @@ main: # @main i32.const $push71=, 3 i32.div_s $push8=, $pop7, $pop71 i32.ne $push9=, $pop6, $pop8 - br_if $pop9, 2 # 2: down to label26 + br_if 2, $pop9 # 2: down to label26 # BB#4: # %lor.lhs.false # in Loop: Header=BB12_3 Depth=1 i32.load $push10=, d($1) @@ -398,7 +398,7 @@ main: # @main i32.const $push72=, 3 i32.div_u $push12=, $pop11, $pop72 i32.ne $push13=, $pop10, $pop12 - br_if $pop13, 2 # 2: down to label26 + br_if 2, $pop13 # 2: down to label26 # BB#5: # %for.cond2 # in Loop: Header=BB12_3 Depth=1 i32.const $push70=, 1 @@ -407,7 +407,7 @@ main: # @main i32.add $1=, $1, $pop69 i32.const $push68=, 4095 i32.le_s $push14=, $0, $pop68 - br_if $pop14, 0 # 0: up to label27 + br_if 0, $pop14 # 0: up to label27 # BB#6: # %for.end14 end_loop # label28: call f3@FUNCTION @@ -423,7 +423,7 @@ main: # @main i32.const $push76=, 18 i32.div_s $push17=, $pop16, $pop76 i32.ne $push18=, $pop15, $pop17 - br_if $pop18, 2 # 2: down to label29 + br_if 2, $pop18 # 2: down to label29 # BB#8: # %lor.lhs.false22 # in Loop: Header=BB12_7 Depth=1 i32.load $push19=, d($1) @@ -431,7 +431,7 @@ main: # @main i32.const $push77=, 18 i32.div_u $push21=, $pop20, $pop77 i32.ne $push22=, $pop19, $pop21 - br_if $pop22, 2 # 2: down to label29 + br_if 2, $pop22 # 2: down to label29 # BB#9: # %for.cond15 # in Loop: Header=BB12_7 Depth=1 i32.const $push75=, 1 @@ -440,7 +440,7 @@ main: # @main i32.add $1=, $1, $pop74 i32.const $push73=, 4095 i32.le_s $push23=, $0, $pop73 - br_if $pop23, 0 # 0: up to label30 + br_if 0, $pop23 # 0: up to label30 # BB#10: # %for.end31 end_loop # label31: call f5@FUNCTION @@ -456,7 +456,7 @@ main: # @main i32.const $push81=, 19 i32.div_s $push26=, $pop25, $pop81 i32.ne $push27=, $pop24, $pop26 - br_if $pop27, 2 # 2: down to label32 + br_if 2, $pop27 # 2: down to label32 # BB#12: # %lor.lhs.false39 # in Loop: Header=BB12_11 Depth=1 i32.load $push28=, d($1) @@ -464,7 +464,7 @@ main: # @main i32.const $push82=, 19 i32.div_u $push30=, $pop29, $pop82 i32.ne $push31=, $pop28, $pop30 - br_if $pop31, 2 # 2: down to label32 + br_if 2, $pop31 # 2: down to label32 # BB#13: # %for.cond32 # in Loop: Header=BB12_11 Depth=1 i32.const $push80=, 1 @@ -473,7 +473,7 @@ main: # @main i32.add $1=, $1, $pop79 i32.const $push78=, 4095 i32.le_s $push32=, $0, $pop78 - br_if $pop32, 0 # 0: up to label33 + br_if 0, $pop32 # 0: up to label33 # BB#14: # %for.end48 end_loop # label34: call f7@FUNCTION @@ -489,7 +489,7 @@ main: # @main i32.const $push86=, 3 i32.div_s $push35=, $pop34, $pop86 i32.ne $push36=, $pop33, $pop35 - br_if $pop36, 2 # 2: down to label35 + br_if 2, $pop36 # 2: down to label35 # BB#16: # %lor.lhs.false56 # in Loop: Header=BB12_15 Depth=1 i32.load $push37=, d($1) @@ -497,7 +497,7 @@ main: # @main i32.const $push87=, 3 i32.div_u $push39=, $pop38, $pop87 i32.ne $push40=, $pop37, $pop39 - br_if $pop40, 2 # 2: down to label35 + br_if 2, $pop40 # 2: down to label35 # BB#17: # %for.cond49 # in Loop: Header=BB12_15 Depth=1 i32.const $push85=, 1 @@ -506,7 +506,7 @@ main: # @main i32.add $1=, $1, $pop84 i32.const $push83=, 4095 i32.le_s $push41=, $0, $pop83 - br_if $pop41, 0 # 0: up to label36 + br_if 0, $pop41 # 0: up to label36 # BB#18: # %for.end65 end_loop # label37: call f9@FUNCTION @@ -522,7 +522,7 @@ main: # @main i32.const $push91=, 18 i32.div_s $push44=, $pop43, $pop91 i32.ne $push45=, $pop42, $pop44 - br_if $pop45, 2 # 2: down to label38 + br_if 2, $pop45 # 2: down to label38 # BB#20: # %lor.lhs.false73 # in Loop: Header=BB12_19 Depth=1 i32.load $push46=, d($1) @@ -530,7 +530,7 @@ main: # @main i32.const $push92=, 18 i32.div_u $push48=, $pop47, $pop92 i32.ne $push49=, $pop46, $pop48 - br_if $pop49, 2 # 2: down to label38 + br_if 2, $pop49 # 2: down to label38 # BB#21: # %for.cond66 # in Loop: Header=BB12_19 Depth=1 i32.const $push90=, 1 @@ -539,7 +539,7 @@ main: # @main i32.add $1=, $1, $pop89 i32.const $push88=, 4095 i32.le_s $push50=, $0, $pop88 - br_if $pop50, 0 # 0: up to label39 + br_if 0, $pop50 # 0: up to label39 # BB#22: # %for.end82 end_loop # label40: call f11@FUNCTION @@ -555,7 +555,7 @@ main: # @main i32.const $push96=, 19 i32.div_s $push53=, $pop52, $pop96 i32.ne $push54=, $pop51, $pop53 - br_if $pop54, 2 # 2: down to label41 + br_if 2, $pop54 # 2: down to label41 # BB#24: # %lor.lhs.false90 # in Loop: Header=BB12_23 Depth=1 i32.load $push55=, d($1) @@ -563,7 +563,7 @@ main: # @main i32.const $push97=, 19 i32.div_u $push57=, $pop56, $pop97 i32.ne $push58=, $pop55, $pop57 - br_if $pop58, 2 # 2: down to label41 + br_if 2, $pop58 # 2: down to label41 # BB#25: # %for.cond83 # in Loop: Header=BB12_23 Depth=1 i32.const $push95=, 1 @@ -572,7 +572,7 @@ main: # @main i32.add $1=, $1, $pop94 i32.const $push93=, 4095 i32.le_s $push59=, $0, $pop93 - br_if $pop59, 0 # 0: up to label42 + br_if 0, $pop59 # 0: up to label42 # BB#26: # %for.end99 end_loop # label43: i32.const $push60=, 0 diff --git a/test/torture-s/pr51581-2.c.s b/test/torture-s/pr51581-2.c.s index 748633fd8..a95044d19 100644 --- a/test/torture-s/pr51581-2.c.s +++ b/test/torture-s/pr51581-2.c.s @@ -17,7 +17,7 @@ f1: # @f1 i32.store $discard=, c+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label0 + br_if 0, $0 # 0: up to label0 # BB#2: # %for.end end_loop # label1: return @@ -42,7 +42,7 @@ f2: # @f2 i32.store $discard=, d+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label2 + br_if 0, $0 # 0: up to label2 # BB#2: # %for.end end_loop # label3: return @@ -67,7 +67,7 @@ f3: # @f3 i32.store $discard=, c+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label4 + br_if 0, $0 # 0: up to label4 # BB#2: # %for.end end_loop # label5: return @@ -92,7 +92,7 @@ f4: # @f4 i32.store $discard=, d+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label6 + br_if 0, $0 # 0: up to label6 # BB#2: # %for.end end_loop # label7: return @@ -117,7 +117,7 @@ f5: # @f5 i32.store $discard=, c+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label8 + br_if 0, $0 # 0: up to label8 # BB#2: # %for.end end_loop # label9: return @@ -142,7 +142,7 @@ f6: # @f6 i32.store $discard=, d+16384($0), $pop1 i32.const $push2=, 4 i32.add $0=, $0, $pop2 - br_if $0, 0 # 0: up to label10 + br_if 0, $0 # 0: up to label10 # BB#2: # %for.end end_loop # label11: return @@ -178,7 +178,7 @@ f7: # @f7 i32.store $discard=, c+16384($0), $pop8 i32.const $push9=, 4 i32.add $0=, $0, $pop9 - br_if $0, 0 # 0: up to label12 + br_if 0, $0 # 0: up to label12 # BB#2: # %for.end end_loop # label13: return @@ -211,7 +211,7 @@ f8: # @f8 i32.store $discard=, d+16384($0), $pop6 i32.const $push7=, 4 i32.add $0=, $0, $pop7 - br_if $0, 0 # 0: up to label14 + br_if 0, $0 # 0: up to label14 # BB#2: # %for.end end_loop # label15: return @@ -247,7 +247,7 @@ f9: # @f9 i32.store $discard=, c+16384($0), $pop8 i32.const $push9=, 4 i32.add $0=, $0, $pop9 - br_if $0, 0 # 0: up to label16 + br_if 0, $0 # 0: up to label16 # BB#2: # %for.end end_loop # label17: return @@ -280,7 +280,7 @@ f10: # @f10 i32.store $discard=, d+16384($0), $pop6 i32.const $push7=, 4 i32.add $0=, $0, $pop7 - br_if $0, 0 # 0: up to label18 + br_if 0, $0 # 0: up to label18 # BB#2: # %for.end end_loop # label19: return @@ -316,7 +316,7 @@ f11: # @f11 i32.store $discard=, c+16384($0), $pop8 i32.const $push9=, 4 i32.add $0=, $0, $pop9 - br_if $0, 0 # 0: up to label20 + br_if 0, $0 # 0: up to label20 # BB#2: # %for.end end_loop # label21: return @@ -355,7 +355,7 @@ f12: # @f12 i32.store $discard=, d+16384($1), $pop9 i32.const $push10=, 4 i32.add $1=, $1, $pop10 - br_if $1, 0 # 0: up to label22 + br_if 0, $1 # 0: up to label22 # BB#2: # %for.end end_loop # label23: return @@ -386,7 +386,7 @@ main: # @main i32.add $0=, $pop1, $pop62 i32.const $push61=, 4 i32.add $1=, $1, $pop61 - br_if $1, 0 # 0: up to label24 + br_if 0, $1 # 0: up to label24 # BB#2: # %for.end end_loop # label25: i32.const $1=, 0 @@ -414,7 +414,7 @@ main: # @main i32.const $push71=, 3 i32.rem_s $push8=, $pop7, $pop71 i32.ne $push9=, $pop6, $pop8 - br_if $pop9, 2 # 2: down to label26 + br_if 2, $pop9 # 2: down to label26 # BB#4: # %lor.lhs.false # in Loop: Header=BB12_3 Depth=1 i32.load $push10=, d($1) @@ -422,7 +422,7 @@ main: # @main i32.const $push72=, 3 i32.rem_u $push12=, $pop11, $pop72 i32.ne $push13=, $pop10, $pop12 - br_if $pop13, 2 # 2: down to label26 + br_if 2, $pop13 # 2: down to label26 # BB#5: # %for.cond2 # in Loop: Header=BB12_3 Depth=1 i32.const $push70=, 1 @@ -431,7 +431,7 @@ main: # @main i32.add $1=, $1, $pop69 i32.const $push68=, 4095 i32.le_s $push14=, $0, $pop68 - br_if $pop14, 0 # 0: up to label27 + br_if 0, $pop14 # 0: up to label27 # BB#6: # %for.end14 end_loop # label28: call f3@FUNCTION @@ -447,7 +447,7 @@ main: # @main i32.const $push76=, 18 i32.rem_s $push17=, $pop16, $pop76 i32.ne $push18=, $pop15, $pop17 - br_if $pop18, 2 # 2: down to label29 + br_if 2, $pop18 # 2: down to label29 # BB#8: # %lor.lhs.false22 # in Loop: Header=BB12_7 Depth=1 i32.load $push19=, d($1) @@ -455,7 +455,7 @@ main: # @main i32.const $push77=, 18 i32.rem_u $push21=, $pop20, $pop77 i32.ne $push22=, $pop19, $pop21 - br_if $pop22, 2 # 2: down to label29 + br_if 2, $pop22 # 2: down to label29 # BB#9: # %for.cond15 # in Loop: Header=BB12_7 Depth=1 i32.const $push75=, 1 @@ -464,7 +464,7 @@ main: # @main i32.add $1=, $1, $pop74 i32.const $push73=, 4095 i32.le_s $push23=, $0, $pop73 - br_if $pop23, 0 # 0: up to label30 + br_if 0, $pop23 # 0: up to label30 # BB#10: # %for.end31 end_loop # label31: call f5@FUNCTION @@ -480,7 +480,7 @@ main: # @main i32.const $push81=, 19 i32.rem_s $push26=, $pop25, $pop81 i32.ne $push27=, $pop24, $pop26 - br_if $pop27, 2 # 2: down to label32 + br_if 2, $pop27 # 2: down to label32 # BB#12: # %lor.lhs.false39 # in Loop: Header=BB12_11 Depth=1 i32.load $push28=, d($1) @@ -488,7 +488,7 @@ main: # @main i32.const $push82=, 19 i32.rem_u $push30=, $pop29, $pop82 i32.ne $push31=, $pop28, $pop30 - br_if $pop31, 2 # 2: down to label32 + br_if 2, $pop31 # 2: down to label32 # BB#13: # %for.cond32 # in Loop: Header=BB12_11 Depth=1 i32.const $push80=, 1 @@ -497,7 +497,7 @@ main: # @main i32.add $1=, $1, $pop79 i32.const $push78=, 4095 i32.le_s $push32=, $0, $pop78 - br_if $pop32, 0 # 0: up to label33 + br_if 0, $pop32 # 0: up to label33 # BB#14: # %for.end48 end_loop # label34: call f7@FUNCTION @@ -513,7 +513,7 @@ main: # @main i32.const $push86=, 3 i32.rem_s $push35=, $pop34, $pop86 i32.ne $push36=, $pop33, $pop35 - br_if $pop36, 2 # 2: down to label35 + br_if 2, $pop36 # 2: down to label35 # BB#16: # %lor.lhs.false56 # in Loop: Header=BB12_15 Depth=1 i32.load $push37=, d($1) @@ -521,7 +521,7 @@ main: # @main i32.const $push87=, 3 i32.rem_u $push39=, $pop38, $pop87 i32.ne $push40=, $pop37, $pop39 - br_if $pop40, 2 # 2: down to label35 + br_if 2, $pop40 # 2: down to label35 # BB#17: # %for.cond49 # in Loop: Header=BB12_15 Depth=1 i32.const $push85=, 1 @@ -530,7 +530,7 @@ main: # @main i32.add $1=, $1, $pop84 i32.const $push83=, 4095 i32.le_s $push41=, $0, $pop83 - br_if $pop41, 0 # 0: up to label36 + br_if 0, $pop41 # 0: up to label36 # BB#18: # %for.end65 end_loop # label37: call f9@FUNCTION @@ -546,7 +546,7 @@ main: # @main i32.const $push91=, 18 i32.rem_s $push44=, $pop43, $pop91 i32.ne $push45=, $pop42, $pop44 - br_if $pop45, 2 # 2: down to label38 + br_if 2, $pop45 # 2: down to label38 # BB#20: # %lor.lhs.false73 # in Loop: Header=BB12_19 Depth=1 i32.load $push46=, d($1) @@ -554,7 +554,7 @@ main: # @main i32.const $push92=, 18 i32.rem_u $push48=, $pop47, $pop92 i32.ne $push49=, $pop46, $pop48 - br_if $pop49, 2 # 2: down to label38 + br_if 2, $pop49 # 2: down to label38 # BB#21: # %for.cond66 # in Loop: Header=BB12_19 Depth=1 i32.const $push90=, 1 @@ -563,7 +563,7 @@ main: # @main i32.add $1=, $1, $pop89 i32.const $push88=, 4095 i32.le_s $push50=, $0, $pop88 - br_if $pop50, 0 # 0: up to label39 + br_if 0, $pop50 # 0: up to label39 # BB#22: # %for.end82 end_loop # label40: call f11@FUNCTION @@ -579,7 +579,7 @@ main: # @main i32.const $push96=, 19 i32.rem_s $push53=, $pop52, $pop96 i32.ne $push54=, $pop51, $pop53 - br_if $pop54, 2 # 2: down to label41 + br_if 2, $pop54 # 2: down to label41 # BB#24: # %lor.lhs.false90 # in Loop: Header=BB12_23 Depth=1 i32.load $push55=, d($1) @@ -587,7 +587,7 @@ main: # @main i32.const $push97=, 19 i32.rem_u $push57=, $pop56, $pop97 i32.ne $push58=, $pop55, $pop57 - br_if $pop58, 2 # 2: down to label41 + br_if 2, $pop58 # 2: down to label41 # BB#25: # %for.cond83 # in Loop: Header=BB12_23 Depth=1 i32.const $push95=, 1 @@ -596,7 +596,7 @@ main: # @main i32.add $1=, $1, $pop94 i32.const $push93=, 4095 i32.le_s $push59=, $0, $pop93 - br_if $pop59, 0 # 0: up to label42 + br_if 0, $pop59 # 0: up to label42 # BB#26: # %for.end99 end_loop # label43: i32.const $push60=, 0 diff --git a/test/torture-s/pr51877.c.s b/test/torture-s/pr51877.c.s index db8f5f37d..df81e6377 100644 --- a/test/torture-s/pr51877.c.s +++ b/test/torture-s/pr51877.c.s @@ -56,7 +56,7 @@ foo: # @foo block i32.const $push0=, 6 i32.ne $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %if.then i32.const $push4=, 7 i32.const $5=, 40 @@ -119,19 +119,19 @@ main: # @main i32.load $push4=, a($pop47) i32.const $push5=, 1 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label2 + br_if 0, $pop6 # 0: down to label2 # BB#1: # %lor.lhs.false i32.const $push51=, 0 i32.load8_u $push9=, a+4($pop51):p2align=2 i32.const $push50=, 3 i32.ne $push10=, $pop9, $pop50 - br_if $pop10, 0 # 0: down to label2 + br_if 0, $pop10 # 0: down to label2 # BB#2: # %lor.lhs.false i32.const $push52=, 0 i32.load $push7=, b($pop52) i32.const $push11=, 2 i32.ne $push12=, $pop7, $pop11 - br_if $pop12, 0 # 0: down to label2 + br_if 0, $pop12 # 0: down to label2 # BB#3: # %lor.lhs.false i32.const $push53=, 0 i32.load8_u $push8=, b+4($pop53):p2align=2 @@ -139,7 +139,7 @@ main: # @main i32.and $push14=, $pop8, $pop13 i32.const $push15=, 4 i32.ne $push16=, $pop14, $pop15 - br_if $pop16, 0 # 0: down to label2 + br_if 0, $pop16 # 0: down to label2 # BB#4: # %if.end i32.const $push17=, b i32.const $push55=, 0 @@ -149,19 +149,19 @@ main: # @main i32.load $push18=, a($pop54) i32.const $push19=, 1 i32.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label3 + br_if 0, $pop20 # 0: down to label3 # BB#5: # %lor.lhs.false13 i32.const $push57=, 0 i32.load8_u $push23=, a+4($pop57):p2align=2 i32.const $push56=, 3 i32.ne $push24=, $pop23, $pop56 - br_if $pop24, 0 # 0: down to label3 + br_if 0, $pop24 # 0: down to label3 # BB#6: # %lor.lhs.false13 i32.const $push59=, 0 i32.load $push21=, b($pop59) i32.const $push58=, 3 i32.ne $push25=, $pop21, $pop58 - br_if $pop25, 0 # 0: down to label3 + br_if 0, $pop25 # 0: down to label3 # BB#7: # %lor.lhs.false13 i32.const $push60=, 0 i32.load8_u $push22=, b+4($pop60):p2align=2 @@ -169,7 +169,7 @@ main: # @main i32.and $push27=, $pop22, $pop26 i32.const $push28=, 7 i32.ne $push29=, $pop27, $pop28 - br_if $pop29, 0 # 0: down to label3 + br_if 0, $pop29 # 0: down to label3 # BB#8: # %if.end25 i32.const $push30=, b i32.const $push31=, 6 @@ -179,19 +179,19 @@ main: # @main i32.load $push32=, a($pop61) i32.const $push33=, 4 i32.ne $push34=, $pop32, $pop33 - br_if $pop34, 0 # 0: down to label4 + br_if 0, $pop34 # 0: down to label4 # BB#9: # %lor.lhs.false28 i32.const $push62=, 0 i32.load8_u $push37=, a+4($pop62):p2align=2 i32.const $push38=, 7 i32.ne $push39=, $pop37, $pop38 - br_if $pop39, 0 # 0: down to label4 + br_if 0, $pop39 # 0: down to label4 # BB#10: # %lor.lhs.false28 i32.const $push63=, 0 i32.load $push35=, b($pop63) i32.const $push40=, 3 i32.ne $push41=, $pop35, $pop40 - br_if $pop41, 0 # 0: down to label4 + br_if 0, $pop41 # 0: down to label4 # BB#11: # %lor.lhs.false28 i32.const $push64=, 0 i32.load8_u $push36=, b+4($pop64):p2align=2 @@ -199,7 +199,7 @@ main: # @main i32.and $push43=, $pop36, $pop42 i32.const $push44=, 7 i32.ne $push45=, $pop43, $pop44 - br_if $pop45, 0 # 0: down to label4 + br_if 0, $pop45 # 0: down to label4 # BB#12: # %if.end40 i32.const $push46=, 0 i32.const $2=, 80 diff --git a/test/torture-s/pr51933.c.s b/test/torture-s/pr51933.c.s index 828e4ce64..a5436c85c 100644 --- a/test/torture-s/pr51933.c.s +++ b/test/torture-s/pr51933.c.s @@ -25,7 +25,7 @@ bar: # @bar block i32.const $push0=, 0 i32.load8_u $push1=, v1($pop0) - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.then call foo@FUNCTION .LBB1_2: # %for.cond.preheader @@ -35,7 +35,7 @@ bar: # @bar block i32.const $push18=, 1 i32.lt_s $push2=, $0, $pop18 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 .LBB1_3: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: @@ -58,7 +58,7 @@ bar: # @bar i32.add $3=, $3, $pop15 i32.const $push19=, 1 i32.add $4=, $4, $pop19 - br_if $3, 0 # 0: up to label2 + br_if 0, $3 # 0: up to label2 .LBB1_4: # %for.end end_loop # label3: end_block # label1: @@ -94,7 +94,7 @@ main: # @main i32.store8 $0=, v3($0), $pop0 i32.const $push32=, 256 i32.ne $push1=, $0, $pop32 - br_if $pop1, 0 # 0: up to label4 + br_if 0, $pop1 # 0: up to label4 # BB#2: # %for.body6.preheader end_loop # label5: i32.const $push3=, 8 @@ -143,14 +143,14 @@ main: # @main i32.call $push26=, bar@FUNCTION, $pop25, $6, $4 i32.const $push34=, 17 i32.ne $push27=, $pop26, $pop34 - br_if $pop27, 0 # 0: down to label6 + br_if 0, $pop27 # 0: down to label6 # BB#3: # %lor.lhs.false i32.const $push28=, .L.str i32.const $push29=, 18 i32.const $5=, 48 i32.add $5=, $6, $5 i32.call $push30=, memcmp@FUNCTION, $5, $pop28, $pop29 - br_if $pop30, 0 # 0: down to label6 + br_if 0, $pop30 # 0: down to label6 # BB#4: # %if.end i32.const $push31=, 0 i32.const $3=, 80 diff --git a/test/torture-s/pr52129.c.s b/test/torture-s/pr52129.c.s index 33899697b..a48a9126f 100644 --- a/test/torture-s/pr52129.c.s +++ b/test/torture-s/pr52129.c.s @@ -11,25 +11,25 @@ foo: # @foo block i32.const $push0=, t+2 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load $push2=, 0($1) i32.const $push3=, t+69 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.const $push6=, t+81 i32.ne $push7=, $3, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#3: # %lor.lhs.false2 i32.const $push8=, t+17 i32.ne $push9=, $2, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#4: # %lor.lhs.false2 i32.load $push5=, 4($1) i32.const $push10=, 27 i32.ne $push11=, $pop5, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#5: # %if.end i32.const $push12=, 29 return $pop12 diff --git a/test/torture-s/pr52209.c.s b/test/torture-s/pr52209.c.s index 74d59b618..c120c51bb 100644 --- a/test/torture-s/pr52209.c.s +++ b/test/torture-s/pr52209.c.s @@ -22,7 +22,7 @@ main: # @main block i32.const $push6=, 1 i32.and $push7=, $0, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push12=, 0 return $pop12 diff --git a/test/torture-s/pr52286.c.s b/test/torture-s/pr52286.c.s index 422cf3783..7316b96d9 100644 --- a/test/torture-s/pr52286.c.s +++ b/test/torture-s/pr52286.c.s @@ -14,7 +14,7 @@ main: # @main block i32.const $push0=, -1 i32.le_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push2=, 0 return $pop2 diff --git a/test/torture-s/pr52760.c.s b/test/torture-s/pr52760.c.s index 02231edc9..19307468e 100644 --- a/test/torture-s/pr52760.c.s +++ b/test/torture-s/pr52760.c.s @@ -11,7 +11,7 @@ foo: # @foo block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -56,7 +56,7 @@ foo: # @foo i32.add $0=, $0, $pop21 i32.const $push22=, 8 i32.add $1=, $1, $pop22 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 .LBB0_2: # %for.end end_loop # label2: end_block # label0: @@ -89,7 +89,7 @@ main: # @main i64.load $push2=, 8($4) i64.const $push3=, 506097522914230528 i64.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label3 + br_if 0, $pop4 # 0: down to label3 # BB#1: # %if.end i32.const $push5=, 0 i32.const $2=, 16 diff --git a/test/torture-s/pr52979-1.c.s b/test/torture-s/pr52979-1.c.s index 87b1eecb4..9660d90da 100644 --- a/test/torture-s/pr52979-1.c.s +++ b/test/torture-s/pr52979-1.c.s @@ -49,7 +49,7 @@ bar: # @bar block i32.const $push27=, 0 i32.eq $push28=, $3, $pop27 - br_if $pop28, 0 # 0: down to label0 + br_if 0, $pop28 # 0: down to label0 # BB#1: # %if.then i64.const $push12=, 33 i64.shl $push13=, $1, $pop12 @@ -101,7 +101,7 @@ baz: # @baz block i32.const $push28=, 0 i32.eq $push29=, $2, $pop28 - br_if $pop29, 0 # 0: down to label1 + br_if 0, $pop29 # 0: down to label1 # BB#1: # %if.then.i i64.const $push12=, 33 i64.shl $push13=, $1, $pop12 @@ -158,7 +158,7 @@ main: # @main block i32.const $push35=, 0 i32.eq $push36=, $2, $pop35 - br_if $pop36, 0 # 0: down to label2 + br_if 0, $pop36 # 0: down to label2 # BB#1: # %if.then.i.i i64.const $push12=, 33 i64.shl $push13=, $1, $pop12 @@ -178,7 +178,7 @@ main: # @main i64.const $push34=, 33 i64.shr_s $push19=, $pop18, $pop34 i32.wrap/i64 $push20=, $pop19 - br_if $pop20, 0 # 0: down to label3 + br_if 0, $pop20 # 0: down to label3 # BB#3: # %if.end i32.const $push21=, 0 return $pop21 diff --git a/test/torture-s/pr52979-2.c.s b/test/torture-s/pr52979-2.c.s index ed6213bc8..820a264b0 100644 --- a/test/torture-s/pr52979-2.c.s +++ b/test/torture-s/pr52979-2.c.s @@ -49,7 +49,7 @@ bar: # @bar block i32.const $push27=, 0 i32.eq $push28=, $3, $pop27 - br_if $pop28, 0 # 0: down to label0 + br_if 0, $pop28 # 0: down to label0 # BB#1: # %if.then i64.const $push12=, 33 i64.shl $push13=, $1, $pop12 @@ -101,7 +101,7 @@ baz: # @baz block i32.const $push28=, 0 i32.eq $push29=, $2, $pop28 - br_if $pop29, 0 # 0: down to label1 + br_if 0, $pop29 # 0: down to label1 # BB#1: # %if.then.i i64.const $push12=, 33 i64.shl $push13=, $1, $pop12 @@ -158,7 +158,7 @@ main: # @main block i32.const $push35=, 0 i32.eq $push36=, $2, $pop35 - br_if $pop36, 0 # 0: down to label2 + br_if 0, $pop36 # 0: down to label2 # BB#1: # %if.then.i.i i64.const $push12=, 33 i64.shl $push13=, $1, $pop12 @@ -178,7 +178,7 @@ main: # @main i64.const $push34=, 33 i64.shr_s $push19=, $pop18, $pop34 i32.wrap/i64 $push20=, $pop19 - br_if $pop20, 0 # 0: down to label3 + br_if 0, $pop20 # 0: down to label3 # BB#3: # %if.end i32.const $push21=, 0 return $pop21 diff --git a/test/torture-s/pr53084.c.s b/test/torture-s/pr53084.c.s index 507a4e96e..6029735be 100644 --- a/test/torture-s/pr53084.c.s +++ b/test/torture-s/pr53084.c.s @@ -11,15 +11,15 @@ bar: # @bar i32.load8_u $push0=, 0($0) i32.const $push5=, 111 i32.ne $push1=, $pop0, $pop5 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load8_u $push2=, 1($0) i32.const $push6=, 111 i32.ne $push3=, $pop2, $pop6 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %lor.lhs.false6 i32.load8_u $push4=, 2($0) - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#3: # %if.end return .LBB0_4: # %if.then diff --git a/test/torture-s/pr53160.c.s b/test/torture-s/pr53160.c.s index f5e3b45dc..e702f093d 100644 --- a/test/torture-s/pr53160.c.s +++ b/test/torture-s/pr53160.c.s @@ -27,7 +27,7 @@ main: # @main i32.load $push0=, g($pop8) i32.const $push13=, 0 i32.eq $push14=, $pop0, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#1: # %if.then i32.const $push9=, 0 i32.load $discard=, b($pop9) @@ -46,7 +46,7 @@ main: # @main i32.select $push4=, $pop2, $2, $1 i32.store $push5=, h($2), $pop4 i32.store $push6=, a($2), $pop5 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#3: # %if.end16 i32.const $push7=, 0 return $pop7 diff --git a/test/torture-s/pr53465.c.s b/test/torture-s/pr53465.c.s index 4e64a816e..641a4c954 100644 --- a/test/torture-s/pr53465.c.s +++ b/test/torture-s/pr53465.c.s @@ -14,7 +14,7 @@ foo: # @foo block i32.const $push4=, 0 i32.le_s $push0=, $1, $pop4 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -22,17 +22,17 @@ foo: # @foo i32.load $4=, 0($0) i32.const $push6=, 0 i32.eq $push7=, $4, $pop6 - br_if $pop7, 1 # 1: down to label2 + br_if 1, $pop7 # 1: down to label2 # BB#2: # %if.end # in Loop: Header=BB0_1 Depth=1 block i32.const $push8=, 0 i32.eq $push9=, $5, $pop8 - br_if $pop9, 0 # 0: down to label3 + br_if 0, $pop9 # 0: down to label3 # BB#3: # %if.end # in Loop: Header=BB0_1 Depth=1 i32.gt_s $push1=, $4, $2 - br_if $pop1, 0 # 0: down to label3 + br_if 0, $pop1 # 0: down to label3 # BB#4: # %if.then3 call abort@FUNCTION unreachable @@ -45,7 +45,7 @@ foo: # @foo i32.const $push5=, 1 i32.add $3=, $3, $pop5 i32.lt_s $push3=, $3, $1 - br_if $pop3, 0 # 0: up to label1 + br_if 0, $pop3 # 0: up to label1 .LBB0_6: # %for.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/pr53688.c.s b/test/torture-s/pr53688.c.s index 91103769d..ec7142688 100644 --- a/test/torture-s/pr53688.c.s +++ b/test/torture-s/pr53688.c.s @@ -58,7 +58,7 @@ main: # @main i32.and $push7=, $pop5, $pop6 i32.const $push8=, 83 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end i32.const $push18=, 0 return $pop18 diff --git a/test/torture-s/pr54471.c.s b/test/torture-s/pr54471.c.s index 62eaa6992..0fa316e8c 100644 --- a/test/torture-s/pr54471.c.s +++ b/test/torture-s/pr54471.c.s @@ -19,7 +19,7 @@ foo: # @foo block i32.const $push14=, 0 i32.eq $push15=, $3, $pop14 - br_if $pop15, 0 # 0: down to label0 + br_if 0, $pop15 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -39,7 +39,7 @@ foo: # @foo i64.load $1=, 16($11) i32.const $push3=, -1 i32.add $3=, $3, $pop3 - br_if $3, 0 # 0: up to label1 + br_if 0, $3 # 0: up to label1 # BB#2: # %for.end end_loop # label2: i64.const $push11=, 14348907 @@ -47,7 +47,7 @@ foo: # @foo i64.or $push5=, $pop4, $5 i64.const $push10=, 0 i64.ne $push6=, $pop5, $pop10 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#3: # %if.end i64.const $push13=, 14348907 i64.store $discard=, 0($0), $pop13 diff --git a/test/torture-s/pr54937.c.s b/test/torture-s/pr54937.c.s index d386fbe60..c1165d601 100644 --- a/test/torture-s/pr54937.c.s +++ b/test/torture-s/pr54937.c.s @@ -13,14 +13,14 @@ t: # @t block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: block i32.const $push8=, 0 i32.eq $push9=, $1, $pop8 - br_if $pop9, 0 # 0: down to label3 + br_if 0, $pop9 # 0: down to label3 # BB#2: # %if.then # in Loop: Header=BB0_1 Depth=1 i32.const $push2=, 0 @@ -36,7 +36,7 @@ t: # @t i32.add $1=, $1, $pop5 i32.const $push6=, -1 i32.add $0=, $0, $pop6 - br_if $0, 0 # 0: up to label1 + br_if 0, $0 # 0: up to label1 .LBB0_4: # %for.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/pr54985.c.s b/test/torture-s/pr54985.c.s index 83a3d46ba..db3e913dd 100644 --- a/test/torture-s/pr54985.c.s +++ b/test/torture-s/pr54985.c.s @@ -13,7 +13,7 @@ foo: # @foo block i32.const $push5=, 0 i32.eq $push6=, $1, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %while.body.preheader i32.load $3=, 0($0) i32.const $push1=, 4 @@ -26,7 +26,7 @@ foo: # @foo i32.const $4=, 0 i32.const $push7=, 0 i32.eq $push8=, $1, $pop7 - br_if $pop8, 1 # 1: down to label2 + br_if 1, $pop8 # 1: down to label2 # BB#3: # %while.cond.while.body_crit_edge # in Loop: Header=BB0_2 Depth=1 i32.const $push4=, 4 @@ -37,7 +37,7 @@ foo: # @foo copy_local $0=, $4 copy_local $3=, $5 i32.const $4=, 1 - br_if $2, 0 # 0: up to label1 + br_if 0, $2 # 0: up to label1 .LBB0_4: # %cleanup end_loop # label2: end_block # label0: @@ -67,7 +67,7 @@ main: # @main i32.add $3=, $4, $3 block i32.call $push2=, foo@FUNCTION, $3, $pop1 - br_if $pop2, 0 # 0: down to label3 + br_if 0, $pop2 # 0: down to label3 # BB#1: # %if.end i32.const $push3=, 0 i32.const $2=, 16 diff --git a/test/torture-s/pr55750.c.s b/test/torture-s/pr55750.c.s index 3b3b7ab80..49a3a2b54 100644 --- a/test/torture-s/pr55750.c.s +++ b/test/torture-s/pr55750.c.s @@ -40,13 +40,13 @@ main: # @main i32.load8_u $push4=, arr($pop10):p2align=2 i32.const $push5=, 129 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %entry i32.const $push14=, 0 i32.load8_u $push0=, arr+4($pop14):p2align=2 i32.const $push7=, 255 i32.and $push8=, $pop0, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#2: # %if.end i32.const $push9=, 0 return $pop9 diff --git a/test/torture-s/pr55875.c.s b/test/torture-s/pr55875.c.s index 9e082a415..6cc0ae1bb 100644 --- a/test/torture-s/pr55875.c.s +++ b/test/torture-s/pr55875.c.s @@ -11,12 +11,12 @@ t: # @t block i32.const $push3=, 0 i32.eq $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end block i32.const $push0=, 256 i32.ge_s $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#2: # %if.end3 return $0 .LBB0_3: # %if.then2 diff --git a/test/torture-s/pr56205.c.s b/test/torture-s/pr56205.c.s index 846f56006..89b855826 100644 --- a/test/torture-s/pr56205.c.s +++ b/test/torture-s/pr56205.c.s @@ -17,13 +17,13 @@ f4: # @f4 i32.store $16=, 0($14), $16 i32.store $discard=, 12($16), $17 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %entry i32.const $push18=, 0 i32.load8_u $push1=, c($pop18):p2align=4 i32.const $push2=, 255 i32.and $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.then i32.const $push4=, 0 i32.const $push19=, 0 @@ -47,7 +47,7 @@ f4: # @f4 block i32.const $push25=, 0 i32.eq $push26=, $1, $pop25 - br_if $pop26, 0 # 0: down to label2 + br_if 0, $pop26 # 0: down to label2 # BB#4: # %land.rhs.i i32.load8_u $4=, 0($1) i32.const $5=, __stack_pointer @@ -76,7 +76,7 @@ f4: # @f4 i32.load8_u $push15=, 0($1) i32.const $push27=, 0 i32.eq $push28=, $pop15, $pop27 - br_if $pop28, 1 # 1: down to label1 + br_if 1, $pop28 # 1: down to label1 # BB#5: # %if.then.i call f2@FUNCTION, $1, $2 br 1 # 1: down to label1 @@ -160,13 +160,13 @@ main: # @main i32.load $push7=, a($pop12) i32.const $push11=, 1 i32.ne $push8=, $pop7, $pop11 - br_if $pop8, 0 # 0: down to label3 + br_if 0, $pop8 # 0: down to label3 # BB#1: # %entry i32.const $push15=, 0 i32.load $push0=, b($pop15) i32.const $push14=, 1 i32.ne $push9=, $pop0, $pop14 - br_if $pop9, 0 # 0: down to label3 + br_if 0, $pop9 # 0: down to label3 # BB#2: # %if.end i32.const $push10=, 0 i32.const $7=, 32 @@ -210,7 +210,7 @@ f1: # @f1 i32.load $push4=, 0($1) i32.const $push5=, .L.str.1 i32.call $push6=, strcmp@FUNCTION, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label4 + br_if 0, $pop6 # 0: down to label4 # BB#1: # %lor.lhs.false i32.load $push7=, 12($5) i32.const $push31=, 3 @@ -224,7 +224,7 @@ f1: # @f1 i32.load $push11=, 0($1) i32.const $push12=, 1 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label4 + br_if 0, $pop13 # 0: down to label4 # BB#2: # %lor.lhs.false5 i32.load $push14=, 12($5) i32.const $push15=, 3 @@ -238,7 +238,7 @@ f1: # @f1 i32.load $push21=, 0($1) i32.const $push22=, .L.str.4 i32.call $push23=, strcmp@FUNCTION, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label4 + br_if 0, $pop23 # 0: down to label4 # BB#3: # %if.end9 i32.const $4=, 16 i32.add $5=, $6, $4 @@ -271,7 +271,7 @@ f2: # @f2 block i32.const $push0=, .L.str i32.call $push1=, strcmp@FUNCTION, $0, $pop0 - br_if $pop1, 0 # 0: down to label5 + br_if 0, $pop1 # 0: down to label5 # BB#1: # %lor.lhs.false i32.load $push2=, 12($5) i32.const $push3=, 3 @@ -285,7 +285,7 @@ f2: # @f2 i32.load $push9=, 0($0) i32.const $push10=, .L.str.1 i32.call $push11=, strcmp@FUNCTION, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label5 + br_if 0, $pop11 # 0: down to label5 # BB#2: # %lor.lhs.false3 i32.load $push12=, 12($5) i32.const $push13=, 7 @@ -299,7 +299,7 @@ f2: # @f2 f64.load $push19=, 0($0) f64.const $push20=, 0x1.8p3 f64.ne $push21=, $pop19, $pop20 - br_if $pop21, 0 # 0: down to label5 + br_if 0, $pop21 # 0: down to label5 # BB#3: # %lor.lhs.false5 i32.load $push22=, 12($5) i32.const $push23=, 3 @@ -313,7 +313,7 @@ f2: # @f2 i32.load $push29=, 0($0) i32.const $push30=, 26 i32.ne $push31=, $pop29, $pop30 - br_if $pop31, 0 # 0: down to label5 + br_if 0, $pop31 # 0: down to label5 # BB#4: # %if.end i32.const $4=, 16 i32.add $5=, $5, $4 diff --git a/test/torture-s/pr56799.c.s b/test/torture-s/pr56799.c.s index eb81d45cf..7b23871ff 100644 --- a/test/torture-s/pr56799.c.s +++ b/test/torture-s/pr56799.c.s @@ -22,17 +22,17 @@ main: # @main i32.call $push3=, foo@FUNCTION, $2 i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %entry i32.const $push9=, 0 i32.load $push0=, lo($pop9) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#2: # %entry i32.const $push10=, 0 i32.load $push1=, hi($pop10) i32.const $push6=, 1 i32.ne $push7=, $pop1, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#3: # %if.then i32.const $push8=, 0 call exit@FUNCTION, $pop8 @@ -62,7 +62,7 @@ foo: # @foo i32.and $push1=, $pop9, $pop8 i32.const $push11=, 0 i32.eq $push12=, $pop1, $pop11 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#1: # %if.then i32.const $push2=, 0 i32.const $push3=, 1 @@ -74,7 +74,7 @@ foo: # @foo block i32.const $push10=, 65535 i32.le_u $push4=, $2, $pop10 - br_if $pop4, 0 # 0: down to label3 + br_if 0, $pop4 # 0: down to label3 # BB#3: # %if.then7 i32.const $push5=, 0 i32.const $push6=, 1 diff --git a/test/torture-s/pr56837.c.s b/test/torture-s/pr56837.c.s index 6e31d2981..14969b921 100644 --- a/test/torture-s/pr56837.c.s +++ b/test/torture-s/pr56837.c.s @@ -15,7 +15,7 @@ foo: # @foo i64.store $discard=, a+8192($0), $pop1 i32.const $push0=, 8 i32.add $0=, $0, $pop0 - br_if $0, 0 # 0: up to label0 + br_if 0, $0 # 0: up to label0 # BB#2: # %for.end end_loop # label1: return @@ -41,13 +41,13 @@ main: # @main i32.load $push1=, 0($0):p2align=3 i32.const $push9=, -1 i32.ne $push3=, $pop1, $pop9 - br_if $pop3, 2 # 2: down to label2 + br_if 2, $pop3 # 2: down to label2 # BB#2: # %for.body # in Loop: Header=BB1_1 Depth=1 i32.const $push10=, 4 i32.add $push2=, $0, $pop10 i32.load $push0=, 0($pop2) - br_if $pop0, 2 # 2: down to label2 + br_if 2, $pop0 # 2: down to label2 # BB#3: # %for.cond # in Loop: Header=BB1_1 Depth=1 i32.const $push8=, 1 @@ -56,7 +56,7 @@ main: # @main i32.add $0=, $0, $pop7 i32.const $push6=, 1023 i32.le_s $push4=, $1, $pop6 - br_if $pop4, 0 # 0: up to label3 + br_if 0, $pop4 # 0: up to label3 # BB#4: # %for.end end_loop # label4: i32.const $push5=, 0 diff --git a/test/torture-s/pr56866.c.s b/test/torture-s/pr56866.c.s index e062be108..d04aacebe 100644 --- a/test/torture-s/pr56866.c.s +++ b/test/torture-s/pr56866.c.s @@ -83,7 +83,7 @@ main: # @main i32.add $2=, $2, $pop70 i32.const $push69=, 2048 i32.ne $push6=, $2, $pop69 - br_if $pop6, 0 # 0: up to label0 + br_if 0, $pop6 # 0: up to label0 .LBB0_2: # %for.body16 # =>This Inner Loop Header: Depth=1 end_loop # label1: @@ -108,7 +108,7 @@ main: # @main i32.const $1=, 0 i32.const $push16=, 1024 i32.ne $push17=, $0, $pop16 - br_if $pop17, 0 # 0: up to label2 + br_if 0, $pop17 # 0: up to label2 .LBB0_3: # %for.body28 # =>This Inner Loop Header: Depth=1 end_loop # label3: @@ -131,7 +131,7 @@ main: # @main i32.add $1=, $1, $pop26 i32.const $push27=, 512 i32.ne $push28=, $1, $pop27 - br_if $pop28, 0 # 0: up to label4 + br_if 0, $pop28 # 0: up to label4 .LBB0_4: # %for.body43 # =>This Inner Loop Header: Depth=1 end_loop # label5: @@ -154,7 +154,7 @@ main: # @main i32.add $2=, $2, $pop37 i32.const $push38=, 256 i32.ne $push39=, $2, $pop38 - br_if $pop39, 0 # 0: up to label6 + br_if 0, $pop39 # 0: up to label6 # BB#5: # %for.end55 end_loop # label7: i32.const $27=, 3616 @@ -181,7 +181,7 @@ main: # @main i64.load $push40=, 3616($35):p2align=4 i64.const $push41=, -1224658842671273011 i64.ne $push42=, $pop40, $pop41 - br_if $pop42, 0 # 0: down to label8 + br_if 0, $pop42 # 0: down to label8 # BB#6: # %lor.lhs.false i32.const $push43=, 8 i32.const $34=, 3616 @@ -190,7 +190,7 @@ main: # @main i64.load $push45=, 0($pop44) i64.const $push46=, 0 i64.ne $push47=, $pop45, $pop46 - br_if $pop47, 0 # 0: down to label8 + br_if 0, $pop47 # 0: down to label8 # BB#7: # %if.end block i64.load $push48=, 1568($35):p2align=4 @@ -198,11 +198,11 @@ main: # @main i32.wrap/i64 $push49=, $pop77 i32.const $push50=, 1728127813 i32.ne $push51=, $pop49, $pop50 - br_if $pop51, 0 # 0: down to label9 + br_if 0, $pop51 # 0: down to label9 # BB#8: # %if.end i64.const $push52=, 4294967296 i64.ge_u $push53=, $3, $pop52 - br_if $pop53, 0 # 0: down to label9 + br_if 0, $pop53 # 0: down to label9 # BB#9: # %if.end71 block i32.load $push54=, 544($35):p2align=4 @@ -211,11 +211,11 @@ main: # @main i32.and $push56=, $pop78, $pop55 i32.const $push57=, 45986 i32.ne $push58=, $pop56, $pop57 - br_if $pop58, 0 # 0: down to label10 + br_if 0, $pop58 # 0: down to label10 # BB#10: # %if.end71 i32.const $push59=, 65536 i32.ge_u $push60=, $2, $pop59 - br_if $pop60, 0 # 0: down to label10 + br_if 0, $pop60 # 0: down to label10 # BB#11: # %if.end81 block i32.load16_u $push61=, 32($35):p2align=4 @@ -224,11 +224,11 @@ main: # @main i32.and $push63=, $pop79, $pop62 i32.const $push64=, 155 i32.ne $push65=, $pop63, $pop64 - br_if $pop65, 0 # 0: down to label11 + br_if 0, $pop65 # 0: down to label11 # BB#12: # %if.end81 i32.const $push66=, 256 i32.ge_u $push67=, $2, $pop66 - br_if $pop67, 0 # 0: down to label11 + br_if 0, $pop67 # 0: down to label11 # BB#13: # %if.end91 i32.const $push68=, 0 i32.const $6=, 7712 diff --git a/test/torture-s/pr56899.c.s b/test/torture-s/pr56899.c.s index 4c6ba9568..78d684510 100644 --- a/test/torture-s/pr56899.c.s +++ b/test/torture-s/pr56899.c.s @@ -12,7 +12,7 @@ f1: # @f1 i32.mul $push1=, $0, $pop0 i32.const $push2=, 2147483646 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -35,7 +35,7 @@ f2: # @f2 i32.mul $push1=, $0, $pop0 i32.const $push2=, 2147483646 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %if.end return .LBB1_2: # %if.then @@ -58,7 +58,7 @@ f3: # @f3 i32.mul $push1=, $0, $pop0 i32.const $push2=, 2147483646 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#1: # %if.end return .LBB2_2: # %if.then @@ -81,7 +81,7 @@ f4: # @f4 i32.mul $push1=, $0, $pop0 i32.const $push2=, 2147483646 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label3 + br_if 0, $pop3 # 0: down to label3 # BB#1: # %if.end return .LBB3_2: # %if.then diff --git a/test/torture-s/pr56962.c.s b/test/torture-s/pr56962.c.s index 4ed60ea57..694a21917 100644 --- a/test/torture-s/pr56962.c.s +++ b/test/torture-s/pr56962.c.s @@ -10,7 +10,7 @@ bar: # @bar block i32.const $push0=, v+232 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/pr56982.c.s b/test/torture-s/pr56982.c.s index 689cec3d6..e1ebe62e1 100644 --- a/test/torture-s/pr56982.c.s +++ b/test/torture-s/pr56982.c.s @@ -26,7 +26,7 @@ f: # @f i32.load $push0=, 0($0) i32.const $push5=, 0 i32.eq $push6=, $pop0, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.then i32.const $push1=, 1 return $pop1 @@ -37,7 +37,7 @@ f: # @f #APP #NO_APP block - br_if $2, 0 # 0: down to label1 + br_if 0, $2 # 0: down to label1 # BB#3: # %if.end6 i32.const $push4=, env i32.const $push3=, 42 diff --git a/test/torture-s/pr57124.c.s b/test/torture-s/pr57124.c.s index 0f4999734..d45b57b5e 100644 --- a/test/torture-s/pr57124.c.s +++ b/test/torture-s/pr57124.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.load16_u $push0=, 0($0) i32.const $push1=, 4095 i32.gt_u $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/pr57130.c.s b/test/torture-s/pr57130.c.s index 6b33de4e4..01b4f1c0d 100644 --- a/test/torture-s/pr57130.c.s +++ b/test/torture-s/pr57130.c.s @@ -22,7 +22,7 @@ foo: # @foo i32.add $push7=, $pop5, $pop6 i32.const $push8=, 16 i32.call $push9=, memcmp@FUNCTION, $0, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then diff --git a/test/torture-s/pr57131.c.s b/test/torture-s/pr57131.c.s index fbb36cc49..52f5d4c8c 100644 --- a/test/torture-s/pr57131.c.s +++ b/test/torture-s/pr57131.c.s @@ -38,7 +38,7 @@ main: # @main i64.load $push16=, 8($4) i64.add $push17=, $pop15, $pop16 i64.ne $push18=, $pop5, $pop17 - br_if $pop18, 0 # 0: down to label0 + br_if 0, $pop18 # 0: down to label0 # BB#1: # %if.end i32.const $3=, 48 i32.add $4=, $4, $3 diff --git a/test/torture-s/pr57281.c.s b/test/torture-s/pr57281.c.s index 1d4c5d637..f77a0be6a 100644 --- a/test/torture-s/pr57281.c.s +++ b/test/torture-s/pr57281.c.s @@ -36,7 +36,7 @@ main: # @main i32.load $push0=, b($pop9) i32.const $push8=, -20 i32.eq $push1=, $pop0, $pop8 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.lr.ph i32.const $push12=, 0 i32.load $0=, a($pop12) @@ -63,7 +63,7 @@ main: # @main i64.store $discard=, 0($2), $pop3 i32.const $push13=, -20 i32.ne $push7=, $3, $pop13 - br_if $pop7, 0 # 0: up to label1 + br_if 0, $pop7 # 0: up to label1 .LBB1_3: # %for.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/pr57321.c.s b/test/torture-s/pr57321.c.s index c3697145f..979a4dbdf 100644 --- a/test/torture-s/pr57321.c.s +++ b/test/torture-s/pr57321.c.s @@ -10,7 +10,7 @@ main: # @main block i32.const $push3=, 0 i32.load $push0=, a($pop3) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.then.i i32.const $push4=, 0 i32.load $push1=, b($pop4) diff --git a/test/torture-s/pr57344-1.c.s b/test/torture-s/pr57344-1.c.s index 8c8ee3dc4..c3399187c 100644 --- a/test/torture-s/pr57344-1.c.s +++ b/test/torture-s/pr57344-1.c.s @@ -10,7 +10,7 @@ foo: # @foo block i32.const $push0=, -3161 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end #APP #NO_APP @@ -39,7 +39,7 @@ main: # @main block i32.const $push23=, 0 i32.gt_s $push1=, $0, $pop23 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %for.body.preheader i32.const $push2=, -3161 call foo@FUNCTION, $pop2 @@ -52,7 +52,7 @@ main: # @main i32.store $discard=, i($pop29), $pop4 i32.const $push5=, -1 i32.gt_s $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 .LBB1_2: # %for.body.for.body_crit_edge # =>This Inner Loop Header: Depth=1 loop # label2: @@ -80,7 +80,7 @@ main: # @main i32.store $discard=, i($pop34), $pop21 i32.const $push30=, 0 i32.lt_s $push22=, $0, $pop30 - br_if $pop22, 0 # 0: up to label2 + br_if 0, $pop22 # 0: up to label2 .LBB1_3: # %for.end end_loop # label3: end_block # label1: diff --git a/test/torture-s/pr57344-2.c.s b/test/torture-s/pr57344-2.c.s index 280d149d0..bc36aeb2e 100644 --- a/test/torture-s/pr57344-2.c.s +++ b/test/torture-s/pr57344-2.c.s @@ -10,7 +10,7 @@ foo: # @foo block i32.const $push0=, -3161 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end #APP #NO_APP @@ -39,7 +39,7 @@ main: # @main block i32.const $push25=, 0 i32.gt_s $push1=, $0, $pop25 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %for.body.preheader i32.const $push2=, -3161 call foo@FUNCTION, $pop2 @@ -52,7 +52,7 @@ main: # @main i32.store $discard=, i($pop31), $pop4 i32.const $push5=, -1 i32.gt_s $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 .LBB1_2: # %for.body.for.body_crit_edge # =>This Inner Loop Header: Depth=1 loop # label2: @@ -83,7 +83,7 @@ main: # @main i32.store $discard=, i($pop36), $pop23 i32.const $push32=, 0 i32.lt_s $push24=, $0, $pop32 - br_if $pop24, 0 # 0: up to label2 + br_if 0, $pop24 # 0: up to label2 .LBB1_3: # %for.end end_loop # label3: end_block # label1: diff --git a/test/torture-s/pr57344-3.c.s b/test/torture-s/pr57344-3.c.s index 835a81395..3ccfedbe7 100644 --- a/test/torture-s/pr57344-3.c.s +++ b/test/torture-s/pr57344-3.c.s @@ -10,7 +10,7 @@ foo: # @foo block i64.const $push0=, -3161 i64.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end #APP #NO_APP @@ -44,7 +44,7 @@ main: # @main block i32.const $push28=, 0 i32.gt_s $push2=, $0, $pop28 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %for.body.preheader i64.const $push3=, -3161 call foo@FUNCTION, $pop3 @@ -57,7 +57,7 @@ main: # @main i32.store $discard=, i($pop37), $pop5 i32.const $push6=, -1 i32.gt_s $push7=, $0, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 .LBB1_2: # %for.body.for.body_crit_edge # =>This Inner Loop Header: Depth=1 loop # label2: @@ -92,7 +92,7 @@ main: # @main i32.store $discard=, i($pop42), $pop26 i32.const $push38=, 0 i32.lt_s $push27=, $0, $pop38 - br_if $pop27, 0 # 0: up to label2 + br_if 0, $pop27 # 0: up to label2 .LBB1_3: # %for.end end_loop # label3: end_block # label1: diff --git a/test/torture-s/pr57344-4.c.s b/test/torture-s/pr57344-4.c.s index 6edb3fdc3..143f8783f 100644 --- a/test/torture-s/pr57344-4.c.s +++ b/test/torture-s/pr57344-4.c.s @@ -10,7 +10,7 @@ foo: # @foo block i64.const $push0=, -1220975898975746 i64.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end #APP #NO_APP @@ -44,7 +44,7 @@ main: # @main block i32.const $push31=, 0 i32.gt_s $push2=, $0, $pop31 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %for.body.preheader i64.const $push3=, -1220975898975746 call foo@FUNCTION, $pop3 @@ -57,7 +57,7 @@ main: # @main i32.store $discard=, i($pop40), $pop5 i32.const $push6=, -1 i32.gt_s $push7=, $0, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 .LBB1_2: # %for.body.for.body_crit_edge # =>This Inner Loop Header: Depth=1 loop # label2: @@ -94,7 +94,7 @@ main: # @main i32.store $discard=, i($pop45), $pop29 i32.const $push41=, 0 i32.lt_s $push30=, $0, $pop41 - br_if $pop30, 0 # 0: up to label2 + br_if 0, $pop30 # 0: up to label2 .LBB1_3: # %for.end end_loop # label3: end_block # label1: diff --git a/test/torture-s/pr57568.c.s b/test/torture-s/pr57568.c.s index ca16d5b64..79ddb14c2 100644 --- a/test/torture-s/pr57568.c.s +++ b/test/torture-s/pr57568.c.s @@ -13,7 +13,7 @@ main: # @main i32.load $push0=, b($pop4) i32.const $push8=, 0 i32.eq $push9=, $pop0, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %land.lhs.true i32.const $push6=, 0 i32.load $0=, c($pop6) @@ -24,7 +24,7 @@ main: # @main i32.store $discard=, 0($0), $pop3 i32.const $push10=, 0 i32.eq $push11=, $1, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#2: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/pr57829.c.s b/test/torture-s/pr57829.c.s index a8ea323a1..ec935ffc0 100644 --- a/test/torture-s/pr57829.c.s +++ b/test/torture-s/pr57829.c.s @@ -71,25 +71,25 @@ main: # @main i32.call $push0=, f1@FUNCTION, $pop14 i32.const $push13=, 2 i32.ne $push1=, $pop0, $pop13 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $push16=, 1 i32.call $push2=, f2@FUNCTION, $pop16 i32.const $push15=, 2 i32.ne $push3=, $pop2, $pop15 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %lor.lhs.false3 i32.const $push4=, 63 i32.call $push5=, f3@FUNCTION, $pop4 i32.const $push6=, 6 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#3: # %lor.lhs.false6 i32.const $push8=, 1 i32.call $push9=, f3@FUNCTION, $pop8 i32.const $push10=, 4 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#4: # %if.end i32.const $push12=, 0 return $pop12 diff --git a/test/torture-s/pr57860.c.s b/test/torture-s/pr57860.c.s index f772c60b8..b90860ca0 100644 --- a/test/torture-s/pr57860.c.s +++ b/test/torture-s/pr57860.c.s @@ -24,7 +24,7 @@ foo: # @foo i32.load $push1=, c($pop15) i32.const $push25=, 0 i32.eq $push26=, $pop1, $pop25 - br_if $pop26, 0 # 0: down to label2 + br_if 0, $pop26 # 0: down to label2 # BB#2: # %for.inc.preheader # in Loop: Header=BB0_1 Depth=1 i32.const $push17=, 0 @@ -48,7 +48,7 @@ foo: # @foo i32.const $push18=, 2 i32.shl $push8=, $pop19, $pop18 i32.load $push9=, k($pop8) - br_if $pop9, 1 # 1: down to label1 + br_if 1, $pop9 # 1: down to label1 # BB#4: # %for.inc6 # in Loop: Header=BB0_1 Depth=1 i32.const $push24=, 0 @@ -86,7 +86,7 @@ main: # @main i32.load $push1=, c($pop17) i32.const $push30=, 0 i32.eq $push31=, $pop1, $pop30 - br_if $pop31, 0 # 0: down to label5 + br_if 0, $pop31 # 0: down to label5 # BB#2: # %for.inc.preheader.i # in Loop: Header=BB1_1 Depth=1 i32.const $push19=, 0 @@ -111,7 +111,7 @@ main: # @main i32.const $push20=, 2 i32.shl $push8=, $pop21, $pop20 i32.load $push9=, k($pop8) - br_if $pop9, 1 # 1: down to label4 + br_if 1, $pop9 # 1: down to label4 # BB#4: # %for.inc6.i # in Loop: Header=BB1_1 Depth=1 i32.const $push27=, 0 @@ -126,7 +126,7 @@ main: # @main i32.load $push10=, d($pop28) i32.const $push11=, 1 i32.ne $push12=, $pop10, $pop11 - br_if $pop12, 0 # 0: down to label6 + br_if 0, $pop12 # 0: down to label6 # BB#6: # %if.end i32.const $push29=, 0 return $pop29 diff --git a/test/torture-s/pr57861.c.s b/test/torture-s/pr57861.c.s index 82d172629..e4ed0fa77 100644 --- a/test/torture-s/pr57861.c.s +++ b/test/torture-s/pr57861.c.s @@ -22,7 +22,7 @@ main: # @main i32.const $push20=, 24 i32.shr_s $push5=, $pop4, $pop20 i32.ge_u $push7=, $pop6, $pop5 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.then.i.1 i32.load $push8=, d($3) i32.ne $push9=, $pop8, $3 @@ -46,7 +46,7 @@ main: # @main block i32.const $push17=, 65535 i32.and $push18=, $2, $pop17 - br_if $pop18, 0 # 0: down to label1 + br_if 0, $pop18 # 0: down to label1 # BB#3: # %if.end i32.const $push19=, 0 return $pop19 diff --git a/test/torture-s/pr57875.c.s b/test/torture-s/pr57875.c.s index 1e4cefa19..4f70c2f00 100644 --- a/test/torture-s/pr57875.c.s +++ b/test/torture-s/pr57875.c.s @@ -14,7 +14,7 @@ main: # @main tee_local $push15=, $4=, $pop13 i32.const $push14=, 0 i32.gt_s $push0=, $pop15, $pop14 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %for.body.lr.ph i32.const $push18=, 0 i32.load $0=, d($pop18) @@ -24,14 +24,14 @@ main: # @main # =>This Inner Loop Header: Depth=1 loop # label1: block - br_if $0, 0 # 0: down to label3 + br_if 0, $0 # 0: down to label3 # BB#3: # %if.then # in Loop: Header=BB0_2 Depth=1 block block i32.const $push27=, 0 i32.eq $push28=, $1, $pop27 - br_if $pop28, 0 # 0: down to label5 + br_if 0, $pop28 # 0: down to label5 # BB#4: # %if.then.if.end_crit_edge # in Loop: Header=BB0_2 Depth=1 i32.const $push19=, 0 @@ -59,7 +59,7 @@ main: # @main i32.const $push23=, 0 i32.lt_s $3=, $4, $pop23 copy_local $4=, $2 - br_if $3, 0 # 0: up to label1 + br_if 0, $3 # 0: up to label1 # BB#8: # %for.cond.for.end_crit_edge end_loop # label2: i32.const $push4=, 0 @@ -76,7 +76,7 @@ main: # @main i32.and $push9=, $pop7, $pop8 i32.load $push10=, a($pop9) i32.store $push11=, b($pop26), $pop10 - br_if $pop11, 0 # 0: down to label6 + br_if 0, $pop11 # 0: down to label6 # BB#10: # %if.end10 i32.const $push12=, 0 return $pop12 diff --git a/test/torture-s/pr57876.c.s b/test/torture-s/pr57876.c.s index 16e94d035..5812e1acc 100644 --- a/test/torture-s/pr57876.c.s +++ b/test/torture-s/pr57876.c.s @@ -153,7 +153,7 @@ main: # @main block i32.const $push96=, 0 i32.eq $push97=, $1, $pop96 - br_if $pop97, 0 # 0: down to label0 + br_if 0, $pop97 # 0: down to label0 # BB#1: # %if.end i32.const $15=, 16 i32.add $17=, $17, $15 diff --git a/test/torture-s/pr57877.c.s b/test/torture-s/pr57877.c.s index 2c75cfdfa..759d75ff6 100644 --- a/test/torture-s/pr57877.c.s +++ b/test/torture-s/pr57877.c.s @@ -15,7 +15,7 @@ main: # @main tee_local $push16=, $4=, $pop0 i32.const $push15=, 1 i32.lt_s $push3=, $pop16, $pop15 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %entry.foo.exit_crit_edge i32.const $push18=, 0 i32.load $5=, e($pop18) @@ -53,7 +53,7 @@ main: # @main i32.add $4=, $4, $pop23 i32.const $push22=, 0 i32.lt_s $push10=, $4, $pop22 - br_if $pop10, 0 # 0: up to label2 + br_if 0, $pop10 # 0: up to label2 # BB#4: # %for.cond.for.end_crit_edge.i end_loop # label3: i32.const $push11=, 0 @@ -63,7 +63,7 @@ main: # @main block i32.const $push12=, 1 i32.ne $push13=, $5, $pop12 - br_if $pop13, 0 # 0: down to label4 + br_if 0, $pop13 # 0: down to label4 # BB#6: # %if.end i32.const $push14=, 0 return $pop14 diff --git a/test/torture-s/pr58209.c.s b/test/torture-s/pr58209.c.s index da5193a07..331bd70dd 100644 --- a/test/torture-s/pr58209.c.s +++ b/test/torture-s/pr58209.c.s @@ -11,7 +11,7 @@ foo: # @foo block i32.const $push6=, 0 i32.eq $push7=, $0, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push0=, -1 i32.add $push1=, $0, $pop0 @@ -40,7 +40,7 @@ bar: # @bar block i32.const $push4=, 0 i32.eq $push5=, $0, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#1: # %if.end i32.const $push0=, -1 i32.add $push1=, $0, $pop0 @@ -73,14 +73,14 @@ main: # @main i32.call $push0=, foo@FUNCTION, $1 tee_local $push9=, $3=, $pop0 i32.ne $push1=, $0, $pop9 - br_if $pop1, 2 # 2: down to label2 + br_if 2, $pop1 # 2: down to label2 # BB#2: # %lor.lhs.false # in Loop: Header=BB2_1 Depth=1 i32.const $2=, buf block i32.const $push13=, 0 i32.eq $push14=, $1, $pop13 - br_if $pop14, 0 # 0: down to label5 + br_if 0, $pop14 # 0: down to label5 # BB#3: # %if.end.i # in Loop: Header=BB2_1 Depth=1 i32.const $push12=, -1 @@ -92,14 +92,14 @@ main: # @main # in Loop: Header=BB2_1 Depth=1 end_block # label5: i32.ne $push4=, $2, $3 - br_if $pop4, 2 # 2: down to label2 + br_if 2, $pop4 # 2: down to label2 # BB#5: # %for.cond # in Loop: Header=BB2_1 Depth=1 i32.const $push8=, 1 i32.add $1=, $1, $pop8 i32.const $push7=, 26 i32.le_s $push5=, $1, $pop7 - br_if $pop5, 0 # 0: up to label3 + br_if 0, $pop5 # 0: up to label3 # BB#6: # %for.end end_loop # label4: i32.const $push6=, 0 diff --git a/test/torture-s/pr58277-1.c.s b/test/torture-s/pr58277-1.c.s index da0347488..567e666b3 100644 --- a/test/torture-s/pr58277-1.c.s +++ b/test/torture-s/pr58277-1.c.s @@ -63,7 +63,7 @@ main: # @main i32.load $push7=, l($pop114) i32.const $push156=, 0 i32.eq $push157=, $pop7, $pop156 - br_if $pop157, 0 # 0: down to label3 + br_if 0, $pop157 # 0: down to label3 # BB#2: # %for.end # in Loop: Header=BB2_1 Depth=1 i32.load $push8=, j($3) @@ -96,7 +96,7 @@ main: # @main i32.store $push23=, o($pop116), $5 tee_local $push115=, $4=, $pop23 i32.load $push24=, p($pop115) - br_if $pop24, 0 # 0: down to label4 + br_if 0, $pop24 # 0: down to label4 .LBB2_4: # %for.cond3.preheader.i # Parent Loop BB2_1 Depth=1 # => This Loop Header: Depth=2 @@ -112,7 +112,7 @@ main: # @main i32.load $push26=, j($pop118) i32.load $push27=, 0($pop26) i32.load $push28=, 0($pop27) - br_if $pop28, 0 # 0: down to label7 + br_if 0, $pop28 # 0: down to label7 .LBB2_5: # %if.end110.i # Parent Loop BB2_1 Depth=1 # Parent Loop BB2_4 Depth=2 @@ -127,7 +127,7 @@ main: # @main i32.load $push34=, 0($pop33) i32.const $push158=, 0 i32.eq $push159=, $pop34, $pop158 - br_if $pop159, 0 # 0: up to label8 + br_if 0, $pop159 # 0: up to label8 .LBB2_6: # %for.end.i # in Loop: Header=BB2_4 Depth=2 end_loop # label9: @@ -168,7 +168,7 @@ main: # @main i32.load $push57=, p($pop56) i32.const $push160=, 0 i32.eq $push161=, $pop57, $pop160 - br_if $pop161, 0 # 0: up to label5 + br_if 0, $pop161 # 0: up to label5 .LBB2_7: # %foo.exit.thread # in Loop: Header=BB2_1 Depth=1 end_loop # label6: @@ -181,7 +181,7 @@ main: # @main i32.const $push126=, -1 i32.add $push2=, $5, $pop126 i32.store $5=, n($3), $pop2 - br_if $5, 0 # 0: up to label0 + br_if 0, $5 # 0: up to label0 # BB#9: # %for.end8 end_loop # label1: block @@ -193,7 +193,7 @@ main: # @main tee_local $push127=, $6=, $pop110 i32.const $push162=, 0 i32.eq $push163=, $pop127, $pop162 - br_if $pop163, 0 # 0: down to label10 + br_if 0, $pop163 # 0: down to label10 # BB#10: # %for.cond12.preheader.lr.ph i32.load $0=, c($4) .LBB2_11: # %for.cond12.preheader @@ -231,13 +231,13 @@ main: # @main i32.load $0=, a($pop75) i32.const $push130=, -1 i32.add $5=, $5, $pop130 - br_if $5, 0 # 0: up to label13 + br_if 0, $5 # 0: up to label13 # BB#13: # %for.inc27 # in Loop: Header=BB2_11 Depth=1 end_loop # label14: i32.const $push139=, 1 i32.add $6=, $6, $pop139 - br_if $6, 0 # 0: up to label11 + br_if 0, $6 # 0: up to label11 # BB#14: # %for.cond9.for.end29_crit_edge end_loop # label12: i32.const $push76=, 0 @@ -297,7 +297,7 @@ main: # @main i32.load $push108=, a($pop107) i32.const $push164=, 0 i32.eq $push165=, $pop108, $pop164 - br_if $pop165, 0 # 0: down to label15 + br_if 0, $pop165 # 0: down to label15 # BB#16: # %if.end47 i32.const $push109=, 0 i32.const $10=, 32 diff --git a/test/torture-s/pr58277-2.c.s b/test/torture-s/pr58277-2.c.s index 204c0782f..15d31a80e 100644 --- a/test/torture-s/pr58277-2.c.s +++ b/test/torture-s/pr58277-2.c.s @@ -17,7 +17,7 @@ main: # @main i32.load $push2=, g($pop10) i32.const $push14=, 0 i32.eq $push15=, $pop2, $pop14 - br_if $pop15, 0 # 0: down to label1 + br_if 0, $pop15 # 0: down to label1 # BB#1: # %fn2.exit.thread.i i32.load $discard=, d($0) br 1 # 1: down to label0 diff --git a/test/torture-s/pr58364.c.s b/test/torture-s/pr58364.c.s index bf4f572af..5e631d1fa 100644 --- a/test/torture-s/pr58364.c.s +++ b/test/torture-s/pr58364.c.s @@ -34,7 +34,7 @@ main: # @main i32.store $2=, b($pop3), $pop2 block i32.le_s $push1=, $0, $1 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end return $2 .LBB1_2: # %if.then diff --git a/test/torture-s/pr58365.c.s b/test/torture-s/pr58365.c.s index e579dd105..5b9173c7d 100644 --- a/test/torture-s/pr58365.c.s +++ b/test/torture-s/pr58365.c.s @@ -34,7 +34,7 @@ main: # @main i32.load8_u $push0=, i($pop27):p2align=2 i32.const $push40=, 0 i32.eq $push41=, $pop0, $pop40 - br_if $pop41, 0 # 0: down to label1 + br_if 0, $pop41 # 0: down to label1 # BB#1: # %if.then.i i32.const $push2=, 16 i32.const $11=, 8 @@ -108,7 +108,7 @@ main: # @main i32.const $push26=, 1 i32.store $discard=, f+4($pop32), $pop26 block - br_if $1, 0 # 0: down to label2 + br_if 0, $1 # 0: down to label2 # BB#4: # %if.end i32.const $push39=, 0 i32.const $4=, 32 diff --git a/test/torture-s/pr58387.c.s b/test/torture-s/pr58387.c.s index 1fe0cd44a..3a35648c9 100644 --- a/test/torture-s/pr58387.c.s +++ b/test/torture-s/pr58387.c.s @@ -12,7 +12,7 @@ main: # @main i32.load $push0=, a($pop3) i32.const $push2=, 0 i32.ge_s $push1=, $pop0, $pop2 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr58419.c.s b/test/torture-s/pr58419.c.s index 6975f0a60..aa3edfa95 100644 --- a/test/torture-s/pr58419.c.s +++ b/test/torture-s/pr58419.c.s @@ -72,7 +72,7 @@ main: # @main i32.sub $push9=, $pop6, $pop8 i32.const $push89=, 255 i32.and $push10=, $pop9, $pop89 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#1: # %lor.rhs i32.const $push12=, 0 i32.const $push11=, 1 @@ -100,7 +100,7 @@ main: # @main i32.sub $push20=, $pop17, $pop19 i32.const $push97=, 255 i32.and $push21=, $pop20, $pop97 - br_if $pop21, 0 # 0: down to label1 + br_if 0, $pop21 # 0: down to label1 # BB#3: # %lor.rhs.1 i32.const $push106=, 0 i32.const $push22=, 1 @@ -130,7 +130,7 @@ main: # @main i32.sub $push30=, $pop27, $pop29 i32.const $push107=, 255 i32.and $push31=, $pop30, $pop107 - br_if $pop31, 0 # 0: down to label2 + br_if 0, $pop31 # 0: down to label2 # BB#5: # %lor.rhs.2 i32.const $push33=, 0 i32.const $push32=, 1 @@ -158,7 +158,7 @@ main: # @main i32.sub $push41=, $pop38, $pop40 i32.const $push116=, 255 i32.and $push42=, $pop41, $pop116 - br_if $pop42, 0 # 0: down to label3 + br_if 0, $pop42 # 0: down to label3 # BB#7: # %lor.rhs.3 i32.const $push125=, 0 i32.const $push43=, 1 @@ -188,7 +188,7 @@ main: # @main i32.sub $push51=, $pop48, $pop50 i32.const $push126=, 255 i32.and $push52=, $pop51, $pop126 - br_if $pop52, 0 # 0: down to label4 + br_if 0, $pop52 # 0: down to label4 # BB#9: # %lor.rhs.4 i32.const $push54=, 0 i32.const $push53=, 1 @@ -216,7 +216,7 @@ main: # @main i32.sub $push62=, $pop59, $pop61 i32.const $push135=, 255 i32.and $push63=, $pop62, $pop135 - br_if $pop63, 0 # 0: down to label5 + br_if 0, $pop63 # 0: down to label5 # BB#11: # %lor.rhs.5 i32.const $push144=, 0 i32.const $push64=, 1 @@ -246,7 +246,7 @@ main: # @main i32.sub $push72=, $pop69, $pop71 i32.const $push145=, 255 i32.and $push73=, $pop72, $pop145 - br_if $pop73, 0 # 0: down to label6 + br_if 0, $pop73 # 0: down to label6 # BB#13: # %lor.rhs.6 i32.const $push75=, 0 i32.const $push74=, 1 @@ -277,7 +277,7 @@ main: # @main i32.sub $push82=, $pop157, $pop81 i32.const $push154=, 255 i32.and $push83=, $pop82, $pop154 - br_if $pop83, 0 # 0: down to label7 + br_if 0, $pop83 # 0: down to label7 # BB#15: # %lor.rhs.7 i32.const $push165=, 0 i32.const $push84=, 1 diff --git a/test/torture-s/pr58431.c.s b/test/torture-s/pr58431.c.s index 6b8d97451..d28f31369 100644 --- a/test/torture-s/pr58431.c.s +++ b/test/torture-s/pr58431.c.s @@ -27,7 +27,7 @@ main: # @main i32.shr_s $2=, $pop5, $pop14 block i32.load $push6=, j($4) - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %lor.rhs i32.load $push7=, c($4) i32.ne $3=, $pop7, $4 @@ -37,7 +37,7 @@ main: # @main block block i32.ne $push8=, $1, $2 - br_if $pop8, 0 # 0: down to label3 + br_if 0, $pop8 # 0: down to label3 # BB#3: # %if.else i32.const $push24=, 0 i32.load $4=, e($pop24) @@ -47,7 +47,7 @@ main: # @main block i32.const $push35=, 0 i32.eq $push36=, $4, $pop35 - br_if $pop36, 0 # 0: down to label4 + br_if 0, $pop36 # 0: down to label4 # BB#4: # %for.inc17.preheader i32.const $push29=, 0 i32.const $push28=, 0 @@ -68,7 +68,7 @@ main: # @main i32.load $push9=, d($pop21) i32.const $push20=, 0 i32.gt_s $push10=, $pop9, $pop20 - br_if $pop10, 0 # 0: down to label2 + br_if 0, $pop10 # 0: down to label2 # BB#7: # %for.inc.preheader i32.const $push22=, 0 i32.const $push11=, 1 @@ -84,7 +84,7 @@ main: # @main i32.const $push30=, 0 i32.const $push13=, 1 i32.store $discard=, b($pop30), $pop13 - br_if $4, 0 # 0: down to label1 + br_if 0, $4 # 0: down to label1 # BB#9: # %if.end27 i32.const $push34=, 0 return $pop34 diff --git a/test/torture-s/pr58570.c.s b/test/torture-s/pr58570.c.s index 25002a559..ff72bd6a2 100644 --- a/test/torture-s/pr58570.c.s +++ b/test/torture-s/pr58570.c.s @@ -13,7 +13,7 @@ main: # @main i32.load $push0=, e($pop26) i32.const $push32=, 0 i32.eq $push33=, $pop0, $pop32 - br_if $pop33, 0 # 0: down to label0 + br_if 0, $pop33 # 0: down to label0 # BB#1: # %if.then i32.const $push29=, 0 i32.load $push1=, i($pop29) @@ -50,7 +50,7 @@ main: # @main i32.wrap/i64 $push22=, $pop21 i32.const $push23=, 1 i32.ne $push24=, $pop22, $pop23 - br_if $pop24, 0 # 0: down to label1 + br_if 0, $pop24 # 0: down to label1 # BB#3: # %if.end7 i32.const $push25=, 0 return $pop25 diff --git a/test/torture-s/pr58574.c.s b/test/torture-s/pr58574.c.s index bdd84debd..d6d618acc 100644 --- a/test/torture-s/pr58574.c.s +++ b/test/torture-s/pr58574.c.s @@ -15,7 +15,7 @@ foo: # @foo tee_local $push1283=, $2=, $pop0 i32.const $push1=, 93 i32.gt_u $push2=, $pop1283, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry block block @@ -1766,7 +1766,7 @@ main: # @main tee_local $push9=, $0=, $pop0 f64.const $push2=, 0x1.851eb851eb852p-2 f64.lt $push3=, $pop9, $pop2 - br_if $pop3, 0 # 0: down to label65 + br_if 0, $pop3 # 0: down to label65 # BB#1: # %entry f64.const $push4=, 0x1.ae147ae147ae1p-2 f64.le $push5=, $0, $pop4 @@ -1774,7 +1774,7 @@ main: # @main i32.or $push7=, $pop5, $pop6 i32.const $push10=, 0 i32.eq $push11=, $pop7, $pop10 - br_if $pop11, 0 # 0: down to label65 + br_if 0, $pop11 # 0: down to label65 # BB#2: # %if.end i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/pr58640-2.c.s b/test/torture-s/pr58640-2.c.s index da38fd62a..409660e63 100644 --- a/test/torture-s/pr58640-2.c.s +++ b/test/torture-s/pr58640-2.c.s @@ -59,7 +59,7 @@ main: # @main i32.const $push4=, 0 i32.store $push2=, a($pop4):p2align=4, $0 i32.store $push3=, a+4($pop5), $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push9=, 0 return $pop9 diff --git a/test/torture-s/pr58640.c.s b/test/torture-s/pr58640.c.s index ac6c14c64..b6318a7f4 100644 --- a/test/torture-s/pr58640.c.s +++ b/test/torture-s/pr58640.c.s @@ -12,12 +12,12 @@ main: # @main i32.load $push0=, b($pop9) i32.const $push8=, 0 i32.gt_s $push1=, $pop0, $pop8 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body3.lr.ph.i block i32.const $push10=, 0 i32.load $push2=, d($pop10) - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#2: # %for.inc25.i.preheader i32.const $push6=, 0 i32.const $push7=, 1 diff --git a/test/torture-s/pr58662.c.s b/test/torture-s/pr58662.c.s index 6e3451e49..f0a01e5cb 100644 --- a/test/torture-s/pr58662.c.s +++ b/test/torture-s/pr58662.c.s @@ -29,7 +29,7 @@ main: # @main block i32.const $push12=, 0 i32.load $push11=, b($pop12) - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %if.end i32.const $push20=, 0 return $pop20 diff --git a/test/torture-s/pr58831.c.s b/test/torture-s/pr58831.c.s index 48a5e5930..0dd1e5e6f 100644 --- a/test/torture-s/pr58831.c.s +++ b/test/torture-s/pr58831.c.s @@ -45,7 +45,7 @@ fn1: # @fn1 i32.load $push0=, p($pop8) i32.const $push13=, 0 i32.eq $push14=, $pop0, $pop13 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 .LBB2_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -56,7 +56,7 @@ fn1: # @fn1 i32.store $push2=, 0($0), $pop1 i32.add $push4=, $pop3, $pop2 i32.store $push5=, p($pop10), $pop4 - br_if $pop5, 0 # 0: up to label1 + br_if 0, $pop5 # 0: up to label1 .LBB2_2: # %for.end end_loop # label2: end_block # label0: diff --git a/test/torture-s/pr58943.c.s b/test/torture-s/pr58943.c.s index ea53ad27a..64d83a04b 100644 --- a/test/torture-s/pr58943.c.s +++ b/test/torture-s/pr58943.c.s @@ -35,7 +35,7 @@ main: # @main i32.store $push3=, x($pop7), $pop2 i32.const $push4=, 131 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 0 return $pop8 diff --git a/test/torture-s/pr58984.c.s b/test/torture-s/pr58984.c.s index 97a6b3ac9..1c93b96ca 100644 --- a/test/torture-s/pr58984.c.s +++ b/test/torture-s/pr58984.c.s @@ -13,7 +13,7 @@ main: # @main i32.load $push0=, e($pop15) i32.const $push14=, 1 i32.gt_s $push1=, $pop0, $pop14 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.i i32.const $push17=, 0 i32.load $1=, c($pop17) @@ -30,7 +30,7 @@ main: # @main i32.const $push18=, 1 i32.store $push4=, m($pop19), $pop18 i32.ne $push6=, $pop5, $pop4 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#3: # %bar.exit i32.const $push7=, 0 i32.const $push23=, 0 @@ -47,7 +47,7 @@ main: # @main i32.or $push13=, $pop12, $pop21 i32.store $discard=, m($1), $pop13 block - br_if $0, 0 # 0: down to label2 + br_if 0, $0 # 0: down to label2 # BB#4: # %if.end11 return $1 .LBB0_5: # %if.then10 diff --git a/test/torture-s/pr59014-2.c.s b/test/torture-s/pr59014-2.c.s index dc532a7d4..3491e60b2 100644 --- a/test/torture-s/pr59014-2.c.s +++ b/test/torture-s/pr59014-2.c.s @@ -31,7 +31,7 @@ main: # @main i64.call $push2=, foo@FUNCTION, $pop1, $pop0 i64.const $push3=, 34359738368 i64.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 return $pop5 diff --git a/test/torture-s/pr59014.c.s b/test/torture-s/pr59014.c.s index 1370f1500..085a4cc0a 100644 --- a/test/torture-s/pr59014.c.s +++ b/test/torture-s/pr59014.c.s @@ -21,7 +21,7 @@ foo: # @foo i32.or $push5=, $pop2, $pop4 i32.const $push12=, 0 i32.eq $push13=, $pop5, $pop12 - br_if $pop13, 0 # 0: down to label0 + br_if 0, $pop13 # 0: down to label0 .LBB0_1: # %for.inc # =>This Inner Loop Header: Depth=1 loop # label1: @@ -58,7 +58,7 @@ main: # @main i32.or $push5=, $pop2, $pop4 i32.const $push15=, 0 i32.eq $push16=, $pop5, $pop15 - br_if $pop16, 0 # 0: down to label3 + br_if 0, $pop16 # 0: down to label3 .LBB1_1: # %for.inc.i # =>This Inner Loop Header: Depth=1 loop # label4: @@ -71,7 +71,7 @@ main: # @main i32.store $push6=, d($pop14), $0 i32.const $push7=, 2 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label6 + br_if 0, $pop8 # 0: down to label6 # BB#3: # %if.end i32.const $push9=, 0 return $pop9 diff --git a/test/torture-s/pr59101.c.s b/test/torture-s/pr59101.c.s index 7a0f40c92..604c7d8e3 100644 --- a/test/torture-s/pr59101.c.s +++ b/test/torture-s/pr59101.c.s @@ -31,7 +31,7 @@ main: # @main i32.call $push0=, foo@FUNCTION, $pop3 i32.const $push1=, 7 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr59221.c.s b/test/torture-s/pr59221.c.s index 3808858cc..96d1fac32 100644 --- a/test/torture-s/pr59221.c.s +++ b/test/torture-s/pr59221.c.s @@ -13,7 +13,7 @@ main: # @main i32.load $push0=, b($pop14) i32.const $push24=, 0 i32.eq $push25=, $pop0, $pop24 - br_if $pop25, 0 # 0: down to label0 + br_if 0, $pop25 # 0: down to label0 # BB#1: # %for.inc.preheader i32.const $push16=, 0 i32.const $push15=, 0 @@ -41,7 +41,7 @@ main: # @main i32.and $push9=, $0, $pop17 i32.const $push11=, 1 i32.ne $push12=, $pop9, $pop11 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#3: # %if.end i32.const $push13=, 0 return $pop13 diff --git a/test/torture-s/pr59229.c.s b/test/torture-s/pr59229.c.s index be5481040..1dfde443c 100644 --- a/test/torture-s/pr59229.c.s +++ b/test/torture-s/pr59229.c.s @@ -16,14 +16,14 @@ bar: # @bar i32.add $push3=, $pop17, $pop2 i32.const $push4=, 6 i32.ge_u $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end block i32.const $push8=, .L.str i32.const $push6=, 1 i32.add $push7=, $1, $pop6 i32.call $push9=, memcmp@FUNCTION, $0, $pop8, $pop7 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#2: # %if.end4 i32.const $push10=, 538976288 i32.store $discard=, 0($0):p2align=0, $pop10 @@ -67,7 +67,7 @@ foo: # @foo i32.add $push1=, $1, $pop0 i32.const $push2=, 5 i32.gt_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#1: # %if.end i32.const $push4=, 1 i32.add $push5=, $1, $pop4 @@ -111,7 +111,7 @@ main: # @main i32.store $1=, i($0), $pop0 i32.const $push6=, 16 i32.lt_s $push3=, $1, $pop6 - br_if $pop3, 0 # 0: up to label3 + br_if 0, $pop3 # 0: up to label3 # BB#2: # %for.end end_loop # label4: i32.const $push4=, 0 diff --git a/test/torture-s/pr59358.c.s b/test/torture-s/pr59358.c.s index c2ac56f3d..fead3d849 100644 --- a/test/torture-s/pr59358.c.s +++ b/test/torture-s/pr59358.c.s @@ -14,11 +14,11 @@ foo: # @foo block i32.const $push0=, 16 i32.gt_s $push1=, $1, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry copy_local $0=, $2 i32.ge_s $push2=, $2, $1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 .LBB0_2: # %while.cond # =>This Inner Loop Header: Depth=1 loop # label1: @@ -26,7 +26,7 @@ foo: # @foo i32.const $push4=, 1 i32.shl $2=, $0, $pop4 i32.lt_s $push3=, $0, $1 - br_if $pop3, 0 # 0: up to label1 + br_if 0, $pop3 # 0: up to label1 .LBB0_3: # %if.end end_loop # label2: end_block # label0: @@ -72,7 +72,7 @@ main: # @main i32.and $push2=, $pop17, $pop16 i32.const $push15=, 8 i32.eq $push3=, $pop2, $pop15 - br_if $pop3, 0 # 0: down to label7 + br_if 0, $pop3 # 0: down to label7 # BB#2: # %if.else # in Loop: Header=BB1_1 Depth=1 block @@ -80,7 +80,7 @@ main: # @main i32.and $push4=, $6, $pop21 i32.const $push20=, 4 i32.ne $push5=, $pop4, $pop20 - br_if $pop5, 0 # 0: down to label8 + br_if 0, $pop5 # 0: down to label8 # BB#3: # %if.then6 # in Loop: Header=BB1_1 Depth=1 i32.const $push22=, 2 @@ -98,7 +98,7 @@ main: # @main # in Loop: Header=BB1_1 Depth=1 end_block # label7: i32.ne $push7=, $3, $5 - br_if $pop7, 3 # 3: down to label3 + br_if 3, $pop7 # 3: down to label3 # BB#6: # %if.end18 # in Loop: Header=BB1_1 Depth=1 i32.const $push27=, 7 @@ -109,13 +109,13 @@ main: # @main block i32.const $push26=, 6 i32.gt_s $push8=, $6, $pop26 - br_if $pop8, 0 # 0: down to label9 + br_if 0, $pop8 # 0: down to label9 # BB#7: # %if.else22 # in Loop: Header=BB1_1 Depth=1 copy_local $5=, $0 i32.const $push28=, 3 i32.gt_s $push9=, $6, $pop28 - br_if $pop9, 0 # 0: down to label9 + br_if 0, $pop9 # 0: down to label9 # BB#8: # %if.else28 # in Loop: Header=BB1_1 Depth=1 i32.const $push31=, 12 @@ -127,7 +127,7 @@ main: # @main # in Loop: Header=BB1_1 Depth=1 end_block # label9: i32.ne $push11=, $3, $5 - br_if $pop11, 2 # 2: down to label4 + br_if 2, $pop11 # 2: down to label4 # BB#10: # %if.end37 # in Loop: Header=BB1_1 Depth=1 i32.add $2=, $2, $4 @@ -138,7 +138,7 @@ main: # @main i32.add $1=, $pop33, $4 i32.const $push32=, 17 i32.lt_s $push13=, $6, $pop32 - br_if $pop13, 0 # 0: up to label5 + br_if 0, $pop13 # 0: up to label5 # BB#11: # %for.end end_loop # label6: i32.const $push14=, 0 diff --git a/test/torture-s/pr59387.c.s b/test/torture-s/pr59387.c.s index cd350dcb9..27731eec0 100644 --- a/test/torture-s/pr59387.c.s +++ b/test/torture-s/pr59387.c.s @@ -26,14 +26,14 @@ main: # @main i32.load $push3=, d($pop8) i32.const $push16=, 0 i32.eq $push17=, $pop3, $pop16 - br_if $pop17, 1 # 1: down to label1 + br_if 1, $pop17 # 1: down to label1 # BB#2: # %for.inc4 # in Loop: Header=BB0_1 Depth=1 i32.const $push13=, 0 i32.const $push12=, 1 i32.add $push0=, $0, $pop12 i32.store $0=, a($pop13), $pop0 - br_if $0, 0 # 0: up to label0 + br_if 0, $0 # 0: up to label0 .LBB0_3: # %return end_loop # label1: i32.const $push4=, 0 diff --git a/test/torture-s/pr59747.c.s b/test/torture-s/pr59747.c.s index bf9d85c25..56111e3ad 100644 --- a/test/torture-s/pr59747.c.s +++ b/test/torture-s/pr59747.c.s @@ -34,7 +34,7 @@ main: # @main block i32.const $push20=, 0 i32.eq $push21=, $0, $pop20 - br_if $pop21, 0 # 0: down to label0 + br_if 0, $pop21 # 0: down to label0 # BB#1: # %if.then i32.const $push17=, 0 i32.const $push2=, -1 @@ -56,7 +56,7 @@ main: # @main i64.shr_u $push10=, $pop8, $pop9 i32.wrap/i64 $push11=, $pop10 i32.call $push12=, fn1@FUNCTION, $pop11 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#3: # %if.end5 i32.const $push13=, 0 call exit@FUNCTION, $pop13 diff --git a/test/torture-s/pr60017.c.s b/test/torture-s/pr60017.c.s index b92d3b9a2..1033adb6b 100644 --- a/test/torture-s/pr60017.c.s +++ b/test/torture-s/pr60017.c.s @@ -33,7 +33,7 @@ main: # @main i32.load16_u $push0=, x+12($pop3):p2align=2 i32.const $push1=, 9 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr60454.c.s b/test/torture-s/pr60454.c.s index 1c5e939bf..be713b6d6 100644 --- a/test/torture-s/pr60454.c.s +++ b/test/torture-s/pr60454.c.s @@ -43,7 +43,7 @@ main: # @main i32.call $push1=, fake_swap32@FUNCTION, $pop0 i32.const $push2=, 2018934290 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr60960.c.s b/test/torture-s/pr60960.c.s index 4c890c792..1dbf6f963 100644 --- a/test/torture-s/pr60960.c.s +++ b/test/torture-s/pr60960.c.s @@ -169,7 +169,7 @@ main: # @main i32.or $push13=, $pop12, $pop6 i32.const $push54=, 33686018 i32.ne $push14=, $pop13, $pop54 - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#1: # %if.end i32.const $push77=, 5 i32.const $push76=, 5 @@ -208,7 +208,7 @@ main: # @main i32.or $push28=, $pop27, $pop21 i32.const $push66=, 33686018 i32.ne $push29=, $pop28, $pop66 - br_if $pop29, 0 # 0: down to label1 + br_if 0, $pop29 # 0: down to label1 # BB#2: # %if.end6 i32.const $push31=, 5 i32.const $push85=, 5 @@ -251,7 +251,7 @@ main: # @main i32.or $push50=, $pop49, $pop41 i32.const $push51=, 33686018 i32.ne $push52=, $pop50, $pop51 - br_if $pop52, 0 # 0: down to label2 + br_if 0, $pop52 # 0: down to label2 # BB#3: # %if.end11 i32.const $push53=, 0 i32.const $2=, 16 diff --git a/test/torture-s/pr61306-1.c.s b/test/torture-s/pr61306-1.c.s index 53ce0257e..fc127e3bf 100644 --- a/test/torture-s/pr61306-1.c.s +++ b/test/torture-s/pr61306-1.c.s @@ -40,7 +40,7 @@ main: # @main i32.call $push1=, fake_bswap32@FUNCTION, $pop0 i32.const $push2=, -121 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr61306-2.c.s b/test/torture-s/pr61306-2.c.s index 8e3379c8c..dfe7f13a0 100644 --- a/test/torture-s/pr61306-2.c.s +++ b/test/torture-s/pr61306-2.c.s @@ -42,7 +42,7 @@ main: # @main i32.call $push1=, fake_bswap32@FUNCTION, $pop0 i32.const $push2=, -8158591 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 return $pop4 diff --git a/test/torture-s/pr61306-3.c.s b/test/torture-s/pr61306-3.c.s index c24b30e83..d9d10e9ea 100644 --- a/test/torture-s/pr61306-3.c.s +++ b/test/torture-s/pr61306-3.c.s @@ -23,7 +23,7 @@ main: # @main i32.store $push6=, b($pop13), $pop5 i32.const $push7=, -1 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %if.end i32.const $push14=, 0 return $pop14 diff --git a/test/torture-s/pr61375.c.s b/test/torture-s/pr61375.c.s index cd836fe74..685b27a92 100644 --- a/test/torture-s/pr61375.c.s +++ b/test/torture-s/pr61375.c.s @@ -36,7 +36,7 @@ main: # @main i64.call $push3=, uint128_central_bitsi_ior@FUNCTION, $pop2, $pop1, $pop0 i64.const $push4=, 258 i64.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 return $pop6 diff --git a/test/torture-s/pr61673.c.s b/test/torture-s/pr61673.c.s index 29e220c4e..8f6cb34fc 100644 --- a/test/torture-s/pr61673.c.s +++ b/test/torture-s/pr61673.c.s @@ -10,11 +10,11 @@ bar: # @bar block i32.const $push0=, -121 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 84 i32.eq $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.then call abort@FUNCTION unreachable @@ -37,7 +37,7 @@ foo: # @foo tee_local $push4=, $0=, $pop0 i32.const $push1=, -1 i32.gt_s $push2=, $pop4, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %if.then i32.const $push3=, 0 i32.store8 $discard=, e($pop3), $0 @@ -61,7 +61,7 @@ baz: # @baz tee_local $push4=, $0=, $pop0 i32.const $push1=, -1 i32.gt_s $push2=, $pop4, $pop1 - br_if $pop2, 0 # 0: down to label2 + br_if 0, $pop2 # 0: down to label2 # BB#1: # %if.then i32.const $push3=, 0 i32.store8 $discard=, e($pop3), $0 @@ -89,7 +89,7 @@ main: # @main i32.const $push17=, 0 i32.load8_u $push2=, e($pop17) i32.ne $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label3 + br_if 0, $pop3 # 0: down to label3 # BB#1: # %if.end i32.const $push4=, main.c+1 call foo@FUNCTION, $pop4 @@ -98,7 +98,7 @@ main: # @main i32.load8_u $push5=, e($pop19) i32.const $push6=, 135 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label4 + br_if 0, $pop7 # 0: down to label4 # BB#2: # %if.end6 i32.const $push21=, 0 i32.const $push8=, 33 @@ -109,7 +109,7 @@ main: # @main i32.const $push20=, 0 i32.load8_u $push10=, e($pop20) i32.ne $push11=, $0, $pop10 - br_if $pop11, 0 # 0: down to label5 + br_if 0, $pop11 # 0: down to label5 # BB#3: # %if.end11 i32.const $push12=, main.c+1 call baz@FUNCTION, $pop12 @@ -118,7 +118,7 @@ main: # @main i32.load8_u $push13=, e($pop22) i32.const $push14=, 135 i32.ne $push15=, $pop13, $pop14 - br_if $pop15, 0 # 0: down to label6 + br_if 0, $pop15 # 0: down to label6 # BB#4: # %if.end16 i32.const $push16=, 0 return $pop16 diff --git a/test/torture-s/pr63302.c.s b/test/torture-s/pr63302.c.s index c025a2da8..ccf1fd52a 100644 --- a/test/torture-s/pr63302.c.s +++ b/test/torture-s/pr63302.c.s @@ -61,98 +61,98 @@ main: # @main i32.call $push0=, foo@FUNCTION, $pop52, $pop51 i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i64.const $push3=, 1 i64.const $push53=, 0 i32.call $push4=, foo@FUNCTION, $pop3, $pop53 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#2: # %lor.lhs.false3 i64.const $push5=, 2048 i64.const $push54=, 0 i32.call $push6=, foo@FUNCTION, $pop5, $pop54 i32.const $push7=, 1 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#3: # %lor.lhs.false6 i64.const $push9=, 2049 i64.const $push55=, 0 i32.call $push10=, foo@FUNCTION, $pop9, $pop55 - br_if $pop10, 0 # 0: down to label0 + br_if 0, $pop10 # 0: down to label0 # BB#4: # %lor.lhs.false9 i64.const $push56=, -9223372036854775808 i64.const $push11=, 0 i32.call $push12=, foo@FUNCTION, $pop56, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#5: # %lor.lhs.false12 i64.const $push58=, -9223372036854775808 i64.const $push57=, -1 i32.call $push13=, foo@FUNCTION, $pop58, $pop57 i32.const $push14=, 1 i32.ne $push15=, $pop13, $pop14 - br_if $pop15, 0 # 0: down to label0 + br_if 0, $pop15 # 0: down to label0 # BB#6: # %lor.lhs.false15 i64.const $push16=, -9223372036854775807 i64.const $push59=, -1 i32.call $push17=, foo@FUNCTION, $pop16, $pop59 - br_if $pop17, 0 # 0: down to label0 + br_if 0, $pop17 # 0: down to label0 # BB#7: # %lor.lhs.false18 i64.const $push18=, -9223372036854773760 i64.const $push60=, -1 i32.call $push19=, foo@FUNCTION, $pop18, $pop60 i32.const $push20=, 1 i32.ne $push21=, $pop19, $pop20 - br_if $pop21, 0 # 0: down to label0 + br_if 0, $pop21 # 0: down to label0 # BB#8: # %lor.lhs.false21 i64.const $push22=, -9223372036854773759 i64.const $push61=, -1 i32.call $push23=, foo@FUNCTION, $pop22, $pop61 - br_if $pop23, 0 # 0: down to label0 + br_if 0, $pop23 # 0: down to label0 # BB#9: # %if.end block i64.const $push24=, 0 i32.call $push25=, bar@FUNCTION, $pop24 i32.const $push26=, 1 i32.ne $push27=, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label1 + br_if 0, $pop27 # 0: down to label1 # BB#10: # %lor.lhs.false26 i64.const $push28=, 1 i32.call $push29=, bar@FUNCTION, $pop28 - br_if $pop29, 0 # 0: down to label1 + br_if 0, $pop29 # 0: down to label1 # BB#11: # %lor.lhs.false29 i64.const $push30=, 2048 i32.call $push31=, bar@FUNCTION, $pop30 i32.const $push32=, 1 i32.ne $push33=, $pop31, $pop32 - br_if $pop33, 0 # 0: down to label1 + br_if 0, $pop33 # 0: down to label1 # BB#12: # %lor.lhs.false32 i64.const $push34=, 2049 i32.call $push35=, bar@FUNCTION, $pop34 - br_if $pop35, 0 # 0: down to label1 + br_if 0, $pop35 # 0: down to label1 # BB#13: # %lor.lhs.false35 i64.const $push36=, 2147483648 i32.call $push37=, bar@FUNCTION, $pop36 - br_if $pop37, 0 # 0: down to label1 + br_if 0, $pop37 # 0: down to label1 # BB#14: # %lor.lhs.false38 i64.const $push38=, -2147483648 i32.call $push39=, bar@FUNCTION, $pop38 i32.const $push40=, 1 i32.ne $push41=, $pop39, $pop40 - br_if $pop41, 0 # 0: down to label1 + br_if 0, $pop41 # 0: down to label1 # BB#15: # %lor.lhs.false41 i64.const $push42=, -2147483647 i32.call $push43=, bar@FUNCTION, $pop42 - br_if $pop43, 0 # 0: down to label1 + br_if 0, $pop43 # 0: down to label1 # BB#16: # %lor.lhs.false44 i64.const $push44=, -2147481600 i32.call $push45=, bar@FUNCTION, $pop44 i32.const $push46=, 1 i32.ne $push47=, $pop45, $pop46 - br_if $pop47, 0 # 0: down to label1 + br_if 0, $pop47 # 0: down to label1 # BB#17: # %lor.lhs.false47 i64.const $push48=, -2147481599 i32.call $push49=, bar@FUNCTION, $pop48 - br_if $pop49, 0 # 0: down to label1 + br_if 0, $pop49 # 0: down to label1 # BB#18: # %if.end51 i32.const $push50=, 0 return $pop50 diff --git a/test/torture-s/pr63659.c.s b/test/torture-s/pr63659.c.s index b6c8ce751..04ee84719 100644 --- a/test/torture-s/pr63659.c.s +++ b/test/torture-s/pr63659.c.s @@ -13,7 +13,7 @@ main: # @main i32.load $push1=, a($pop12) i32.const $push26=, 0 i32.eq $push27=, $pop1, $pop26 - br_if $pop27, 0 # 0: down to label0 + br_if 0, $pop27 # 0: down to label0 # BB#1: # %for.cond.preheader i32.const $push14=, 0 i32.const $push13=, 0 @@ -32,7 +32,7 @@ main: # @main tee_local $push15=, $1=, $pop4 i32.const $push28=, 0 i32.eq $push29=, $pop15, $pop28 - br_if $pop29, 0 # 0: down to label1 + br_if 0, $pop29 # 0: down to label1 # BB#3: # %cond.false i32.const $push5=, -1 i32.rem_s $0=, $pop5, $1 @@ -52,7 +52,7 @@ main: # @main i32.load $push10=, b($pop20) i32.const $push19=, 255 i32.ne $push11=, $pop10, $pop19 - br_if $pop11, 0 # 0: down to label2 + br_if 0, $pop11 # 0: down to label2 # BB#5: # %if.end23 i32.const $push25=, 0 return $pop25 diff --git a/test/torture-s/pr7284-1.c.s b/test/torture-s/pr7284-1.c.s index c6f02e9b2..4e59047b9 100644 --- a/test/torture-s/pr7284-1.c.s +++ b/test/torture-s/pr7284-1.c.s @@ -31,7 +31,7 @@ main: # @main i32.and $push2=, $pop0, $pop1 i32.const $push3=, 128 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/printf-1.c.s b/test/torture-s/printf-1.c.s index 77d76eaad..2ef8aefd3 100644 --- a/test/torture-s/printf-1.c.s +++ b/test/torture-s/printf-1.c.s @@ -21,7 +21,7 @@ main: # @main block i32.const $push0=, 5 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.const $push33=, .Lstr i32.call $discard=, puts@FUNCTION, $pop33 @@ -30,7 +30,7 @@ main: # @main block i32.const $push3=, 6 i32.ne $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 # BB#2: # %if.end6 i32.const $push5=, 97 i32.call $discard=, putchar@FUNCTION, $pop5 @@ -39,7 +39,7 @@ main: # @main block i32.const $push7=, 1 i32.ne $push8=, $0, $pop7 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end16 i32.const $2=, __stack_pointer i32.load $2=, 0($2) @@ -75,7 +75,7 @@ main: # @main block i32.const $push10=, 5 i32.ne $push11=, $0, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.end21 i32.const $10=, __stack_pointer i32.load $10=, 0($10) @@ -111,7 +111,7 @@ main: # @main block i32.const $push13=, 6 i32.ne $push14=, $0, $pop13 - br_if $pop14, 0 # 0: down to label4 + br_if 0, $pop14 # 0: down to label4 # BB#5: # %if.end26 i32.const $18=, __stack_pointer i32.load $18=, 0($18) @@ -147,7 +147,7 @@ main: # @main block i32.const $push16=, 1 i32.ne $push17=, $0, $pop16 - br_if $pop17, 0 # 0: down to label5 + br_if 0, $pop17 # 0: down to label5 # BB#6: # %if.end31 i32.const $26=, __stack_pointer i32.load $26=, 0($26) @@ -181,7 +181,7 @@ main: # @main i32.const $33=, __stack_pointer i32.store $53=, 0($33), $53 block - br_if $0, 0 # 0: down to label6 + br_if 0, $0 # 0: down to label6 # BB#7: # %if.end36 i32.const $push19=, 120 i32.call $discard=, putchar@FUNCTION, $pop19 @@ -204,7 +204,7 @@ main: # @main block i32.const $push21=, 1 i32.ne $push22=, $0, $pop21 - br_if $pop22, 0 # 0: down to label7 + br_if 0, $pop22 # 0: down to label7 # BB#8: # %if.end41 i32.const $push23=, .L.str.1 i32.call $discard=, puts@FUNCTION, $pop23 @@ -227,7 +227,7 @@ main: # @main block i32.const $push25=, 7 i32.ne $push26=, $0, $pop25 - br_if $pop26, 0 # 0: down to label8 + br_if 0, $pop26 # 0: down to label8 # BB#9: # %if.end46 i32.const $42=, __stack_pointer i32.load $42=, 0($42) @@ -263,7 +263,7 @@ main: # @main block i32.const $push29=, 2 i32.ne $push30=, $0, $pop29 - br_if $pop30, 0 # 0: down to label9 + br_if 0, $pop30 # 0: down to label9 # BB#10: # %if.end51 i32.const $52=, 16 i32.add $53=, $53, $52 diff --git a/test/torture-s/printf-chk-1.c.s b/test/torture-s/printf-chk-1.c.s index 78bf72dce..af735ee23 100644 --- a/test/torture-s/printf-chk-1.c.s +++ b/test/torture-s/printf-chk-1.c.s @@ -19,7 +19,7 @@ __printf_chk: # @__printf_chk block i32.const $push5=, 0 i32.load $push0=, should_optimize($pop5) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end i32.const $push7=, 0 i32.const $push1=, 1 @@ -64,7 +64,7 @@ main: # @main i32.load $push1=, should_optimize($0) i32.const $push120=, 0 i32.eq $push121=, $pop1, $pop120 - br_if $pop121, 0 # 0: down to label1 + br_if 0, $pop121 # 0: down to label1 # BB#1: # %if.end i32.store $discard=, should_optimize($0), $0 i32.const $push63=, .L.str @@ -72,14 +72,14 @@ main: # @main block i32.const $push2=, 5 i32.ne $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label2 + br_if 0, $pop3 # 0: down to label2 # BB#2: # %if.end3 block i32.const $push64=, 0 i32.load $push4=, should_optimize($pop64) i32.const $push122=, 0 i32.eq $push123=, $pop4, $pop122 - br_if $pop123, 0 # 0: down to label3 + br_if 0, $pop123 # 0: down to label3 # BB#3: # %if.end6 i32.const $push67=, 0 i32.const $push5=, 1 @@ -91,7 +91,7 @@ main: # @main i32.load $push6=, should_optimize($pop65) i32.const $push124=, 0 i32.eq $push125=, $pop6, $pop124 - br_if $pop125, 0 # 0: down to label4 + br_if 0, $pop125 # 0: down to label4 # BB#4: # %if.end10 i32.const $push7=, 0 i32.const $push69=, 0 @@ -101,13 +101,13 @@ main: # @main block i32.const $push8=, 6 i32.ne $push9=, $0, $pop8 - br_if $pop9, 0 # 0: down to label5 + br_if 0, $pop9 # 0: down to label5 # BB#5: # %if.end14 block i32.load $push10=, should_optimize($1) i32.const $push126=, 0 i32.eq $push127=, $pop10, $pop126 - br_if $pop127, 0 # 0: down to label6 + br_if 0, $pop127 # 0: down to label6 # BB#6: # %if.end17 i32.const $push72=, 0 i32.const $push11=, 1 @@ -119,7 +119,7 @@ main: # @main i32.load $push12=, should_optimize($pop70) i32.const $push128=, 0 i32.eq $push129=, $pop12, $pop128 - br_if $pop129, 0 # 0: down to label7 + br_if 0, $pop129 # 0: down to label7 # BB#7: # %if.end21 i32.const $push75=, 0 i32.const $push74=, 0 @@ -128,14 +128,14 @@ main: # @main i32.call $1=, __printf_chk@FUNCTION, $0, $pop73 block i32.ne $push13=, $1, $0 - br_if $pop13, 0 # 0: down to label8 + br_if 0, $pop13 # 0: down to label8 # BB#8: # %if.end25 block i32.const $push76=, 0 i32.load $push14=, should_optimize($pop76) i32.const $push130=, 0 i32.eq $push131=, $pop14, $pop130 - br_if $pop131, 0 # 0: down to label9 + br_if 0, $pop131 # 0: down to label9 # BB#9: # %if.end28 i32.const $push79=, 0 i32.const $push15=, 1 @@ -147,7 +147,7 @@ main: # @main i32.load $push16=, should_optimize($pop77) i32.const $push132=, 0 i32.eq $push133=, $pop16, $pop132 - br_if $pop133, 0 # 0: down to label10 + br_if 0, $pop133 # 0: down to label10 # BB#10: # %if.end32 i32.const $push17=, 0 i32.const $push81=, 0 @@ -155,13 +155,13 @@ main: # @main i32.const $push80=, .L.str.3 i32.call $0=, __printf_chk@FUNCTION, $0, $pop80 block - br_if $0, 0 # 0: down to label11 + br_if 0, $0 # 0: down to label11 # BB#11: # %if.end36 block i32.load $push18=, should_optimize($1) i32.const $push134=, 0 i32.eq $push135=, $pop18, $pop134 - br_if $pop135, 0 # 0: down to label12 + br_if 0, $pop135 # 0: down to label12 # BB#12: # %if.end39 i32.const $push19=, 0 i32.const $push83=, 0 @@ -186,7 +186,7 @@ main: # @main i32.load $push21=, should_optimize($0) i32.const $push136=, 0 i32.eq $push137=, $pop21, $pop136 - br_if $pop137, 0 # 0: down to label13 + br_if 0, $pop137 # 0: down to label13 # BB#13: # %if.end43 i32.store $discard=, should_optimize($0), $0 i32.const $6=, __stack_pointer @@ -207,14 +207,14 @@ main: # @main block i32.const $push22=, 5 i32.ne $push23=, $0, $pop22 - br_if $pop23, 0 # 0: down to label14 + br_if 0, $pop23 # 0: down to label14 # BB#14: # %if.end47 block i32.const $push85=, 0 i32.load $push24=, should_optimize($pop85) i32.const $push138=, 0 i32.eq $push139=, $pop24, $pop138 - br_if $pop139, 0 # 0: down to label15 + br_if 0, $pop139 # 0: down to label15 # BB#15: # %if.end50 i32.const $push88=, 0 i32.const $push25=, 1 @@ -240,7 +240,7 @@ main: # @main i32.load $push27=, should_optimize($pop86) i32.const $push140=, 0 i32.eq $push141=, $pop27, $pop140 - br_if $pop141, 0 # 0: down to label16 + br_if 0, $pop141 # 0: down to label16 # BB#16: # %if.end54 i32.const $push28=, 0 i32.const $push90=, 0 @@ -263,13 +263,13 @@ main: # @main block i32.const $push29=, 6 i32.ne $push30=, $0, $pop29 - br_if $pop30, 0 # 0: down to label17 + br_if 0, $pop30 # 0: down to label17 # BB#17: # %if.end58 block i32.load $push31=, should_optimize($1) i32.const $push142=, 0 i32.eq $push143=, $pop31, $pop142 - br_if $pop143, 0 # 0: down to label18 + br_if 0, $pop143 # 0: down to label18 # BB#18: # %if.end61 i32.const $push93=, 0 i32.const $push32=, 1 @@ -295,7 +295,7 @@ main: # @main i32.load $push34=, should_optimize($pop91) i32.const $push144=, 0 i32.eq $push145=, $pop34, $pop144 - br_if $pop145, 0 # 0: down to label19 + br_if 0, $pop145 # 0: down to label19 # BB#19: # %if.end65 i32.const $push96=, 0 i32.const $push95=, 0 @@ -317,14 +317,14 @@ main: # @main i32.store $61=, 0($25), $61 block i32.ne $push35=, $1, $0 - br_if $pop35, 0 # 0: down to label20 + br_if 0, $pop35 # 0: down to label20 # BB#20: # %if.end69 block i32.const $push97=, 0 i32.load $push36=, should_optimize($pop97) i32.const $push146=, 0 i32.eq $push147=, $pop36, $pop146 - br_if $pop147, 0 # 0: down to label21 + br_if 0, $pop147 # 0: down to label21 # BB#21: # %if.end72 i32.const $push100=, 0 i32.const $push37=, 1 @@ -350,7 +350,7 @@ main: # @main i32.load $push39=, should_optimize($pop98) i32.const $push148=, 0 i32.eq $push149=, $pop39, $pop148 - br_if $pop149, 0 # 0: down to label22 + br_if 0, $pop149 # 0: down to label22 # BB#22: # %if.end76 i32.const $push40=, 0 i32.const $push102=, 0 @@ -371,13 +371,13 @@ main: # @main i32.const $33=, __stack_pointer i32.store $61=, 0($33), $61 block - br_if $0, 0 # 0: down to label23 + br_if 0, $0 # 0: down to label23 # BB#23: # %if.end80 block i32.load $push41=, should_optimize($1) i32.const $push150=, 0 i32.eq $push151=, $pop41, $pop150 - br_if $pop151, 0 # 0: down to label24 + br_if 0, $pop151 # 0: down to label24 # BB#24: # %if.end83 i32.const $push105=, 0 i32.const $push42=, 1 @@ -403,7 +403,7 @@ main: # @main i32.load $push44=, should_optimize($pop103) i32.const $push152=, 0 i32.eq $push153=, $pop44, $pop152 - br_if $pop153, 0 # 0: down to label25 + br_if 0, $pop153 # 0: down to label25 # BB#25: # %if.end87 i32.const $push108=, 0 i32.const $push107=, 0 @@ -425,14 +425,14 @@ main: # @main i32.store $61=, 0($41), $61 block i32.ne $push45=, $1, $0 - br_if $pop45, 0 # 0: down to label26 + br_if 0, $pop45 # 0: down to label26 # BB#26: # %if.end91 block i32.const $push109=, 0 i32.load $push46=, should_optimize($pop109) i32.const $push154=, 0 i32.eq $push155=, $pop46, $pop154 - br_if $pop155, 0 # 0: down to label27 + br_if 0, $pop155 # 0: down to label27 # BB#27: # %if.end94 i32.const $push112=, 0 i32.const $push47=, 1 @@ -458,7 +458,7 @@ main: # @main i32.load $push49=, should_optimize($pop110) i32.const $push156=, 0 i32.eq $push157=, $pop49, $pop156 - br_if $pop157, 0 # 0: down to label28 + br_if 0, $pop157 # 0: down to label28 # BB#28: # %if.end98 i32.const $push50=, 0 i32.const $push114=, 0 @@ -481,13 +481,13 @@ main: # @main block i32.const $push51=, 7 i32.ne $push52=, $0, $pop51 - br_if $pop52, 0 # 0: down to label29 + br_if 0, $pop52 # 0: down to label29 # BB#29: # %if.end102 block i32.load $push53=, should_optimize($1) i32.const $push158=, 0 i32.eq $push159=, $pop53, $pop158 - br_if $pop159, 0 # 0: down to label30 + br_if 0, $pop159 # 0: down to label30 # BB#30: # %if.end105 i32.const $50=, __stack_pointer i32.load $50=, 0($50) @@ -511,7 +511,7 @@ main: # @main i32.load $push56=, should_optimize($0) i32.const $push160=, 0 i32.eq $push161=, $pop56, $pop160 - br_if $pop161, 0 # 0: down to label31 + br_if 0, $pop161 # 0: down to label31 # BB#31: # %if.end109 i32.const $54=, __stack_pointer i32.load $54=, 0($54) @@ -532,14 +532,14 @@ main: # @main block i32.const $push58=, 2 i32.ne $push59=, $0, $pop58 - br_if $pop59, 0 # 0: down to label32 + br_if 0, $pop59 # 0: down to label32 # BB#32: # %if.end113 block i32.const $push118=, 0 i32.load $push60=, should_optimize($pop118) i32.const $push162=, 0 i32.eq $push163=, $pop60, $pop162 - br_if $pop163, 0 # 0: down to label33 + br_if 0, $pop163 # 0: down to label33 # BB#33: # %if.end116 i32.const $push119=, 0 i32.const $60=, 16 diff --git a/test/torture-s/pta-field-1.c.s b/test/torture-s/pta-field-1.c.s index 0a4da8f4c..856eff333 100644 --- a/test/torture-s/pta-field-1.c.s +++ b/test/torture-s/pta-field-1.c.s @@ -85,7 +85,7 @@ main: # @main call bar@FUNCTION, $5 block i32.load $push4=, 0($6) - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 i32.const $2=, 16 diff --git a/test/torture-s/pta-field-2.c.s b/test/torture-s/pta-field-2.c.s index 66e24b642..24c928c03 100644 --- a/test/torture-s/pta-field-2.c.s +++ b/test/torture-s/pta-field-2.c.s @@ -85,7 +85,7 @@ main: # @main call bar@FUNCTION, $0 block i32.load $push4=, 4($6) - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 i32.const $3=, 16 diff --git a/test/torture-s/regstack-1.c.s b/test/torture-s/regstack-1.c.s index a941c6d04..f054074cf 100644 --- a/test/torture-s/regstack-1.c.s +++ b/test/torture-s/regstack-1.c.s @@ -254,42 +254,42 @@ main: # @main i64.const $push67=, 0 i64.const $push50=, 4612354521497075712 i32.call $push51=, __netf2@FUNCTION, $15, $14, $pop67, $pop50 - br_if $pop51, 0 # 0: down to label0 + br_if 0, $pop51 # 0: down to label0 # BB#1: # %entry i64.const $push123=, 0 i64.const $push52=, 4613097791357452288 i32.call $push53=, __netf2@FUNCTION, $13, $12, $pop123, $pop52 - br_if $pop53, 0 # 0: down to label0 + br_if 0, $pop53 # 0: down to label0 # BB#2: # %entry i64.const $push124=, 0 i64.const $push54=, 4613150567915585536 i32.call $push55=, __netf2@FUNCTION, $5, $4, $pop124, $pop54 - br_if $pop55, 0 # 0: down to label0 + br_if 0, $pop55 # 0: down to label0 # BB#3: # %entry i64.const $push125=, 0 i64.const $push56=, 4613517804799262720 i32.call $push57=, __netf2@FUNCTION, $11, $16, $pop125, $pop56 - br_if $pop57, 0 # 0: down to label0 + br_if 0, $pop57 # 0: down to label0 # BB#4: # %entry i64.const $push126=, 0 i64.const $push58=, 4613503511148101632 i32.call $push59=, __netf2@FUNCTION, $17, $2, $pop126, $pop58 - br_if $pop59, 0 # 0: down to label0 + br_if 0, $pop59 # 0: down to label0 # BB#5: # %entry i64.const $push127=, 0 i64.const $push60=, 4613110985496985600 i32.call $push61=, __netf2@FUNCTION, $8, $9, $pop127, $pop60 - br_if $pop61, 0 # 0: down to label0 + br_if 0, $pop61 # 0: down to label0 # BB#6: # %entry i64.const $push128=, 0 i64.const $push62=, 4612961451915608064 i32.call $push63=, __netf2@FUNCTION, $1, $0, $pop128, $pop62 - br_if $pop63, 0 # 0: down to label0 + br_if 0, $pop63 # 0: down to label0 # BB#7: # %entry i64.const $push129=, 0 i64.const $push64=, 4613040616752807936 i32.call $push65=, __eqtf2@FUNCTION, $7, $6, $pop129, $pop64 - br_if $pop65, 0 # 0: down to label0 + br_if 0, $pop65 # 0: down to label0 # BB#8: # %if.end i32.const $push66=, 0 call exit@FUNCTION, $pop66 diff --git a/test/torture-s/restrict-1.c.s b/test/torture-s/restrict-1.c.s index 3ff468682..833ded953 100644 --- a/test/torture-s/restrict-1.c.s +++ b/test/torture-s/restrict-1.c.s @@ -35,7 +35,7 @@ bar: # @bar block i32.const $push4=, 2 i32.ne $push5=, $1, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end return .LBB1_2: # %if.then diff --git a/test/torture-s/scope-1.c.s b/test/torture-s/scope-1.c.s index bad8aa5d2..b534c44bd 100644 --- a/test/torture-s/scope-1.c.s +++ b/test/torture-s/scope-1.c.s @@ -13,7 +13,7 @@ f: # @f i32.load $push1=, v($pop0) i32.const $push2=, 3 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return $0 .LBB0_2: # %if.then diff --git a/test/torture-s/simd-1.c.s b/test/torture-s/simd-1.c.s index ca3dd42f2..89723113e 100644 --- a/test/torture-s/simd-1.c.s +++ b/test/torture-s/simd-1.c.s @@ -9,16 +9,16 @@ verify: # @verify # BB#0: # %entry block i32.ne $push0=, $0, $4 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %entry i32.ne $push1=, $1, $5 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#2: # %entry i32.ne $push2=, $2, $6 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#3: # %entry i32.ne $push3=, $3, $7 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#4: # %if.end return .LBB0_5: # %if.then @@ -80,19 +80,19 @@ main: # @main i32.store $push9=, res($pop107):p2align=4, $7 i32.const $push10=, 160 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#1: # %entry i32.const $push12=, 113 i32.ne $push13=, $4, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %entry i32.const $push14=, 170 i32.ne $push15=, $5, $pop14 - br_if $pop15, 0 # 0: down to label1 + br_if 0, $pop15 # 0: down to label1 # BB#3: # %entry i32.const $push16=, 230 i32.ne $push17=, $8, $pop16 - br_if $pop17, 0 # 0: down to label1 + br_if 0, $pop17 # 0: down to label1 # BB#4: # %verify.exit i32.const $push22=, 0 i32.mul $push21=, $2, $0 @@ -117,19 +117,19 @@ main: # @main block i32.const $push23=, 1500 i32.ne $push24=, $4, $pop23 - br_if $pop24, 0 # 0: down to label2 + br_if 0, $pop24 # 0: down to label2 # BB#5: # %verify.exit i32.const $push25=, 1300 i32.ne $push26=, $5, $pop25 - br_if $pop26, 0 # 0: down to label2 + br_if 0, $pop26 # 0: down to label2 # BB#6: # %verify.exit i32.const $push27=, 3000 i32.ne $push28=, $6, $pop27 - br_if $pop28, 0 # 0: down to label2 + br_if 0, $pop28 # 0: down to label2 # BB#7: # %verify.exit i32.const $push29=, 6000 i32.ne $push30=, $7, $pop29 - br_if $pop30, 0 # 0: down to label2 + br_if 0, $pop30 # 0: down to label2 # BB#8: # %verify.exit9 i32.div_s $4=, $11, $12 i32.div_s $5=, $9, $10 @@ -154,19 +154,19 @@ main: # @main block i32.const $push33=, 15 i32.ne $push34=, $7, $pop33 - br_if $pop34, 0 # 0: down to label3 + br_if 0, $pop34 # 0: down to label3 # BB#9: # %verify.exit9 i32.const $push140=, 7 i32.ne $push35=, $6, $pop140 - br_if $pop35, 0 # 0: down to label3 + br_if 0, $pop35 # 0: down to label3 # BB#10: # %verify.exit9 i32.const $push141=, 7 i32.ne $push36=, $5, $pop141 - br_if $pop36, 0 # 0: down to label3 + br_if 0, $pop36 # 0: down to label3 # BB#11: # %verify.exit9 i32.const $push37=, 6 i32.ne $push38=, $4, $pop37 - br_if $pop38, 0 # 0: down to label3 + br_if 0, $pop38 # 0: down to label3 # BB#12: # %verify.exit18 i32.const $push43=, 0 i32.and $push42=, $2, $0 @@ -191,19 +191,19 @@ main: # @main block i32.const $push44=, 2 i32.ne $push45=, $4, $pop44 - br_if $pop45, 0 # 0: down to label4 + br_if 0, $pop45 # 0: down to label4 # BB#13: # %verify.exit18 i32.const $push46=, 4 i32.ne $push47=, $5, $pop46 - br_if $pop47, 0 # 0: down to label4 + br_if 0, $pop47 # 0: down to label4 # BB#14: # %verify.exit18 i32.const $push48=, 20 i32.ne $push49=, $6, $pop48 - br_if $pop49, 0 # 0: down to label4 + br_if 0, $pop49 # 0: down to label4 # BB#15: # %verify.exit18 i32.const $push50=, 8 i32.ne $push51=, $7, $pop50 - br_if $pop51, 0 # 0: down to label4 + br_if 0, $pop51 # 0: down to label4 # BB#16: # %verify.exit27 i32.const $push56=, 0 i32.or $push55=, $2, $0 @@ -228,19 +228,19 @@ main: # @main block i32.const $push57=, 158 i32.ne $push58=, $4, $pop57 - br_if $pop58, 0 # 0: down to label5 + br_if 0, $pop58 # 0: down to label5 # BB#17: # %verify.exit27 i32.const $push59=, 109 i32.ne $push60=, $5, $pop59 - br_if $pop60, 0 # 0: down to label5 + br_if 0, $pop60 # 0: down to label5 # BB#18: # %verify.exit27 i32.const $push61=, 150 i32.ne $push62=, $6, $pop61 - br_if $pop62, 0 # 0: down to label5 + br_if 0, $pop62 # 0: down to label5 # BB#19: # %verify.exit27 i32.const $push63=, 222 i32.ne $push64=, $7, $pop63 - br_if $pop64, 0 # 0: down to label5 + br_if 0, $pop64 # 0: down to label5 # BB#20: # %verify.exit36 i32.const $push69=, 0 i32.xor $push68=, $0, $2 @@ -265,19 +265,19 @@ main: # @main block i32.const $push70=, 156 i32.ne $push71=, $2, $pop70 - br_if $pop71, 0 # 0: down to label6 + br_if 0, $pop71 # 0: down to label6 # BB#21: # %verify.exit36 i32.const $push72=, 105 i32.ne $push73=, $3, $pop72 - br_if $pop73, 0 # 0: down to label6 + br_if 0, $pop73 # 0: down to label6 # BB#22: # %verify.exit36 i32.const $push74=, 130 i32.ne $push75=, $4, $pop74 - br_if $pop75, 0 # 0: down to label6 + br_if 0, $pop75 # 0: down to label6 # BB#23: # %verify.exit36 i32.const $push76=, 214 i32.ne $push77=, $5, $pop76 - br_if $pop77, 0 # 0: down to label6 + br_if 0, $pop77 # 0: down to label6 # BB#24: # %verify.exit45 i32.const $push81=, 0 i32.const $push173=, 0 @@ -306,19 +306,19 @@ main: # @main block i32.const $push83=, -150 i32.ne $push84=, $3, $pop83 - br_if $pop84, 0 # 0: down to label7 + br_if 0, $pop84 # 0: down to label7 # BB#25: # %verify.exit45 i32.const $push85=, -100 i32.ne $push86=, $2, $pop85 - br_if $pop86, 0 # 0: down to label7 + br_if 0, $pop86 # 0: down to label7 # BB#26: # %verify.exit45 i32.const $push87=, -150 i32.ne $push88=, $4, $pop87 - br_if $pop88, 0 # 0: down to label7 + br_if 0, $pop88 # 0: down to label7 # BB#27: # %verify.exit45 i32.const $push89=, -200 i32.ne $push90=, $5, $pop89 - br_if $pop90, 0 # 0: down to label7 + br_if 0, $pop90 # 0: down to label7 # BB#28: # %verify.exit54 i32.const $push96=, 0 i32.const $push183=, 0 @@ -347,19 +347,19 @@ main: # @main block i32.const $push98=, 150 i32.ne $push99=, $0, $pop98 - br_if $pop99, 0 # 0: down to label8 + br_if 0, $pop99 # 0: down to label8 # BB#29: # %verify.exit54 i32.const $push100=, -101 i32.ne $push101=, $1, $pop100 - br_if $pop101, 0 # 0: down to label8 + br_if 0, $pop101 # 0: down to label8 # BB#30: # %verify.exit54 i32.const $push102=, -151 i32.ne $push103=, $3, $pop102 - br_if $pop103, 0 # 0: down to label8 + br_if 0, $pop103 # 0: down to label8 # BB#31: # %verify.exit54 i32.const $push104=, -201 i32.ne $push105=, $2, $pop104 - br_if $pop105, 0 # 0: down to label8 + br_if 0, $pop105 # 0: down to label8 # BB#32: # %verify.exit63 i32.const $push106=, 0 call exit@FUNCTION, $pop106 diff --git a/test/torture-s/simd-2.c.s b/test/torture-s/simd-2.c.s index b4a63db79..2a49fcb39 100644 --- a/test/torture-s/simd-2.c.s +++ b/test/torture-s/simd-2.c.s @@ -9,16 +9,16 @@ verify: # @verify # BB#0: # %entry block i32.ne $push0=, $0, $4 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %entry i32.ne $push1=, $1, $5 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#2: # %entry i32.ne $push2=, $2, $6 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#3: # %entry i32.ne $push3=, $3, $7 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#4: # %if.end return .LBB0_5: # %if.then @@ -118,25 +118,25 @@ main: # @main i32.and $push18=, $pop17, $pop224 i32.const $push19=, 160 i32.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label1 + br_if 0, $pop20 # 0: down to label1 # BB#1: # %entry i32.const $push260=, 65535 i32.and $push21=, $12, $pop260 i32.const $push22=, 113 i32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label1 + br_if 0, $pop23 # 0: down to label1 # BB#2: # %entry i32.const $push261=, 65535 i32.and $push24=, $13, $pop261 i32.const $push25=, 170 i32.ne $push26=, $pop24, $pop25 - br_if $pop26, 0 # 0: down to label1 + br_if 0, $pop26 # 0: down to label1 # BB#3: # %entry i32.const $push262=, 65535 i32.and $push27=, $16, $pop262 i32.const $push28=, 230 i32.ne $push29=, $pop27, $pop28 - br_if $pop29, 0 # 0: down to label1 + br_if 0, $pop29 # 0: down to label1 # BB#4: # %verify.exit i32.const $push38=, 0 i32.mul $push37=, $6, $0 @@ -183,25 +183,25 @@ main: # @main i32.and $push42=, $12, $pop263 i32.const $push43=, 1500 i32.ne $push44=, $pop42, $pop43 - br_if $pop44, 0 # 0: down to label2 + br_if 0, $pop44 # 0: down to label2 # BB#5: # %verify.exit i32.const $push279=, 65535 i32.and $push45=, $13, $pop279 i32.const $push46=, 1300 i32.ne $push47=, $pop45, $pop46 - br_if $pop47, 0 # 0: down to label2 + br_if 0, $pop47 # 0: down to label2 # BB#6: # %verify.exit i32.const $push280=, 65535 i32.and $push48=, $14, $pop280 i32.const $push49=, 3000 i32.ne $push50=, $pop48, $pop49 - br_if $pop50, 0 # 0: down to label2 + br_if 0, $pop50 # 0: down to label2 # BB#7: # %verify.exit i32.const $push281=, 65535 i32.and $push51=, $15, $pop281 i32.const $push52=, 6000 i32.ne $push53=, $pop51, $pop52 - br_if $pop53, 0 # 0: down to label2 + br_if 0, $pop53 # 0: down to label2 # BB#8: # %verify.exit40 i32.const $push54=, 16 i32.shl $push57=, $22, $pop54 @@ -312,25 +312,25 @@ main: # @main i32.and $push92=, $19, $pop282 i32.const $push93=, 15 i32.ne $push94=, $pop92, $pop93 - br_if $pop94, 0 # 0: down to label3 + br_if 0, $pop94 # 0: down to label3 # BB#9: # %verify.exit40 i32.const $push330=, 65535 i32.and $push95=, $17, $pop330 i32.const $push329=, 7 i32.ne $push96=, $pop95, $pop329 - br_if $pop96, 0 # 0: down to label3 + br_if 0, $pop96 # 0: down to label3 # BB#10: # %verify.exit40 i32.const $push332=, 65535 i32.and $push97=, $18, $pop332 i32.const $push331=, 7 i32.ne $push98=, $pop97, $pop331 - br_if $pop98, 0 # 0: down to label3 + br_if 0, $pop98 # 0: down to label3 # BB#11: # %verify.exit40 i32.const $push333=, 65535 i32.and $push99=, $16, $pop333 i32.const $push100=, 6 i32.ne $push101=, $pop99, $pop100 - br_if $pop101, 0 # 0: down to label3 + br_if 0, $pop101 # 0: down to label3 # BB#12: # %verify.exit49 i32.const $push110=, 0 i32.and $push109=, $6, $0 @@ -377,25 +377,25 @@ main: # @main i32.and $push114=, $12, $pop334 i32.const $push115=, 2 i32.ne $push116=, $pop114, $pop115 - br_if $pop116, 0 # 0: down to label4 + br_if 0, $pop116 # 0: down to label4 # BB#13: # %verify.exit49 i32.const $push350=, 65535 i32.and $push117=, $13, $pop350 i32.const $push118=, 4 i32.ne $push119=, $pop117, $pop118 - br_if $pop119, 0 # 0: down to label4 + br_if 0, $pop119 # 0: down to label4 # BB#14: # %verify.exit49 i32.const $push351=, 65535 i32.and $push120=, $14, $pop351 i32.const $push121=, 20 i32.ne $push122=, $pop120, $pop121 - br_if $pop122, 0 # 0: down to label4 + br_if 0, $pop122 # 0: down to label4 # BB#15: # %verify.exit49 i32.const $push352=, 65535 i32.and $push123=, $15, $pop352 i32.const $push124=, 8 i32.ne $push125=, $pop123, $pop124 - br_if $pop125, 0 # 0: down to label4 + br_if 0, $pop125 # 0: down to label4 # BB#16: # %verify.exit58 i32.const $push134=, 0 i32.or $push133=, $6, $0 @@ -442,25 +442,25 @@ main: # @main i32.and $push138=, $12, $pop353 i32.const $push139=, 158 i32.ne $push140=, $pop138, $pop139 - br_if $pop140, 0 # 0: down to label5 + br_if 0, $pop140 # 0: down to label5 # BB#17: # %verify.exit58 i32.const $push369=, 65535 i32.and $push141=, $13, $pop369 i32.const $push142=, 109 i32.ne $push143=, $pop141, $pop142 - br_if $pop143, 0 # 0: down to label5 + br_if 0, $pop143 # 0: down to label5 # BB#18: # %verify.exit58 i32.const $push370=, 65535 i32.and $push144=, $14, $pop370 i32.const $push145=, 150 i32.ne $push146=, $pop144, $pop145 - br_if $pop146, 0 # 0: down to label5 + br_if 0, $pop146 # 0: down to label5 # BB#19: # %verify.exit58 i32.const $push371=, 65535 i32.and $push147=, $15, $pop371 i32.const $push148=, 222 i32.ne $push149=, $pop147, $pop148 - br_if $pop149, 0 # 0: down to label5 + br_if 0, $pop149 # 0: down to label5 # BB#20: # %verify.exit67 i32.const $push158=, 0 i32.xor $push157=, $0, $6 @@ -507,25 +507,25 @@ main: # @main i32.and $push162=, $6, $pop372 i32.const $push163=, 156 i32.ne $push164=, $pop162, $pop163 - br_if $pop164, 0 # 0: down to label6 + br_if 0, $pop164 # 0: down to label6 # BB#21: # %verify.exit67 i32.const $push388=, 65535 i32.and $push165=, $7, $pop388 i32.const $push166=, 105 i32.ne $push167=, $pop165, $pop166 - br_if $pop167, 0 # 0: down to label6 + br_if 0, $pop167 # 0: down to label6 # BB#22: # %verify.exit67 i32.const $push389=, 65535 i32.and $push168=, $12, $pop389 i32.const $push169=, 130 i32.ne $push170=, $pop168, $pop169 - br_if $pop170, 0 # 0: down to label6 + br_if 0, $pop170 # 0: down to label6 # BB#23: # %verify.exit67 i32.const $push390=, 65535 i32.and $push171=, $8, $pop390 i32.const $push172=, 214 i32.ne $push173=, $pop171, $pop172 - br_if $pop173, 0 # 0: down to label6 + br_if 0, $pop173 # 0: down to label6 # BB#24: # %verify.exit76 i32.const $push177=, 0 i32.const $push414=, 0 @@ -580,25 +580,25 @@ main: # @main i32.and $push186=, $11, $pop391 i32.const $push187=, 65386 i32.ne $push188=, $pop186, $pop187 - br_if $pop188, 0 # 0: down to label7 + br_if 0, $pop188 # 0: down to label7 # BB#25: # %verify.exit76 i32.const $push415=, 65535 i32.and $push189=, $10, $pop415 i32.const $push190=, 65436 i32.ne $push191=, $pop189, $pop190 - br_if $pop191, 0 # 0: down to label7 + br_if 0, $pop191 # 0: down to label7 # BB#26: # %verify.exit76 i32.const $push416=, 65535 i32.and $push192=, $9, $pop416 i32.const $push193=, 65386 i32.ne $push194=, $pop192, $pop193 - br_if $pop194, 0 # 0: down to label7 + br_if 0, $pop194 # 0: down to label7 # BB#27: # %verify.exit76 i32.const $push417=, 65535 i32.and $push195=, $8, $pop417 i32.const $push196=, 65336 i32.ne $push197=, $pop195, $pop196 - br_if $pop197, 0 # 0: down to label7 + br_if 0, $pop197 # 0: down to label7 # BB#28: # %verify.exit85 i32.const $push207=, 0 i32.const $push201=, -1 @@ -653,25 +653,25 @@ main: # @main i32.and $push211=, $0, $pop418 i32.const $push212=, 65385 i32.ne $push213=, $pop211, $pop212 - br_if $pop213, 0 # 0: down to label8 + br_if 0, $pop213 # 0: down to label8 # BB#29: # %verify.exit85 i32.const $push441=, 65535 i32.and $push214=, $1, $pop441 i32.const $push215=, 65435 i32.ne $push216=, $pop214, $pop215 - br_if $pop216, 0 # 0: down to label8 + br_if 0, $pop216 # 0: down to label8 # BB#30: # %verify.exit85 i32.const $push442=, 65535 i32.and $push217=, $11, $pop442 i32.const $push218=, 65385 i32.ne $push219=, $pop217, $pop218 - br_if $pop219, 0 # 0: down to label8 + br_if 0, $pop219 # 0: down to label8 # BB#31: # %verify.exit85 i32.const $push443=, 65535 i32.and $push220=, $2, $pop443 i32.const $push221=, 65335 i32.ne $push222=, $pop220, $pop221 - br_if $pop222, 0 # 0: down to label8 + br_if 0, $pop222 # 0: down to label8 # BB#32: # %verify.exit94 i32.const $push223=, 0 call exit@FUNCTION, $pop223 diff --git a/test/torture-s/simd-5.c.s b/test/torture-s/simd-5.c.s index 8ba2ba69e..10462e67d 100644 --- a/test/torture-s/simd-5.c.s +++ b/test/torture-s/simd-5.c.s @@ -198,7 +198,7 @@ main: # @main i32.const $push13=, 0 i64.load $push1=, w3($pop13) i64.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end block i32.const $push16=, 0 @@ -206,7 +206,7 @@ main: # @main i32.const $push15=, 0 i64.load $push4=, w4($pop15) i64.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 # BB#2: # %if.end4 block i32.const $push18=, 0 @@ -214,7 +214,7 @@ main: # @main i32.const $push17=, 0 i64.load $push7=, z3($pop17) i64.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label2 + br_if 0, $pop8 # 0: down to label2 # BB#3: # %if.end8 block i32.const $push20=, 0 @@ -222,7 +222,7 @@ main: # @main i32.const $push19=, 0 i64.load $push10=, z4($pop19) i64.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label3 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.end12 i32.const $push12=, 0 return $pop12 diff --git a/test/torture-s/stdarg-1.c.s b/test/torture-s/stdarg-1.c.s index dda946f9c..7e4e3db22 100644 --- a/test/torture-s/stdarg-1.c.s +++ b/test/torture-s/stdarg-1.c.s @@ -18,7 +18,7 @@ foo: # @foo block i32.const $push0=, 5 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %sw.bb i32.load $push2=, 12($5) i32.const $push3=, 3 @@ -58,11 +58,11 @@ bar: # @bar block i32.const $push0=, 16392 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label3 + br_if 0, $pop1 # 0: down to label3 # BB#1: # %entry i32.const $push2=, 16390 i32.ne $push3=, $0, $pop2 - br_if $pop3, 1 # 1: down to label2 + br_if 1, $pop3 # 1: down to label2 # BB#2: # %if.then i32.const $push60=, 0 i32.const $push59=, 0 @@ -79,7 +79,7 @@ bar: # @bar f64.load $push44=, 0($1) f64.const $push45=, 0x1.1p4 f64.ne $push46=, $pop44, $pop45 - br_if $pop46, 0 # 0: down to label4 + br_if 0, $pop46 # 0: down to label4 # BB#3: # %lor.lhs.false i32.const $push63=, 0 i32.const $push62=, 0 @@ -95,7 +95,7 @@ bar: # @bar i32.load $push54=, 0($1) i32.const $push55=, 129 i32.eq $push56=, $pop54, $pop55 - br_if $pop56, 2 # 2: down to label2 + br_if 2, $pop56 # 2: down to label2 .LBB1_4: # %if.then3 end_block # label4: call abort@FUNCTION @@ -116,7 +116,7 @@ bar: # @bar i64.load $push10=, 0($3) i64.const $push11=, 14 i64.ne $push12=, $pop10, $pop11 - br_if $pop12, 1 # 1: down to label1 + br_if 1, $pop12 # 1: down to label1 # BB#6: # %lor.lhs.false7 i32.const $push72=, 0 i32.load $push13=, pap($pop72) @@ -139,7 +139,7 @@ bar: # @bar i64.const $push24=, 0 i64.const $push23=, 4613381465357418496 i32.call $push25=, __netf2@FUNCTION, $2, $pop22, $pop24, $pop23 - br_if $pop25, 1 # 1: down to label1 + br_if 1, $pop25 # 1: down to label1 # BB#7: # %lor.lhs.false9 i32.const $push26=, 0 i32.load $1=, pap($pop26) @@ -155,7 +155,7 @@ bar: # @bar i32.load $push34=, 0($3) i32.const $push35=, 17 i32.ne $push36=, $pop34, $pop35 - br_if $pop36, 1 # 1: down to label1 + br_if 1, $pop36 # 1: down to label1 .LBB1_8: # %if.end14 end_block # label2: i32.const $push57=, 0 @@ -231,11 +231,11 @@ f2: # @f2 tee_local $push122=, $4=, $pop0 i32.const $push2=, 16392 i32.eq $push3=, $pop122, $pop2 - br_if $pop3, 0 # 0: down to label7 + br_if 0, $pop3 # 0: down to label7 # BB#1: # %entry i32.const $push4=, 16390 i32.ne $push5=, $4, $pop4 - br_if $pop5, 1 # 1: down to label6 + br_if 1, $pop5 # 1: down to label6 # BB#2: # %if.then.i i32.const $push126=, 0 i32.const $push125=, 0 @@ -252,7 +252,7 @@ f2: # @f2 f64.load $push45=, 0($3) f64.const $push46=, 0x1.1p4 f64.ne $push47=, $pop45, $pop46 - br_if $pop47, 0 # 0: down to label8 + br_if 0, $pop47 # 0: down to label8 # BB#3: # %lor.lhs.false.i i32.const $push129=, 0 i32.const $push128=, 0 @@ -268,7 +268,7 @@ f2: # @f2 i32.load $push55=, 0($3) i32.const $push56=, 129 i32.eq $push57=, $pop55, $pop56 - br_if $pop57, 2 # 2: down to label6 + br_if 2, $pop57 # 2: down to label6 .LBB4_4: # %if.then3.i end_block # label8: call abort@FUNCTION @@ -289,7 +289,7 @@ f2: # @f2 i64.load $push12=, 0($5) i64.const $push13=, 14 i64.ne $push14=, $pop12, $pop13 - br_if $pop14, 1 # 1: down to label5 + br_if 1, $pop14 # 1: down to label5 # BB#6: # %lor.lhs.false7.i i32.const $push138=, 0 i32.load $push15=, pap($pop138) @@ -312,7 +312,7 @@ f2: # @f2 i64.const $push26=, 0 i64.const $push25=, 4613381465357418496 i32.call $push27=, __netf2@FUNCTION, $2, $pop24, $pop26, $pop25 - br_if $pop27, 1 # 1: down to label5 + br_if 1, $pop27 # 1: down to label5 # BB#7: # %lor.lhs.false9.i i32.const $push140=, 0 i32.load $3=, pap($pop140) @@ -328,7 +328,7 @@ f2: # @f2 i32.load $push35=, 0($5) i32.const $push36=, 17 i32.ne $push37=, $pop35, $pop36 - br_if $pop37, 1 # 1: down to label5 + br_if 1, $pop37 # 1: down to label5 .LBB4_8: # %bar.exit end_block # label6: i32.load $3=, 12($9) @@ -351,11 +351,11 @@ f2: # @f2 tee_local $push141=, $4=, $pop64 i32.const $push65=, 16392 i32.eq $push66=, $pop141, $pop65 - br_if $pop66, 0 # 0: down to label11 + br_if 0, $pop66 # 0: down to label11 # BB#9: # %bar.exit i32.const $push67=, 16390 i32.ne $push68=, $4, $pop67 - br_if $pop68, 1 # 1: down to label10 + br_if 1, $pop68 # 1: down to label10 # BB#10: # %if.then.i4 i32.const $push147=, 0 i32.const $push146=, 0 @@ -372,7 +372,7 @@ f2: # @f2 f64.load $push108=, 0($3) f64.const $push109=, 0x1.1p4 f64.ne $push110=, $pop108, $pop109 - br_if $pop110, 0 # 0: down to label12 + br_if 0, $pop110 # 0: down to label12 # BB#11: # %lor.lhs.false.i6 i32.const $push150=, 0 i32.const $push149=, 0 @@ -388,7 +388,7 @@ f2: # @f2 i32.load $push118=, 0($3) i32.const $push119=, 129 i32.eq $push120=, $pop118, $pop119 - br_if $pop120, 2 # 2: down to label10 + br_if 2, $pop120 # 2: down to label10 .LBB4_12: # %if.then3.i7 end_block # label12: call abort@FUNCTION @@ -409,7 +409,7 @@ f2: # @f2 i64.load $push75=, 0($5) i64.const $push76=, 14 i64.ne $push77=, $pop75, $pop76 - br_if $pop77, 1 # 1: down to label9 + br_if 1, $pop77 # 1: down to label9 # BB#14: # %lor.lhs.false7.i11 i32.const $push159=, 0 i32.load $push78=, pap($pop159) @@ -432,7 +432,7 @@ f2: # @f2 i64.const $push89=, 0 i64.const $push88=, 4613381465357418496 i32.call $push90=, __netf2@FUNCTION, $2, $pop87, $pop89, $pop88 - br_if $pop90, 1 # 1: down to label9 + br_if 1, $pop90 # 1: down to label9 # BB#15: # %lor.lhs.false9.i13 i32.const $push161=, 0 i32.load $3=, pap($pop161) @@ -448,7 +448,7 @@ f2: # @f2 i32.load $push98=, 0($5) i32.const $push99=, 17 i32.ne $push100=, $pop98, $pop99 - br_if $pop100, 1 # 1: down to label9 + br_if 1, $pop100 # 1: down to label9 .LBB4_16: # %bar.exit15 end_block # label10: i32.const $push121=, 0 @@ -538,7 +538,7 @@ f4: # @f4 block i32.const $push9=, 5 i32.ne $push10=, $0, $pop9 - br_if $pop10, 0 # 0: down to label13 + br_if 0, $pop10 # 0: down to label13 # BB#1: # %foo.exit i32.load $push11=, 12($6) i32.const $push12=, 3 @@ -588,11 +588,11 @@ f5: # @f5 block i32.const $push1=, 16392 i32.eq $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label16 + br_if 0, $pop2 # 0: down to label16 # BB#1: # %entry i32.const $push3=, 16390 i32.ne $push4=, $0, $pop3 - br_if $pop4, 1 # 1: down to label15 + br_if 1, $pop4 # 1: down to label15 # BB#2: # %if.then.i i32.const $push61=, 0 i32.const $push60=, 0 @@ -609,7 +609,7 @@ f5: # @f5 f64.load $push44=, 0($1) f64.const $push45=, 0x1.1p4 f64.ne $push46=, $pop44, $pop45 - br_if $pop46, 0 # 0: down to label17 + br_if 0, $pop46 # 0: down to label17 # BB#3: # %lor.lhs.false.i i32.const $push64=, 0 i32.const $push63=, 0 @@ -625,7 +625,7 @@ f5: # @f5 i32.load $push54=, 0($1) i32.const $push55=, 129 i32.eq $push56=, $pop54, $pop55 - br_if $pop56, 2 # 2: down to label15 + br_if 2, $pop56 # 2: down to label15 .LBB7_4: # %if.then3.i end_block # label17: call abort@FUNCTION @@ -646,7 +646,7 @@ f5: # @f5 i64.load $push11=, 0($3) i64.const $push12=, 14 i64.ne $push13=, $pop11, $pop12 - br_if $pop13, 1 # 1: down to label14 + br_if 1, $pop13 # 1: down to label14 # BB#6: # %lor.lhs.false7.i i32.const $push73=, 0 i32.load $push14=, pap($pop73) @@ -669,7 +669,7 @@ f5: # @f5 i64.const $push25=, 0 i64.const $push24=, 4613381465357418496 i32.call $push26=, __netf2@FUNCTION, $2, $pop23, $pop25, $pop24 - br_if $pop26, 1 # 1: down to label14 + br_if 1, $pop26 # 1: down to label14 # BB#7: # %lor.lhs.false9.i i32.const $push75=, 0 i32.load $1=, pap($pop75) @@ -685,7 +685,7 @@ f5: # @f5 i32.load $push34=, 0($3) i32.const $push35=, 17 i32.ne $push36=, $pop34, $pop35 - br_if $pop36, 1 # 1: down to label14 + br_if 1, $pop36 # 1: down to label14 .LBB7_8: # %bar.exit end_block # label15: i32.const $push57=, 0 @@ -728,11 +728,11 @@ f6: # @f6 tee_local $push127=, $4=, $pop0 i32.const $push2=, 16392 i32.eq $push3=, $pop127, $pop2 - br_if $pop3, 0 # 0: down to label20 + br_if 0, $pop3 # 0: down to label20 # BB#1: # %entry i32.const $push4=, 16390 i32.ne $push5=, $4, $pop4 - br_if $pop5, 1 # 1: down to label19 + br_if 1, $pop5 # 1: down to label19 # BB#2: # %if.then.i i32.const $push131=, 0 i32.const $push130=, 0 @@ -749,7 +749,7 @@ f6: # @f6 f64.load $push45=, 0($3) f64.const $push46=, 0x1.1p4 f64.ne $push47=, $pop45, $pop46 - br_if $pop47, 0 # 0: down to label21 + br_if 0, $pop47 # 0: down to label21 # BB#3: # %lor.lhs.false.i i32.const $push134=, 0 i32.const $push133=, 0 @@ -765,7 +765,7 @@ f6: # @f6 i32.load $push55=, 0($3) i32.const $push56=, 129 i32.eq $push57=, $pop55, $pop56 - br_if $pop57, 2 # 2: down to label19 + br_if 2, $pop57 # 2: down to label19 .LBB8_4: # %if.then3.i end_block # label21: call abort@FUNCTION @@ -786,7 +786,7 @@ f6: # @f6 i64.load $push12=, 0($5) i64.const $push13=, 14 i64.ne $push14=, $pop12, $pop13 - br_if $pop14, 1 # 1: down to label18 + br_if 1, $pop14 # 1: down to label18 # BB#6: # %lor.lhs.false7.i i32.const $push143=, 0 i32.load $push15=, pap($pop143) @@ -809,7 +809,7 @@ f6: # @f6 i64.const $push26=, 0 i64.const $push25=, 4613381465357418496 i32.call $push27=, __netf2@FUNCTION, $2, $pop24, $pop26, $pop25 - br_if $pop27, 1 # 1: down to label18 + br_if 1, $pop27 # 1: down to label18 # BB#7: # %lor.lhs.false9.i i32.const $push145=, 0 i32.load $3=, pap($pop145) @@ -825,7 +825,7 @@ f6: # @f6 i32.load $push35=, 0($5) i32.const $push36=, 17 i32.ne $push37=, $pop35, $pop36 - br_if $pop37, 1 # 1: down to label18 + br_if 1, $pop37 # 1: down to label18 .LBB8_8: # %bar.exit end_block # label19: i32.load $3=, 12($9) @@ -864,11 +864,11 @@ f6: # @f6 tee_local $push146=, $4=, $pop70 i32.const $push71=, 16392 i32.eq $push72=, $pop146, $pop71 - br_if $pop72, 0 # 0: down to label24 + br_if 0, $pop72 # 0: down to label24 # BB#9: # %bar.exit i32.const $push73=, 16390 i32.ne $push74=, $4, $pop73 - br_if $pop74, 1 # 1: down to label23 + br_if 1, $pop74 # 1: down to label23 # BB#10: # %if.then.i4 i32.const $push160=, 0 i32.const $push159=, 0 @@ -885,7 +885,7 @@ f6: # @f6 f64.load $push113=, 0($3) f64.const $push114=, 0x1.1p4 f64.ne $push115=, $pop113, $pop114 - br_if $pop115, 0 # 0: down to label25 + br_if 0, $pop115 # 0: down to label25 # BB#11: # %lor.lhs.false.i6 i32.const $push163=, 0 i32.const $push162=, 0 @@ -901,7 +901,7 @@ f6: # @f6 i32.load $push123=, 0($3) i32.const $push124=, 129 i32.eq $push125=, $pop123, $pop124 - br_if $pop125, 2 # 2: down to label23 + br_if 2, $pop125 # 2: down to label23 .LBB8_12: # %if.then3.i7 end_block # label25: call abort@FUNCTION @@ -922,7 +922,7 @@ f6: # @f6 i64.load $push80=, 0($5) i64.const $push81=, 14 i64.ne $push82=, $pop80, $pop81 - br_if $pop82, 1 # 1: down to label22 + br_if 1, $pop82 # 1: down to label22 # BB#14: # %lor.lhs.false7.i11 i32.const $push173=, 0 i32.load $push83=, pap($pop173) @@ -945,7 +945,7 @@ f6: # @f6 i64.const $push94=, 0 i64.const $push93=, 4613381465357418496 i32.call $push95=, __netf2@FUNCTION, $2, $pop92, $pop94, $pop93 - br_if $pop95, 1 # 1: down to label22 + br_if 1, $pop95 # 1: down to label22 # BB#15: # %lor.lhs.false9.i13 i32.const $push175=, 0 i32.load $3=, pap($pop175) @@ -961,7 +961,7 @@ f6: # @f6 i32.load $push103=, 0($5) i32.const $push104=, 17 i32.ne $push105=, $pop103, $pop104 - br_if $pop105, 1 # 1: down to label22 + br_if 1, $pop105 # 1: down to label22 .LBB8_16: # %bar.exit15 end_block # label23: i32.const $push126=, 0 @@ -1008,11 +1008,11 @@ f7: # @f7 block i32.const $push1=, 16392 i32.eq $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label28 + br_if 0, $pop2 # 0: down to label28 # BB#1: # %entry i32.const $push3=, 16390 i32.ne $push4=, $0, $pop3 - br_if $pop4, 1 # 1: down to label27 + br_if 1, $pop4 # 1: down to label27 # BB#2: # %if.then.i i32.const $push59=, 0 i32.const $push58=, 0 @@ -1029,7 +1029,7 @@ f7: # @f7 f64.load $push43=, 0($2) f64.const $push44=, 0x1.1p4 f64.ne $push45=, $pop43, $pop44 - br_if $pop45, 0 # 0: down to label29 + br_if 0, $pop45 # 0: down to label29 # BB#3: # %lor.lhs.false.i i32.const $push62=, 0 i32.const $push61=, 0 @@ -1045,7 +1045,7 @@ f7: # @f7 i32.load $push53=, 0($2) i32.const $push54=, 129 i32.eq $push55=, $pop53, $pop54 - br_if $pop55, 2 # 2: down to label27 + br_if 2, $pop55 # 2: down to label27 .LBB9_4: # %if.then3.i end_block # label29: call abort@FUNCTION @@ -1064,7 +1064,7 @@ f7: # @f7 i64.load $push11=, 0($2) i64.const $push12=, 14 i64.ne $push13=, $pop11, $pop12 - br_if $pop13, 1 # 1: down to label26 + br_if 1, $pop13 # 1: down to label26 # BB#6: # %lor.lhs.false7.i i32.load $push14=, 12($7) i32.const $push15=, 15 @@ -1084,7 +1084,7 @@ f7: # @f7 i64.const $push24=, 0 i64.const $push23=, 4613381465357418496 i32.call $push25=, __netf2@FUNCTION, $1, $pop22, $pop24, $pop23 - br_if $pop25, 1 # 1: down to label26 + br_if 1, $pop25 # 1: down to label26 # BB#7: # %lor.lhs.false9.i i32.load $push26=, 12($7) i32.const $push27=, 3 @@ -1098,7 +1098,7 @@ f7: # @f7 i32.load $push33=, 0($2) i32.const $push34=, 17 i32.ne $push35=, $pop33, $pop34 - br_if $pop35, 1 # 1: down to label26 + br_if 1, $pop35 # 1: down to label26 .LBB9_8: # %bar.exit end_block # label27: i32.const $push56=, 0 @@ -1141,11 +1141,11 @@ f8: # @f8 block i32.const $push1=, 16392 i32.eq $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label32 + br_if 0, $pop2 # 0: down to label32 # BB#1: # %entry i32.const $push3=, 16390 i32.ne $push4=, $0, $pop3 - br_if $pop4, 1 # 1: down to label31 + br_if 1, $pop4 # 1: down to label31 # BB#2: # %if.then.i i32.const $push66=, 0 i32.const $push65=, 0 @@ -1162,7 +1162,7 @@ f8: # @f8 f64.load $push43=, 0($2) f64.const $push44=, 0x1.1p4 f64.ne $push45=, $pop43, $pop44 - br_if $pop45, 0 # 0: down to label33 + br_if 0, $pop45 # 0: down to label33 # BB#3: # %lor.lhs.false.i i32.const $push69=, 0 i32.const $push68=, 0 @@ -1178,7 +1178,7 @@ f8: # @f8 i32.load $push53=, 0($2) i32.const $push54=, 129 i32.eq $push55=, $pop53, $pop54 - br_if $pop55, 2 # 2: down to label31 + br_if 2, $pop55 # 2: down to label31 .LBB10_4: # %if.then3.i end_block # label33: call abort@FUNCTION @@ -1197,7 +1197,7 @@ f8: # @f8 i64.load $push11=, 0($2) i64.const $push12=, 14 i64.ne $push13=, $pop11, $pop12 - br_if $pop13, 1 # 1: down to label30 + br_if 1, $pop13 # 1: down to label30 # BB#6: # %lor.lhs.false7.i i32.load $push14=, 12($7) i32.const $push15=, 15 @@ -1217,7 +1217,7 @@ f8: # @f8 i64.const $push24=, 0 i64.const $push23=, 4613381465357418496 i32.call $push25=, __netf2@FUNCTION, $1, $pop22, $pop24, $pop23 - br_if $pop25, 1 # 1: down to label30 + br_if 1, $pop25 # 1: down to label30 # BB#7: # %lor.lhs.false9.i i32.load $push26=, 12($7) i32.const $push27=, 3 @@ -1231,7 +1231,7 @@ f8: # @f8 i32.load $push33=, 0($2) i32.const $push34=, 17 i32.ne $push35=, $pop33, $pop34 - br_if $pop35, 1 # 1: down to label30 + br_if 1, $pop35 # 1: down to label30 .LBB10_8: # %bar.exit end_block # label31: i32.load $2=, 12($7) @@ -1298,12 +1298,12 @@ main: # @main i32.const $push42=, 0 i32.load $push3=, bar_arg($pop42) i32.ne $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label34 + br_if 0, $pop4 # 0: down to label34 # BB#1: # %entry i32.const $push44=, 0 i32.load $push0=, x($pop44) i32.ne $push5=, $pop0, $0 - br_if $pop5, 0 # 0: down to label34 + br_if 0, $pop5 # 0: down to label34 # BB#2: # %if.end i32.const $9=, __stack_pointer i32.load $9=, 0($9) @@ -1325,7 +1325,7 @@ main: # @main f64.load $push7=, d($pop45) f64.const $push8=, 0x1.06p7 f64.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label35 + br_if 0, $pop9 # 0: down to label35 # BB#3: # %if.end4 i32.const $13=, __stack_pointer i32.load $13=, 0($13) @@ -1352,12 +1352,12 @@ main: # @main i32.load $push15=, x($pop46) i32.const $push16=, 16 i32.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label36 + br_if 0, $pop17 # 0: down to label36 # BB#4: # %if.end4 i32.const $push47=, 0 i32.load $push10=, foo_arg($pop47) i32.ne $push18=, $pop10, $0 - br_if $pop18, 0 # 0: down to label36 + br_if 0, $pop18 # 0: down to label36 # BB#5: # %if.end9 i32.const $17=, __stack_pointer i32.load $17=, 0($17) @@ -1384,7 +1384,7 @@ main: # @main i32.load $push22=, bar_arg($pop49) i32.const $push48=, 16390 i32.ne $push23=, $pop22, $pop48 - br_if $pop23, 0 # 0: down to label37 + br_if 0, $pop23 # 0: down to label37 # BB#6: # %if.end12 i32.const $21=, __stack_pointer i32.load $21=, 0($21) @@ -1409,7 +1409,7 @@ main: # @main i32.const $push51=, 0 i32.load $push26=, bar_arg($pop51) i32.ne $push27=, $0, $pop26 - br_if $pop27, 0 # 0: down to label38 + br_if 0, $pop27 # 0: down to label38 # BB#7: # %if.end15 i32.const $25=, __stack_pointer i32.load $25=, 0($25) @@ -1448,7 +1448,7 @@ main: # @main i32.load $push33=, bar_arg($pop54) i32.const $push53=, 16392 i32.ne $push34=, $pop33, $pop53 - br_if $pop34, 0 # 0: down to label39 + br_if 0, $pop34 # 0: down to label39 # BB#8: # %if.end18 i32.const $29=, __stack_pointer i32.load $29=, 0($29) @@ -1483,13 +1483,13 @@ main: # @main i32.load $push37=, bar_arg($pop61) i32.const $push60=, 16392 i32.ne $push38=, $pop37, $pop60 - br_if $pop38, 0 # 0: down to label40 + br_if 0, $pop38 # 0: down to label40 # BB#9: # %if.end18 i32.const $push67=, 0 f64.load $push35=, d($pop67) f64.const $push39=, 0x1.bp4 f64.ne $push40=, $pop35, $pop39 - br_if $pop40, 0 # 0: down to label40 + br_if 0, $pop40 # 0: down to label40 # BB#10: # %if.end23 i32.const $push41=, 0 i32.const $35=, 48 diff --git a/test/torture-s/stdarg-2.c.s b/test/torture-s/stdarg-2.c.s index c12ce6e48..3aa78c087 100644 --- a/test/torture-s/stdarg-2.c.s +++ b/test/torture-s/stdarg-2.c.s @@ -19,17 +19,17 @@ foo: # @foo block i32.const $push0=, 11 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry block i32.const $push67=, 8 i32.eq $push2=, $0, $pop67 - br_if $pop2, 0 # 0: down to label2 + br_if 0, $pop2 # 0: down to label2 # BB#2: # %entry block i32.const $push3=, 5 i32.ne $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label3 + br_if 0, $pop4 # 0: down to label3 # BB#3: # %sw.bb i32.load $push43=, 44($11) i32.const $push44=, 3 @@ -167,7 +167,7 @@ bar: # @bar block i32.const $push0=, 16386 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label4 + br_if 0, $pop1 # 0: down to label4 # BB#1: # %if.then i32.const $push25=, 0 i32.const $push24=, 0 @@ -184,7 +184,7 @@ bar: # @bar i32.load $push9=, 0($1) i32.const $push10=, 13 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label5 + br_if 0, $pop11 # 0: down to label5 # BB#2: # %lor.lhs.false i32.const $push28=, 0 i32.const $push27=, 0 @@ -200,7 +200,7 @@ bar: # @bar f64.load $push19=, 0($1) f64.const $push20=, -0x1.cp3 f64.eq $push21=, $pop19, $pop20 - br_if $pop21, 1 # 1: down to label4 + br_if 1, $pop21 # 1: down to label4 .LBB1_3: # %if.then3 end_block # label5: call abort@FUNCTION @@ -254,7 +254,7 @@ f2: # @f2 block i32.const $push0=, 16386 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label6 + br_if 0, $pop1 # 0: down to label6 # BB#1: # %if.then.i i32.const $push26=, 0 i32.const $push25=, 0 @@ -271,7 +271,7 @@ f2: # @f2 i32.load $push9=, 0($1) i32.const $push10=, 13 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label7 + br_if 0, $pop11 # 0: down to label7 # BB#2: # %lor.lhs.false.i i32.const $push12=, 0 i32.const $push28=, 0 @@ -287,7 +287,7 @@ f2: # @f2 f64.load $push20=, 0($1) f64.const $push21=, -0x1.cp3 f64.eq $push22=, $pop20, $pop21 - br_if $pop22, 1 # 1: down to label6 + br_if 1, $pop22 # 1: down to label6 .LBB3_3: # %if.then3.i end_block # label7: call abort@FUNCTION @@ -356,7 +356,7 @@ f4: # @f4 block i32.const $push0=, 16386 i32.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label8 + br_if 0, $pop1 # 0: down to label8 # BB#1: # %if.then.i i32.const $push25=, 0 i32.const $push24=, 0 @@ -373,7 +373,7 @@ f4: # @f4 i32.load $push9=, 0($1) i32.const $push10=, 13 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label9 + br_if 0, $pop11 # 0: down to label9 # BB#2: # %lor.lhs.false.i i32.const $push28=, 0 i32.const $push27=, 0 @@ -389,7 +389,7 @@ f4: # @f4 f64.load $push19=, 0($1) f64.const $push20=, -0x1.cp3 f64.eq $push21=, $pop19, $pop20 - br_if $pop21, 1 # 1: down to label8 + br_if 1, $pop21 # 1: down to label8 .LBB5_3: # %if.then3.i end_block # label9: call abort@FUNCTION @@ -428,17 +428,17 @@ f5: # @f5 block i32.const $push1=, 11 i32.eq $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label11 + br_if 0, $pop2 # 0: down to label11 # BB#1: # %entry block i32.const $push68=, 8 i32.eq $push3=, $0, $pop68 - br_if $pop3, 0 # 0: down to label12 + br_if 0, $pop3 # 0: down to label12 # BB#2: # %entry block i32.const $push4=, 5 i32.ne $push5=, $0, $pop4 - br_if $pop5, 0 # 0: down to label13 + br_if 0, $pop5 # 0: down to label13 # BB#3: # %sw.bb.i i32.load $push44=, 76($9) i32.const $push45=, 3 @@ -620,7 +620,7 @@ f7: # @f7 block i32.const $push1=, 16386 i32.ne $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label14 + br_if 0, $pop2 # 0: down to label14 # BB#1: # %if.then.i i32.const $push27=, 0 i32.const $push26=, 0 @@ -637,7 +637,7 @@ f7: # @f7 i32.load $push9=, 0($1) i32.const $push10=, 13 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label15 + br_if 0, $pop11 # 0: down to label15 # BB#2: # %lor.lhs.false.i i32.const $push30=, 0 i32.const $push29=, 0 @@ -653,7 +653,7 @@ f7: # @f7 f64.load $push19=, 0($1) f64.const $push20=, -0x1.cp3 f64.eq $push21=, $pop19, $pop20 - br_if $pop21, 1 # 1: down to label14 + br_if 1, $pop21 # 1: down to label14 .LBB8_3: # %if.then3.i end_block # label15: call abort@FUNCTION @@ -696,17 +696,17 @@ f8: # @f8 block i32.const $push2=, 11 i32.eq $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label17 + br_if 0, $pop3 # 0: down to label17 # BB#1: # %entry block i32.const $push69=, 8 i32.eq $push4=, $0, $pop69 - br_if $pop4, 0 # 0: down to label18 + br_if 0, $pop4 # 0: down to label18 # BB#2: # %entry block i32.const $push5=, 5 i32.ne $push6=, $0, $pop5 - br_if $pop6, 0 # 0: down to label19 + br_if 0, $pop6 # 0: down to label19 # BB#3: # %sw.bb.i i32.load $push44=, 60($12) i32.const $push45=, 3 @@ -892,7 +892,7 @@ f11: # @f11 block i32.const $push2=, 16386 i32.ne $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label20 + br_if 0, $pop3 # 0: down to label20 # BB#1: # %if.then.i i32.const $push27=, 0 i32.const $push26=, 0 @@ -909,7 +909,7 @@ f11: # @f11 i32.load $push11=, 0($1) i32.const $push12=, 13 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label21 + br_if 0, $pop13 # 0: down to label21 # BB#2: # %lor.lhs.false.i i32.const $push30=, 0 i32.const $push29=, 0 @@ -925,7 +925,7 @@ f11: # @f11 f64.load $push21=, 0($1) f64.const $push22=, -0x1.cp3 f64.eq $push23=, $pop21, $pop22 - br_if $pop23, 1 # 1: down to label20 + br_if 1, $pop23 # 1: down to label20 .LBB11_3: # %if.then3.i end_block # label21: call abort@FUNCTION @@ -968,17 +968,17 @@ f12: # @f12 block i32.const $push3=, 11 i32.eq $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label23 + br_if 0, $pop4 # 0: down to label23 # BB#1: # %entry block i32.const $push70=, 8 i32.eq $push5=, $0, $pop70 - br_if $pop5, 0 # 0: down to label24 + br_if 0, $pop5 # 0: down to label24 # BB#2: # %entry block i32.const $push6=, 5 i32.ne $push7=, $0, $pop6 - br_if $pop7, 0 # 0: down to label25 + br_if 0, $pop7 # 0: down to label25 # BB#3: # %sw.bb.i i32.load $push46=, 60($12) i32.const $push47=, 3 @@ -1138,7 +1138,7 @@ main: # @main i32.const $push52=, 0 i32.load $push1=, x($pop52) i32.ne $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label26 + br_if 0, $pop2 # 0: down to label26 # BB#1: # %if.end i32.const $5=, __stack_pointer i32.load $5=, 0($5) @@ -1165,7 +1165,7 @@ main: # @main i32.load $push7=, bar_arg($pop54) i32.const $push53=, 16386 i32.ne $push8=, $pop7, $pop53 - br_if $pop8, 0 # 0: down to label27 + br_if 0, $pop8 # 0: down to label27 # BB#2: # %if.end3 i32.const $9=, __stack_pointer i32.load $9=, 0($9) @@ -1186,7 +1186,7 @@ main: # @main i32.const $push55=, 0 i32.load $push10=, x($pop55) i32.ne $push11=, $0, $pop10 - br_if $pop11, 0 # 0: down to label28 + br_if 0, $pop11 # 0: down to label28 # BB#3: # %if.end6 i32.const $13=, __stack_pointer i32.load $13=, 0($13) @@ -1209,7 +1209,7 @@ main: # @main i32.load $push14=, bar_arg($pop57) i32.const $push56=, 4 i32.ne $push15=, $pop14, $pop56 - br_if $pop15, 0 # 0: down to label29 + br_if 0, $pop15 # 0: down to label29 # BB#4: # %if.end9 i32.const $17=, __stack_pointer i32.load $17=, 0($17) @@ -1240,7 +1240,7 @@ main: # @main i32.load $push22=, foo_arg($pop58) i32.const $push23=, 38 i32.ne $push24=, $pop22, $pop23 - br_if $pop24, 0 # 0: down to label30 + br_if 0, $pop24 # 0: down to label30 # BB#5: # %if.end12 i32.const $21=, __stack_pointer i32.load $21=, 0($21) @@ -1261,7 +1261,7 @@ main: # @main i32.const $push59=, 0 i32.load $push26=, x($pop59) i32.ne $push27=, $0, $pop26 - br_if $pop27, 0 # 0: down to label31 + br_if 0, $pop27 # 0: down to label31 # BB#6: # %if.end15 i32.const $push28=, 7 call f7@FUNCTION, $pop28 @@ -1270,7 +1270,7 @@ main: # @main i32.load $push29=, bar_arg($pop61) i32.const $push60=, 7 i32.ne $push30=, $pop29, $pop60 - br_if $pop30, 0 # 0: down to label32 + br_if 0, $pop30 # 0: down to label32 # BB#7: # %if.end18 i32.const $25=, __stack_pointer i32.load $25=, 0($25) @@ -1297,7 +1297,7 @@ main: # @main i32.load $push34=, foo_arg($pop62) i32.const $push35=, 2044 i32.ne $push36=, $pop34, $pop35 - br_if $pop36, 0 # 0: down to label33 + br_if 0, $pop36 # 0: down to label33 # BB#8: # %if.end21 i32.const $29=, __stack_pointer i32.load $29=, 0($29) @@ -1318,7 +1318,7 @@ main: # @main i32.const $push64=, 0 i32.load $push38=, x($pop64) i32.ne $push39=, $0, $pop38 - br_if $pop39, 0 # 0: down to label34 + br_if 0, $pop39 # 0: down to label34 # BB#9: # %if.end24 i32.const $push40=, 10 call f11@FUNCTION, $pop40 @@ -1327,7 +1327,7 @@ main: # @main i32.load $push41=, bar_arg($pop66) i32.const $push65=, 10 i32.ne $push42=, $pop41, $pop65 - br_if $pop42, 0 # 0: down to label35 + br_if 0, $pop42 # 0: down to label35 # BB#10: # %if.end27 i32.const $33=, __stack_pointer i32.load $33=, 0($33) @@ -1358,7 +1358,7 @@ main: # @main i32.load $push49=, foo_arg($pop67) i32.const $push50=, 2042 i32.ne $push51=, $pop49, $pop50 - br_if $pop51, 0 # 0: down to label36 + br_if 0, $pop51 # 0: down to label36 # BB#11: # %if.end30 i32.const $push68=, 0 i32.const $39=, 32 diff --git a/test/torture-s/stdarg-4.c.s b/test/torture-s/stdarg-4.c.s index 87b595925..85e7b7827 100644 --- a/test/torture-s/stdarg-4.c.s +++ b/test/torture-s/stdarg-4.c.s @@ -341,7 +341,7 @@ f3: # @f3 block i32.const $push0=, 4 i32.gt_u $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $3=, 0 block @@ -508,12 +508,12 @@ f4: # @f4 block i32.const $push0=, 5 i32.eq $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label7 + br_if 0, $pop1 # 0: down to label7 # BB#1: # %entry block i32.const $push2=, 4 i32.ne $push3=, $0, $pop2 - br_if $pop3, 0 # 0: down to label8 + br_if 0, $pop3 # 0: down to label8 # BB#2: # %sw.bb i32.load $push20=, 8($7) i32.const $push21=, 7 @@ -648,7 +648,7 @@ main: # @main i32.load $push3=, x($pop65) i32.const $push4=, 176 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label9 + br_if 0, $pop5 # 0: down to label9 # BB#1: # %if.end i32.const $6=, __stack_pointer i32.load $6=, 0($6) @@ -686,18 +686,18 @@ main: # @main i32.load $push14=, x($pop68) i32.const $push15=, 100 i32.ne $push16=, $pop14, $pop15 - br_if $pop16, 0 # 0: down to label10 + br_if 0, $pop16 # 0: down to label10 # BB#2: # %if.end i32.const $push71=, 0 i32.load $push6=, y($pop71) i32.const $push17=, 30 i32.ne $push18=, $pop6, $pop17 - br_if $pop18, 0 # 0: down to label10 + br_if 0, $pop18 # 0: down to label10 # BB#3: # %if.end4 i32.const $push19=, 0 i32.call $0=, f3@FUNCTION, $pop19 block - br_if $0, 0 # 0: down to label11 + br_if 0, $0 # 0: down to label11 # BB#4: # %if.end7 i32.const $10=, __stack_pointer i32.load $10=, 0($10) @@ -718,7 +718,7 @@ main: # @main block i32.const $push22=, 19 i32.ne $push23=, $0, $pop22 - br_if $pop23, 0 # 0: down to label12 + br_if 0, $pop23 # 0: down to label12 # BB#5: # %if.end11 i32.const $14=, __stack_pointer i32.load $14=, 0($14) @@ -739,7 +739,7 @@ main: # @main block i32.const $push26=, 120 i32.ne $push27=, $0, $pop26 - br_if $pop27, 0 # 0: down to label13 + br_if 0, $pop27 # 0: down to label13 # BB#6: # %if.end15 i32.const $18=, __stack_pointer i32.load $18=, 0($18) @@ -763,7 +763,7 @@ main: # @main block i32.const $push30=, 421 i32.ne $push31=, $0, $pop30 - br_if $pop31, 0 # 0: down to label14 + br_if 0, $pop31 # 0: down to label14 # BB#7: # %if.end19 i32.const $22=, __stack_pointer i32.load $22=, 0($22) @@ -788,7 +788,7 @@ main: # @main block i32.const $push34=, 243 i32.ne $push35=, $0, $pop34 - br_if $pop35, 0 # 0: down to label15 + br_if 0, $pop35 # 0: down to label15 # BB#8: # %if.end23 i32.const $26=, __stack_pointer i32.load $26=, 0($26) @@ -823,13 +823,13 @@ main: # @main i32.load $push43=, x($pop75) i32.const $push44=, 43 i32.ne $push45=, $pop43, $pop44 - br_if $pop45, 0 # 0: down to label16 + br_if 0, $pop45 # 0: down to label16 # BB#9: # %if.end23 i32.const $push78=, 0 i32.load $push36=, y($pop78) i32.const $push46=, 6 i32.ne $push47=, $pop36, $pop46 - br_if $pop47, 0 # 0: down to label16 + br_if 0, $pop47 # 0: down to label16 # BB#10: # %if.end28 i32.const $30=, __stack_pointer i32.load $30=, 0($30) @@ -868,13 +868,13 @@ main: # @main i32.load $push59=, x($pop79) i32.const $push60=, 144 i32.ne $push61=, $pop59, $pop60 - br_if $pop61, 0 # 0: down to label17 + br_if 0, $pop61 # 0: down to label17 # BB#11: # %if.end28 i32.const $push80=, 0 i32.load $push48=, y($pop80) i32.const $push62=, 28 i32.ne $push63=, $pop48, $pop62 - br_if $pop63, 0 # 0: down to label17 + br_if 0, $pop63 # 0: down to label17 # BB#12: # %if.end33 i32.const $push64=, 0 i32.const $36=, 48 diff --git a/test/torture-s/strcmp-1.c.s b/test/torture-s/strcmp-1.c.s index c885caf7d..8b19b54af 100644 --- a/test/torture-s/strcmp-1.c.s +++ b/test/torture-s/strcmp-1.c.s @@ -11,22 +11,22 @@ test: # @test block i32.const $push0=, -1 i32.gt_s $push1=, $2, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 0 i32.lt_s $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.then call abort@FUNCTION unreachable .LBB0_3: # %if.else end_block # label0: block - br_if $2, 0 # 0: down to label1 + br_if 0, $2 # 0: down to label1 # BB#4: # %if.else i32.const $push8=, 0 i32.eq $push9=, $1, $pop8 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#5: # %if.then5 call abort@FUNCTION unreachable @@ -35,11 +35,11 @@ test: # @test block i32.const $push4=, 1 i32.lt_s $push5=, $2, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#7: # %if.else6 i32.const $push6=, 0 i32.gt_s $push7=, $1, $pop6 - br_if $pop7, 0 # 0: down to label2 + br_if 0, $pop7 # 0: down to label2 # BB#8: # %if.then10 call abort@FUNCTION unreachable @@ -91,7 +91,7 @@ main: # @main block i32.const $push50=, 0 i32.eq $push51=, $0, $pop50 - br_if $pop51, 0 # 0: down to label18 + br_if 0, $pop51 # 0: down to label18 # BB#4: # %for.body9.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push29=, u1 @@ -105,7 +105,7 @@ main: # @main block i32.const $push52=, 0 i32.eq $push53=, $4, $pop52 - br_if $pop53, 0 # 0: down to label19 + br_if 0, $pop53 # 0: down to label19 # BB#6: # %for.body12.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push30=, 97 @@ -124,7 +124,7 @@ main: # @main block i32.const $push54=, 0 i32.eq $push55=, $2, $pop54 - br_if $pop55, 0 # 0: down to label20 + br_if 0, $pop55 # 0: down to label20 # BB#8: # %for.body26.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push35=, u2 @@ -138,7 +138,7 @@ main: # @main block i32.const $push56=, 0 i32.eq $push57=, $4, $pop56 - br_if $pop57, 0 # 0: down to label21 + br_if 0, $pop57 # 0: down to label21 # BB#10: # %for.body33.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push36=, 97 @@ -155,7 +155,7 @@ main: # @main i32.store8 $push4=, 0($6), $pop37 i32.store8 $11=, 0($8), $pop4 i32.call $push5=, strcmp@FUNCTION, $5, $7 - br_if $pop5, 14 # 14: down to label3 + br_if 14, $pop5 # 14: down to label3 # BB#12: # %test.exit # in Loop: Header=BB1_3 Depth=3 i32.store8 $discard=, 0($8), $11 @@ -163,14 +163,14 @@ main: # @main i32.store16 $10=, 0($6):p2align=0, $pop39 i32.call $push6=, strcmp@FUNCTION, $5, $7 i32.le_s $push7=, $pop6, $11 - br_if $pop7, 13 # 13: down to label4 + br_if 13, $pop7 # 13: down to label4 # BB#13: # %test.exit157 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($8):p2align=0, $10 i32.store8 $discard=, 0($6), $11 i32.call $push8=, strcmp@FUNCTION, $5, $7 i32.ge_s $push9=, $pop8, $11 - br_if $pop9, 12 # 12: down to label5 + br_if 12, $pop9 # 12: down to label5 # BB#14: # %test.exit162 # in Loop: Header=BB1_3 Depth=3 i32.const $push41=, 98 @@ -179,14 +179,14 @@ main: # @main i32.store16 $12=, 0($8):p2align=0, $pop40 i32.call $push10=, strcmp@FUNCTION, $5, $7 i32.ge_s $push11=, $pop10, $11 - br_if $pop11, 11 # 11: down to label6 + br_if 11, $pop11 # 11: down to label6 # BB#15: # %test.exit168 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($6):p2align=0, $12 i32.store16 $discard=, 0($8):p2align=0, $10 i32.call $push12=, strcmp@FUNCTION, $5, $7 i32.le_s $push13=, $pop12, $11 - br_if $pop13, 10 # 10: down to label7 + br_if 10, $pop13 # 10: down to label7 # BB#16: # %test.exit174 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($6):p2align=0, $10 @@ -194,14 +194,14 @@ main: # @main i32.store16 $12=, 0($8):p2align=0, $pop42 i32.call $push14=, strcmp@FUNCTION, $5, $7 i32.ge_s $push15=, $pop14, $11 - br_if $pop15, 9 # 9: down to label8 + br_if 9, $pop15 # 9: down to label8 # BB#17: # %test.exit180 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($8):p2align=0, $10 i32.store16 $10=, 0($6):p2align=0, $12 i32.call $push16=, strcmp@FUNCTION, $5, $7 i32.le_s $push17=, $pop16, $11 - br_if $pop17, 8 # 8: down to label9 + br_if 8, $pop17 # 8: down to label9 # BB#18: # %test.exit186 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($6):p2align=0, $10 @@ -209,21 +209,21 @@ main: # @main i32.store16 $12=, 0($8):p2align=0, $pop43 i32.call $push18=, strcmp@FUNCTION, $5, $7 i32.ge_s $push19=, $pop18, $11 - br_if $pop19, 7 # 7: down to label10 + br_if 7, $pop19 # 7: down to label10 # BB#19: # %test.exit192 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($6):p2align=0, $12 i32.store16 $discard=, 0($8):p2align=0, $10 i32.call $push20=, strcmp@FUNCTION, $5, $7 i32.le_s $push21=, $pop20, $11 - br_if $pop21, 6 # 6: down to label11 + br_if 6, $pop21 # 6: down to label11 # BB#20: # %for.cond4 # in Loop: Header=BB1_3 Depth=3 i32.const $push27=, 1 i32.add $4=, $4, $pop27 i32.const $push26=, 63 i32.le_u $push22=, $4, $pop26 - br_if $pop22, 0 # 0: up to label16 + br_if 0, $pop22 # 0: up to label16 # BB#21: # %for.inc79 # in Loop: Header=BB1_2 Depth=2 end_loop # label17: @@ -233,7 +233,7 @@ main: # @main i32.add $3=, $3, $pop45 i32.const $push44=, 8 i32.lt_u $push23=, $2, $pop44 - br_if $pop23, 0 # 0: up to label14 + br_if 0, $pop23 # 0: up to label14 # BB#22: # %for.inc82 # in Loop: Header=BB1_1 Depth=1 end_loop # label15: @@ -243,7 +243,7 @@ main: # @main i32.add $1=, $1, $pop48 i32.const $push47=, 8 i32.lt_u $push24=, $0, $pop47 - br_if $pop24, 0 # 0: up to label12 + br_if 0, $pop24 # 0: up to label12 # BB#23: # %for.end84 end_loop # label13: i32.const $push25=, 0 diff --git a/test/torture-s/strcpy-1.c.s b/test/torture-s/strcpy-1.c.s index cfb00bbc7..8df976881 100644 --- a/test/torture-s/strcpy-1.c.s +++ b/test/torture-s/strcpy-1.c.s @@ -70,7 +70,7 @@ main: # @main i32.add $6=, $pop6, $pop58 i32.const $push57=, 1 i32.add $8=, $8, $pop57 - br_if $8, 0 # 0: up to label10 + br_if 0, $8 # 0: up to label10 # BB#5: # %for.end # in Loop: Header=BB0_3 Depth=3 end_loop # label11: @@ -79,7 +79,7 @@ main: # @main i32.store8 $discard=, u2($pop7), $pop63 i32.call $push8=, strcpy@FUNCTION, $1, $3 i32.ne $push9=, $pop8, $1 - br_if $pop9, 9 # 9: down to label0 + br_if 9, $pop9 # 9: down to label0 # BB#6: # %for.cond21.preheader # in Loop: Header=BB0_3 Depth=3 i32.const $8=, 0 @@ -87,7 +87,7 @@ main: # @main block i32.const $push64=, 0 i32.le_s $push10=, $0, $pop64 - br_if $pop10, 0 # 0: down to label12 + br_if 0, $pop10 # 0: down to label12 .LBB0_7: # %for.body24 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 @@ -97,7 +97,7 @@ main: # @main i32.load8_u $push11=, u1($8) i32.const $push65=, 97 i32.ne $push12=, $pop11, $pop65 - br_if $pop12, 1 # 1: down to label14 + br_if 1, $pop12 # 1: down to label14 # BB#8: # %for.inc30 # in Loop: Header=BB0_7 Depth=4 i32.const $push67=, u1+1 @@ -106,7 +106,7 @@ main: # @main i32.add $6=, $8, $pop66 copy_local $8=, $6 i32.lt_s $push13=, $6, $0 - br_if $pop13, 0 # 0: up to label13 + br_if 0, $pop13 # 0: up to label13 br 2 # 2: down to label12 .LBB0_9: # %if.then28 end_loop # label14: @@ -137,7 +137,7 @@ main: # @main i32.const $push68=, 255 i32.and $push17=, $pop69, $pop68 i32.ne $push20=, $pop19, $pop17 - br_if $pop20, 10 # 10: down to label1 + br_if 10, $pop20 # 10: down to label1 # BB#12: # %for.inc50 # in Loop: Header=BB0_11 Depth=4 i32.const $push75=, 1 @@ -145,14 +145,14 @@ main: # @main i32.const $push74=, 1 i32.add $6=, $6, $pop74 i32.lt_s $push21=, $8, $5 - br_if $pop21, 0 # 0: up to label15 + br_if 0, $pop21 # 0: up to label15 # BB#13: # %for.end54 # in Loop: Header=BB0_3 Depth=3 end_loop # label16: i32.add $push1=, $7, $8 tee_local $push76=, $8=, $pop1 i32.load8_u $push22=, 0($pop76) - br_if $pop22, 7 # 7: down to label2 + br_if 7, $pop22 # 7: down to label2 # BB#14: # %for.cond61.preheader # in Loop: Header=BB0_3 Depth=3 i32.const $push78=, 1 @@ -160,7 +160,7 @@ main: # @main i32.load8_u $push24=, 0($pop23) i32.const $push77=, 97 i32.ne $push25=, $pop24, $pop77 - br_if $pop25, 6 # 6: down to label3 + br_if 6, $pop25 # 6: down to label3 # BB#15: # %for.cond61 # in Loop: Header=BB0_3 Depth=3 i32.const $push80=, 2 @@ -168,7 +168,7 @@ main: # @main i32.load8_u $push27=, 0($pop26) i32.const $push79=, 97 i32.ne $push28=, $pop27, $pop79 - br_if $pop28, 6 # 6: down to label3 + br_if 6, $pop28 # 6: down to label3 # BB#16: # %for.cond61.1 # in Loop: Header=BB0_3 Depth=3 i32.const $push86=, 3 @@ -176,7 +176,7 @@ main: # @main i32.load8_u $push30=, 0($pop29) i32.const $push85=, 97 i32.ne $push31=, $pop30, $pop85 - br_if $pop31, 6 # 6: down to label3 + br_if 6, $pop31 # 6: down to label3 # BB#17: # %for.cond61.2 # in Loop: Header=BB0_3 Depth=3 i32.const $push88=, 4 @@ -184,7 +184,7 @@ main: # @main i32.load8_u $push33=, 0($pop32) i32.const $push87=, 97 i32.ne $push34=, $pop33, $pop87 - br_if $pop34, 6 # 6: down to label3 + br_if 6, $pop34 # 6: down to label3 # BB#18: # %for.cond61.3 # in Loop: Header=BB0_3 Depth=3 i32.const $push90=, 5 @@ -192,7 +192,7 @@ main: # @main i32.load8_u $push36=, 0($pop35) i32.const $push89=, 97 i32.ne $push37=, $pop36, $pop89 - br_if $pop37, 6 # 6: down to label3 + br_if 6, $pop37 # 6: down to label3 # BB#19: # %for.cond61.4 # in Loop: Header=BB0_3 Depth=3 i32.const $push92=, 6 @@ -200,7 +200,7 @@ main: # @main i32.load8_u $push39=, 0($pop38) i32.const $push91=, 97 i32.ne $push40=, $pop39, $pop91 - br_if $pop40, 6 # 6: down to label3 + br_if 6, $pop40 # 6: down to label3 # BB#20: # %for.cond61.5 # in Loop: Header=BB0_3 Depth=3 i32.const $push94=, 7 @@ -208,7 +208,7 @@ main: # @main i32.load8_u $push42=, 0($pop41) i32.const $push93=, 97 i32.ne $push43=, $pop42, $pop93 - br_if $pop43, 6 # 6: down to label3 + br_if 6, $pop43 # 6: down to label3 # BB#21: # %for.cond61.6 # in Loop: Header=BB0_3 Depth=3 i32.const $push96=, 8 @@ -216,14 +216,14 @@ main: # @main i32.load8_u $push45=, 0($pop44) i32.const $push95=, 97 i32.ne $push46=, $pop45, $pop95 - br_if $pop46, 6 # 6: down to label3 + br_if 6, $pop46 # 6: down to label3 # BB#22: # %for.cond61.7 # in Loop: Header=BB0_3 Depth=3 i32.const $push98=, 1 i32.add $5=, $5, $pop98 i32.const $push97=, 80 i32.lt_u $push47=, $5, $pop97 - br_if $pop47, 0 # 0: up to label8 + br_if 0, $pop47 # 0: up to label8 # BB#23: # %for.inc77 # in Loop: Header=BB0_2 Depth=2 end_loop # label9: @@ -231,7 +231,7 @@ main: # @main i32.add $2=, $2, $pop82 i32.const $push81=, 8 i32.lt_u $push48=, $2, $pop81 - br_if $pop48, 0 # 0: up to label6 + br_if 0, $pop48 # 0: up to label6 # BB#24: # %for.inc80 # in Loop: Header=BB0_1 Depth=1 end_loop # label7: @@ -239,7 +239,7 @@ main: # @main i32.add $0=, $0, $pop84 i32.const $push83=, 8 i32.lt_u $push49=, $0, $pop83 - br_if $pop49, 0 # 0: up to label4 + br_if 0, $pop49 # 0: up to label4 # BB#25: # %for.end82 end_loop # label5: i32.const $push50=, 0 diff --git a/test/torture-s/strct-pack-1.c.s b/test/torture-s/strct-pack-1.c.s index 7c0167099..f574831d5 100644 --- a/test/torture-s/strct-pack-1.c.s +++ b/test/torture-s/strct-pack-1.c.s @@ -14,12 +14,12 @@ check: # @check i32.load16_u $push0=, 0($0) i32.const $push5=, 1 i32.ne $push1=, $pop0, $pop5 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %lor.lhs.false f64.load $push2=, 2($0):p2align=1 f64.const $push3=, 0x1p4 f64.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#2: # %if.end i32.const $1=, 0 .LBB0_3: # %return diff --git a/test/torture-s/string-opt-17.c.s b/test/torture-s/string-opt-17.c.s index 9a22e8765..9466e5a78 100644 --- a/test/torture-s/string-opt-17.c.s +++ b/test/torture-s/string-opt-17.c.s @@ -30,7 +30,7 @@ check2: # @check2 i32.load $push0=, check2.r($pop5) i32.const $push1=, 5 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 i32.const $push3=, 6 @@ -56,7 +56,7 @@ test2: # @test2 i32.load $push0=, check2.r($pop5) i32.const $push1=, 5 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %check2.exit i32.const $push6=, 0 i32.const $push3=, 6 @@ -102,14 +102,14 @@ main: # @main i32.add $3=, $4, $3 block i32.call $push6=, memcmp@FUNCTION, $3, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label2 + br_if 0, $pop6 # 0: down to label2 # BB#1: # %if.end block i32.const $push15=, 0 i32.load $push7=, check2.r($pop15) i32.const $push8=, 5 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label3 + br_if 0, $pop9 # 0: down to label3 # BB#2: # %test2.exit i32.const $push16=, 0 i32.const $push10=, 6 @@ -120,7 +120,7 @@ main: # @main i32.const $push12=, 1 i32.const $push18=, 0 i32.eq $push19=, $pop12, $pop18 - br_if $pop19, 0 # 0: down to label4 + br_if 0, $pop19 # 0: down to label4 # BB#3: # %if.end8 i32.const $push17=, 0 call exit@FUNCTION, $pop17 diff --git a/test/torture-s/string-opt-18.c.s b/test/torture-s/string-opt-18.c.s index 096bea5c9..04c3994c5 100644 --- a/test/torture-s/string-opt-18.c.s +++ b/test/torture-s/string-opt-18.c.s @@ -25,7 +25,7 @@ test2: # @test2 i32.const $push4=, 8 i32.add $push2=, $0, $pop4 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return .LBB1_2: # %if.then @@ -122,7 +122,7 @@ main: # @main block i32.add $push2=, $5, $pop5 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %test2.exit i32.const $push4=, 0 i32.const $2=, 16 diff --git a/test/torture-s/string-opt-5.c.s b/test/torture-s/string-opt-5.c.s index 2f7af36b5..2a7b35a83 100644 --- a/test/torture-s/string-opt-5.c.s +++ b/test/torture-s/string-opt-5.c.s @@ -21,7 +21,7 @@ main: # @main i32.call $push9=, strlen@FUNCTION, $pop143 i32.const $push10=, 8 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %if.end block i32.const $push148=, 0 @@ -38,12 +38,12 @@ main: # @main i32.call $push17=, strlen@FUNCTION, $pop16 i32.const $push18=, 6 i32.ne $push19=, $pop17, $pop18 - br_if $pop19, 0 # 0: down to label1 + br_if 0, $pop19 # 0: down to label1 # BB#2: # %if.end4 block i32.const $push20=, 7 i32.ne $push21=, $2, $pop20 - br_if $pop21, 0 # 0: down to label2 + br_if 0, $pop21 # 0: down to label2 # BB#3: # %if.end16 block i32.const $push149=, 0 @@ -57,7 +57,7 @@ main: # @main i32.call $push29=, strlen@FUNCTION, $pop28 i32.const $push30=, 10 i32.ne $push31=, $pop29, $pop30 - br_if $pop31, 0 # 0: down to label3 + br_if 0, $pop31 # 0: down to label3 # BB#4: # %if.end26 i32.const $push150=, 0 i32.const $push32=, -3 @@ -68,14 +68,14 @@ main: # @main i32.add $push34=, $3, $pop33 i32.const $push35=, .L.str.2 i32.call $push36=, strcmp@FUNCTION, $pop34, $pop35 - br_if $pop36, 0 # 0: down to label4 + br_if 0, $pop36 # 0: down to label4 # BB#5: # %if.end33 block i32.const $push152=, .L.str.1 i32.call $push37=, strcmp@FUNCTION, $pop152, $1 i32.const $push151=, 0 i32.ge_s $push38=, $pop37, $pop151 - br_if $pop38, 0 # 0: down to label5 + br_if 0, $pop38 # 0: down to label5 # BB#6: # %if.end37 i32.const $push155=, 0 i32.const $push39=, -2 @@ -89,7 +89,7 @@ main: # @main i32.call $push43=, strcmp@FUNCTION, $pop154, $pop42 i32.const $push153=, 0 i32.ge_s $push44=, $pop43, $pop153 - br_if $pop44, 0 # 0: down to label6 + br_if 0, $pop44 # 0: down to label6 # BB#7: # %if.end47 i32.const $push46=, 0 i32.const $push45=, -1 @@ -104,7 +104,7 @@ main: # @main i32.call $push52=, strchr@FUNCTION, $pop50, $pop51 i32.const $push53=, .L.str.1+9 i32.ne $push54=, $pop52, $pop53 - br_if $pop54, 0 # 0: down to label7 + br_if 0, $pop54 # 0: down to label7 # BB#8: # %if.end58 block i32.const $push55=, 111 @@ -113,24 +113,24 @@ main: # @main i32.const $push56=, 4 i32.add $push57=, $1, $pop56 i32.ne $push58=, $pop156, $pop57 - br_if $pop58, 0 # 0: down to label8 + br_if 0, $pop58 # 0: down to label8 # BB#9: # %if.end63 block i32.call $push59=, strlen@FUNCTION, $1 i32.const $push60=, 8 i32.ne $push61=, $pop59, $pop60 - br_if $pop61, 0 # 0: down to label9 + br_if 0, $pop61 # 0: down to label9 # BB#10: # %if.end68 block i32.const $push62=, 120 i32.call $push63=, strrchr@FUNCTION, $1, $pop62 - br_if $pop63, 0 # 0: down to label10 + br_if 0, $pop63 # 0: down to label10 # BB#11: # %if.end72 block i32.const $push64=, 111 i32.call $push65=, strrchr@FUNCTION, $1, $pop64 i32.ne $push66=, $pop65, $0 - br_if $pop66, 0 # 0: down to label11 + br_if 0, $pop66 # 0: down to label11 # BB#12: # %if.end77 i32.const $push67=, 0 i32.const $push159=, 0 @@ -150,14 +150,14 @@ main: # @main i32.const $push75=, .L.str.3 i32.add $push76=, $pop74, $pop75 i32.call $push77=, strcmp@FUNCTION, $pop71, $pop76 - br_if $pop77, 0 # 0: down to label12 + br_if 0, $pop77 # 0: down to label12 # BB#13: # %if.end86 block - br_if $1, 0 # 0: down to label13 + br_if 0, $1 # 0: down to label13 # BB#14: # %if.end86 i32.const $push160=, 6 i32.ne $push78=, $3, $pop160 - br_if $pop78, 0 # 0: down to label13 + br_if 0, $pop78 # 0: down to label13 # BB#15: # %if.end90 i32.const $push79=, 5 i32.or $push80=, $7, $pop79 @@ -179,7 +179,7 @@ main: # @main block i32.const $push88=, .L.str.4 i32.call $push89=, strcmp@FUNCTION, $3, $pop88 - br_if $pop89, 0 # 0: down to label14 + br_if 0, $pop89 # 0: down to label14 # BB#16: # %if.end108 i32.const $push92=, 64 i32.call $discard=, memset@FUNCTION, $7, $2, $pop92 @@ -192,21 +192,21 @@ main: # @main i32.const $push95=, 10 i32.call $push97=, strncpy@FUNCTION, $3, $pop96, $pop95 i32.ne $push98=, $pop97, $3 - br_if $pop98, 0 # 0: down to label15 + br_if 0, $pop98 # 0: down to label15 # BB#17: # %if.end108 i32.load $push90=, x($1) i32.ne $push99=, $pop90, $2 - br_if $pop99, 0 # 0: down to label15 + br_if 0, $pop99 # 0: down to label15 # BB#18: # %if.end108 i32.load $push91=, y($1) i32.const $push100=, 2 i32.ne $push101=, $pop91, $pop100 - br_if $pop101, 0 # 0: down to label15 + br_if 0, $pop101 # 0: down to label15 # BB#19: # %lor.lhs.false125 i32.const $push102=, .L.str.6 i32.const $push103=, 12 i32.call $push104=, memcmp@FUNCTION, $7, $pop102, $pop103 - br_if $pop104, 0 # 0: down to label15 + br_if 0, $pop104 # 0: down to label15 # BB#20: # %if.end130 i32.const $push106=, 32 i32.const $push105=, 64 @@ -216,12 +216,12 @@ main: # @main i32.const $push108=, 8 i32.call $push109=, strncpy@FUNCTION, $7, $pop107, $pop108 i32.ne $push110=, $pop109, $7 - br_if $pop110, 0 # 0: down to label16 + br_if 0, $pop110 # 0: down to label16 # BB#21: # %lor.lhs.false136 i32.const $push111=, .L.str.8 i32.const $push112=, 9 i32.call $push113=, memcmp@FUNCTION, $7, $pop111, $pop112 - br_if $pop113, 0 # 0: down to label16 + br_if 0, $pop113 # 0: down to label16 # BB#22: # %if.end141 i32.const $push114=, buf i32.const $push116=, 32 @@ -241,12 +241,12 @@ main: # @main block i32.const $push165=, 3 i32.ne $push123=, $1, $pop165 - br_if $pop123, 0 # 0: down to label17 + br_if 0, $pop123 # 0: down to label17 # BB#23: # %lor.lhs.false148 i32.const $push124=, .L.str.9 i32.const $push168=, 3 i32.call $push125=, memcmp@FUNCTION, $3, $pop124, $pop168 - br_if $pop125, 0 # 0: down to label17 + br_if 0, $pop125 # 0: down to label17 # BB#24: # %lor.lhs.false158 i32.const $push171=, 0 i32.const $push126=, 4 @@ -259,7 +259,7 @@ main: # @main i32.const $push129=, .L.str.10 i32.const $push169=, 11 i32.call $push130=, memcmp@FUNCTION, $pop128, $pop129, $pop169 - br_if $pop130, 0 # 0: down to label18 + br_if 0, $pop130 # 0: down to label18 # BB#25: # %lor.lhs.false171 i32.const $push176=, 0 i32.const $push175=, 11 @@ -275,7 +275,7 @@ main: # @main i32.const $push132=, .L.str.11 i32.const $push133=, 7 i32.call $push135=, memcmp@FUNCTION, $pop134, $pop132, $pop133 - br_if $pop135, 0 # 0: down to label19 + br_if 0, $pop135 # 0: down to label19 # BB#26: # %lor.lhs.false180 i32.const $push137=, 0 i32.const $push136=, 15 @@ -290,7 +290,7 @@ main: # @main i32.const $push139=, .L.str.12 i32.const $push140=, 11 i32.call $push142=, memcmp@FUNCTION, $pop141, $pop139, $pop140 - br_if $pop142, 0 # 0: down to label20 + br_if 0, $pop142 # 0: down to label20 # BB#27: # %if.end184 i32.const $6=, 64 i32.add $7=, $7, $6 diff --git a/test/torture-s/strlen-1.c.s b/test/torture-s/strlen-1.c.s index dd4bc2e06..c9c7de48d 100644 --- a/test/torture-s/strlen-1.c.s +++ b/test/torture-s/strlen-1.c.s @@ -26,7 +26,7 @@ main: # @main block i32.const $push19=, 0 i32.eq $push20=, $1, $pop19 - br_if $pop20, 0 # 0: down to label5 + br_if 0, $pop20 # 0: down to label5 # BB#3: # %for.body6.preheader # in Loop: Header=BB0_2 Depth=2 i32.const $push10=, u @@ -41,7 +41,7 @@ main: # @main block i32.const $push21=, 0 i32.eq $push22=, $3, $pop21 - br_if $pop22, 0 # 0: down to label6 + br_if 0, $pop22 # 0: down to label6 # BB#5: # %for.body9.preheader # in Loop: Header=BB0_2 Depth=2 i32.const $push13=, 97 @@ -58,14 +58,14 @@ main: # @main i64.store $discard=, 0($4):p2align=0, $pop14 i32.call $push1=, strlen@FUNCTION, $0 i32.ne $push2=, $3, $pop1 - br_if $pop2, 4 # 4: down to label0 + br_if 4, $pop2 # 4: down to label0 # BB#7: # %for.cond1 # in Loop: Header=BB0_2 Depth=2 i32.const $push8=, 1 i32.add $3=, $3, $pop8 i32.const $push7=, 63 i32.le_u $push3=, $3, $pop7 - br_if $pop3, 0 # 0: up to label3 + br_if 0, $pop3 # 0: up to label3 # BB#8: # %for.inc26 # in Loop: Header=BB0_1 Depth=1 end_loop # label4: @@ -75,7 +75,7 @@ main: # @main i32.add $2=, $2, $pop17 i32.const $push16=, 8 i32.lt_u $push4=, $1, $pop16 - br_if $pop4, 0 # 0: up to label1 + br_if 0, $pop4 # 0: up to label1 # BB#9: # %for.end28 end_loop # label2: i32.const $push5=, 0 diff --git a/test/torture-s/strncmp-1.c.s b/test/torture-s/strncmp-1.c.s index 9f0620944..10dc1481e 100644 --- a/test/torture-s/strncmp-1.c.s +++ b/test/torture-s/strncmp-1.c.s @@ -11,22 +11,22 @@ test: # @test block i32.const $push0=, -1 i32.gt_s $push1=, $3, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 0 i32.lt_s $push3=, $2, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.then call abort@FUNCTION unreachable .LBB0_3: # %if.else end_block # label0: block - br_if $3, 0 # 0: down to label1 + br_if 0, $3 # 0: down to label1 # BB#4: # %if.else i32.const $push8=, 0 i32.eq $push9=, $2, $pop8 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#5: # %if.then5 call abort@FUNCTION unreachable @@ -35,11 +35,11 @@ test: # @test block i32.const $push4=, 1 i32.lt_s $push5=, $3, $pop4 - br_if $pop5, 0 # 0: down to label2 + br_if 0, $pop5 # 0: down to label2 # BB#7: # %if.else6 i32.const $push6=, 0 i32.gt_s $push7=, $2, $pop6 - br_if $pop7, 0 # 0: down to label2 + br_if 0, $pop7 # 0: down to label2 # BB#8: # %if.then10 call abort@FUNCTION unreachable @@ -100,7 +100,7 @@ main: # @main block i32.const $push63=, 0 i32.eq $push64=, $0, $pop63 - br_if $pop64, 0 # 0: down to label27 + br_if 0, $pop64 # 0: down to label27 # BB#4: # %for.body9.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push36=, u1 @@ -114,7 +114,7 @@ main: # @main block i32.const $push65=, 0 i32.eq $push66=, $4, $pop65 - br_if $pop66, 0 # 0: down to label28 + br_if 0, $pop66 # 0: down to label28 # BB#6: # %for.body12.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push37=, 97 @@ -129,7 +129,7 @@ main: # @main block i32.const $push67=, 0 i32.eq $push68=, $2, $pop67 - br_if $pop68, 0 # 0: down to label29 + br_if 0, $pop68 # 0: down to label29 # BB#8: # %for.body26.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push40=, u2 @@ -143,7 +143,7 @@ main: # @main block i32.const $push69=, 0 i32.eq $push70=, $4, $pop69 - br_if $pop70, 0 # 0: down to label30 + br_if 0, $pop70 # 0: down to label30 # BB#10: # %for.body33.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push41=, 97 @@ -158,11 +158,11 @@ main: # @main i32.store8 $11=, 0($8), $pop2 i32.const $push42=, 80 i32.call $push3=, strncmp@FUNCTION, $5, $7, $pop42 - br_if $pop3, 23 # 23: down to label3 + br_if 23, $pop3 # 23: down to label3 # BB#12: # %test.exit # in Loop: Header=BB1_3 Depth=3 i32.call $push4=, strncmp@FUNCTION, $5, $7, $4 - br_if $pop4, 22 # 22: down to label4 + br_if 22, $pop4 # 22: down to label4 # BB#13: # %test.exit185 # in Loop: Header=BB1_3 Depth=3 i32.store8 $discard=, 0($8), $11 @@ -171,11 +171,11 @@ main: # @main i32.const $push44=, 80 i32.call $push5=, strncmp@FUNCTION, $5, $7, $pop44 i32.le_s $push6=, $pop5, $11 - br_if $pop6, 21 # 21: down to label5 + br_if 21, $pop6 # 21: down to label5 # BB#14: # %test.exit190 # in Loop: Header=BB1_3 Depth=3 i32.call $push7=, strncmp@FUNCTION, $5, $7, $4 - br_if $pop7, 20 # 20: down to label6 + br_if 20, $pop7 # 20: down to label6 # BB#15: # %test.exit196 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($8):p2align=0, $10 @@ -183,11 +183,11 @@ main: # @main i32.const $push46=, 80 i32.call $push8=, strncmp@FUNCTION, $5, $7, $pop46 i32.ge_s $push9=, $pop8, $11 - br_if $pop9, 19 # 19: down to label7 + br_if 19, $pop9 # 19: down to label7 # BB#16: # %test.exit201 # in Loop: Header=BB1_3 Depth=3 i32.call $push10=, strncmp@FUNCTION, $5, $7, $4 - br_if $pop10, 18 # 18: down to label8 + br_if 18, $pop10 # 18: down to label8 # BB#17: # %test.exit207 # in Loop: Header=BB1_3 Depth=3 i32.const $push49=, 98 @@ -197,11 +197,11 @@ main: # @main i32.const $push47=, 80 i32.call $push11=, strncmp@FUNCTION, $5, $7, $pop47 i32.ge_s $push12=, $pop11, $11 - br_if $pop12, 17 # 17: down to label9 + br_if 17, $pop12 # 17: down to label9 # BB#18: # %test.exit213 # in Loop: Header=BB1_3 Depth=3 i32.call $push13=, strncmp@FUNCTION, $5, $7, $4 - br_if $pop13, 16 # 16: down to label10 + br_if 16, $pop13 # 16: down to label10 # BB#19: # %test.exit219 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($6):p2align=0, $12 @@ -209,11 +209,11 @@ main: # @main i32.const $push50=, 80 i32.call $push14=, strncmp@FUNCTION, $5, $7, $pop50 i32.le_s $push15=, $pop14, $11 - br_if $pop15, 15 # 15: down to label11 + br_if 15, $pop15 # 15: down to label11 # BB#20: # %test.exit225 # in Loop: Header=BB1_3 Depth=3 i32.call $push16=, strncmp@FUNCTION, $5, $7, $4 - br_if $pop16, 14 # 14: down to label12 + br_if 14, $pop16 # 14: down to label12 # BB#21: # %test.exit231 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($6):p2align=0, $10 @@ -222,11 +222,11 @@ main: # @main i32.const $push51=, 80 i32.call $push17=, strncmp@FUNCTION, $5, $7, $pop51 i32.ge_s $push18=, $pop17, $11 - br_if $pop18, 13 # 13: down to label13 + br_if 13, $pop18 # 13: down to label13 # BB#22: # %test.exit237 # in Loop: Header=BB1_3 Depth=3 i32.call $push19=, strncmp@FUNCTION, $5, $7, $4 - br_if $pop19, 12 # 12: down to label14 + br_if 12, $pop19 # 12: down to label14 # BB#23: # %test.exit243 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($8):p2align=0, $10 @@ -234,11 +234,11 @@ main: # @main i32.const $push53=, 80 i32.call $push20=, strncmp@FUNCTION, $5, $7, $pop53 i32.le_s $push21=, $pop20, $11 - br_if $pop21, 11 # 11: down to label15 + br_if 11, $pop21 # 11: down to label15 # BB#24: # %test.exit249 # in Loop: Header=BB1_3 Depth=3 i32.call $push22=, strncmp@FUNCTION, $5, $7, $4 - br_if $pop22, 10 # 10: down to label16 + br_if 10, $pop22 # 10: down to label16 # BB#25: # %test.exit255 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($6):p2align=0, $10 @@ -247,11 +247,11 @@ main: # @main i32.const $push54=, 80 i32.call $push23=, strncmp@FUNCTION, $5, $7, $pop54 i32.ge_s $push24=, $pop23, $11 - br_if $pop24, 9 # 9: down to label17 + br_if 9, $pop24 # 9: down to label17 # BB#26: # %test.exit261 # in Loop: Header=BB1_3 Depth=3 i32.call $push25=, strncmp@FUNCTION, $5, $7, $4 - br_if $pop25, 8 # 8: down to label18 + br_if 8, $pop25 # 8: down to label18 # BB#27: # %test.exit267 # in Loop: Header=BB1_3 Depth=3 i32.store16 $discard=, 0($6):p2align=0, $12 @@ -259,18 +259,18 @@ main: # @main i32.const $push56=, 80 i32.call $push26=, strncmp@FUNCTION, $5, $7, $pop56 i32.le_s $push27=, $pop26, $11 - br_if $pop27, 7 # 7: down to label19 + br_if 7, $pop27 # 7: down to label19 # BB#28: # %test.exit273 # in Loop: Header=BB1_3 Depth=3 i32.call $push28=, strncmp@FUNCTION, $5, $7, $4 - br_if $pop28, 6 # 6: down to label20 + br_if 6, $pop28 # 6: down to label20 # BB#29: # %for.cond4 # in Loop: Header=BB1_3 Depth=3 i32.const $push34=, 1 i32.add $4=, $4, $pop34 i32.const $push33=, 63 i32.le_u $push29=, $4, $pop33 - br_if $pop29, 0 # 0: up to label25 + br_if 0, $pop29 # 0: up to label25 # BB#30: # %for.inc79 # in Loop: Header=BB1_2 Depth=2 end_loop # label26: @@ -280,7 +280,7 @@ main: # @main i32.add $3=, $3, $pop58 i32.const $push57=, 8 i32.lt_u $push30=, $2, $pop57 - br_if $pop30, 0 # 0: up to label23 + br_if 0, $pop30 # 0: up to label23 # BB#31: # %for.inc82 # in Loop: Header=BB1_1 Depth=1 end_loop # label24: @@ -290,7 +290,7 @@ main: # @main i32.add $1=, $1, $pop61 i32.const $push60=, 8 i32.lt_u $push31=, $0, $pop60 - br_if $pop31, 0 # 0: up to label21 + br_if 0, $pop31 # 0: up to label21 # BB#32: # %for.end84 end_loop # label22: i32.const $push32=, 0 diff --git a/test/torture-s/struct-aliasing-1.c.s b/test/torture-s/struct-aliasing-1.c.s index e36e7b5ce..76e021830 100644 --- a/test/torture-s/struct-aliasing-1.c.s +++ b/test/torture-s/struct-aliasing-1.c.s @@ -42,7 +42,7 @@ main: # @main block i32.call $push2=, foo@FUNCTION, $3, $4 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 i32.const $2=, 16 diff --git a/test/torture-s/struct-ini-1.c.s b/test/torture-s/struct-ini-1.c.s index a42391150..7a5c3a64a 100644 --- a/test/torture-s/struct-ini-1.c.s +++ b/test/torture-s/struct-ini-1.c.s @@ -12,19 +12,19 @@ main: # @main i32.load8_u $push2=, object($pop10):p2align=2 i32.const $push3=, 88 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %entry i32.const $push11=, 0 i32.load $push0=, object+4($pop11) i32.const $push5=, 8 i32.ne $push6=, $pop0, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#2: # %entry i32.const $push12=, 0 i32.load $push1=, object+8($pop12) i32.const $push7=, 9 i32.ne $push8=, $pop1, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#3: # %if.end i32.const $push9=, 0 call exit@FUNCTION, $pop9 diff --git a/test/torture-s/struct-ini-2.c.s b/test/torture-s/struct-ini-2.c.s index 4121c4bc4..444d5cf66 100644 --- a/test/torture-s/struct-ini-2.c.s +++ b/test/torture-s/struct-ini-2.c.s @@ -16,21 +16,21 @@ main: # @main i32.and $push3=, $pop15, $pop2 i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end block i32.const $push6=, 3840 i32.and $push7=, $0, $pop6 i32.const $push8=, 768 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label1 + br_if 0, $pop9 # 0: down to label1 # BB#2: # %if.end7 block i32.const $push10=, 61440 i32.and $push11=, $0, $pop10 i32.const $push12=, 16384 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label2 + br_if 0, $pop13 # 0: down to label2 # BB#3: # %if.end13 i32.const $push14=, 0 call exit@FUNCTION, $pop14 diff --git a/test/torture-s/struct-ini-4.c.s b/test/torture-s/struct-ini-4.c.s index 58ff549a7..c18828dde 100644 --- a/test/torture-s/struct-ini-4.c.s +++ b/test/torture-s/struct-ini-4.c.s @@ -12,7 +12,7 @@ main: # @main i32.load $push0=, s+12($pop3) i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 call exit@FUNCTION, $pop4 diff --git a/test/torture-s/struct-ret-1.c.s b/test/torture-s/struct-ret-1.c.s index 4f0608473..2ac98cb53 100644 --- a/test/torture-s/struct-ret-1.c.s +++ b/test/torture-s/struct-ret-1.c.s @@ -224,7 +224,7 @@ main: # @main i32.add $23=, $24, $23 i32.call $3=, strcmp@FUNCTION, $23, $pop27 block - br_if $3, 0 # 0: down to label0 + br_if 0, $3 # 0: down to label0 # BB#1: # %if.end i32.const $push53=, 0 call exit@FUNCTION, $pop53 diff --git a/test/torture-s/switch-1.c.s b/test/torture-s/switch-1.c.s index ee4254056..016f4d960 100644 --- a/test/torture-s/switch-1.c.s +++ b/test/torture-s/switch-1.c.s @@ -14,7 +14,7 @@ foo: # @foo tee_local $push8=, $0=, $pop0 i32.const $push2=, 7 i32.gt_u $push3=, $pop8, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %switch.lookup i32.const $push5=, 2 i32.shl $push6=, $0, $pop5 @@ -50,7 +50,7 @@ main: # @main i32.const $push11=, 7 i32.gt_u $push1=, $pop12, $pop11 tee_local $push10=, $3=, $pop1 - br_if $pop10, 0 # 0: down to label4 + br_if 0, $pop10 # 0: down to label4 # BB#2: # %switch.lookup.i # in Loop: Header=BB1_1 Depth=1 i32.const $push14=, 2 @@ -60,7 +60,7 @@ main: # @main # in Loop: Header=BB1_1 Depth=1 end_block # label4: block - br_if $3, 0 # 0: down to label5 + br_if 0, $3 # 0: down to label5 # BB#4: # %foo.exit # in Loop: Header=BB1_1 Depth=1 block @@ -79,7 +79,7 @@ main: # @main end_block # label11: i32.const $push15=, 30 i32.eq $push6=, $2, $pop15 - br_if $pop6, 3 # 3: down to label7 + br_if 3, $pop6 # 3: down to label7 # BB#6: # %if.then3 call abort@FUNCTION unreachable @@ -88,7 +88,7 @@ main: # @main end_block # label10: i32.const $push16=, 30 i32.eq $push5=, $2, $pop16 - br_if $pop5, 2 # 2: down to label7 + br_if 2, $pop5 # 2: down to label7 # BB#8: # %if.then7 call abort@FUNCTION unreachable @@ -97,7 +97,7 @@ main: # @main end_block # label9: i32.const $push17=, 30 i32.eq $push4=, $2, $pop17 - br_if $pop4, 1 # 1: down to label7 + br_if 1, $pop4 # 1: down to label7 # BB#10: # %if.then13 call abort@FUNCTION unreachable @@ -106,7 +106,7 @@ main: # @main end_block # label8: i32.const $push18=, 30 i32.ne $push3=, $2, $pop18 - br_if $pop3, 1 # 1: down to label6 + br_if 1, $pop3 # 1: down to label6 .LBB1_12: # %for.inc.thread # in Loop: Header=BB1_1 Depth=1 end_block # label7: @@ -122,14 +122,14 @@ main: # @main end_block # label5: i32.const $push19=, 31 i32.ne $push7=, $2, $pop19 - br_if $pop7, 2 # 2: down to label1 + br_if 2, $pop7 # 2: down to label1 # BB#15: # %for.inc # in Loop: Header=BB1_1 Depth=1 i32.const $push22=, 1 i32.add $1=, $1, $pop22 i32.const $push21=, 66 i32.lt_s $push8=, $1, $pop21 - br_if $pop8, 0 # 0: up to label2 + br_if 0, $pop8 # 0: up to label2 # BB#16: # %for.end end_loop # label3: i32.const $push9=, 0 diff --git a/test/torture-s/usmul.c.s b/test/torture-s/usmul.c.s index 968cc1e2d..9198092a4 100644 --- a/test/torture-s/usmul.c.s +++ b/test/torture-s/usmul.c.s @@ -41,7 +41,7 @@ main: # @main i32.call $push1=, foo@FUNCTION, $pop0, $pop33 i32.const $push2=, -131070 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end block i32.const $push4=, 2 @@ -49,7 +49,7 @@ main: # @main i32.call $push5=, foo@FUNCTION, $pop4, $pop34 i32.const $push6=, 131070 i32.ne $push7=, $pop5, $pop6 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %if.end4 block i32.const $push8=, -32768 @@ -57,7 +57,7 @@ main: # @main i32.call $push9=, foo@FUNCTION, $pop8, $pop35 i32.const $push10=, -1073741824 i32.ne $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label2 + br_if 0, $pop11 # 0: down to label2 # BB#3: # %if.end8 block i32.const $push12=, 32767 @@ -65,7 +65,7 @@ main: # @main i32.call $push13=, foo@FUNCTION, $pop12, $pop36 i32.const $push14=, 1073709056 i32.ne $push15=, $pop13, $pop14 - br_if $pop15, 0 # 0: down to label3 + br_if 0, $pop15 # 0: down to label3 # BB#4: # %if.end12 block i32.const $push37=, 65535 @@ -73,7 +73,7 @@ main: # @main i32.call $push17=, bar@FUNCTION, $pop37, $pop16 i32.const $push18=, -131070 i32.ne $push19=, $pop17, $pop18 - br_if $pop19, 0 # 0: down to label4 + br_if 0, $pop19 # 0: down to label4 # BB#5: # %if.end16 block i32.const $push38=, 65535 @@ -81,7 +81,7 @@ main: # @main i32.call $push21=, bar@FUNCTION, $pop38, $pop20 i32.const $push22=, 131070 i32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label5 + br_if 0, $pop23 # 0: down to label5 # BB#6: # %if.end20 block i32.const $push39=, 32768 @@ -89,7 +89,7 @@ main: # @main i32.call $push25=, bar@FUNCTION, $pop39, $pop24 i32.const $push26=, -1073741824 i32.ne $push27=, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label6 + br_if 0, $pop27 # 0: down to label6 # BB#7: # %if.end24 block i32.const $push40=, 32768 @@ -97,7 +97,7 @@ main: # @main i32.call $push29=, bar@FUNCTION, $pop40, $pop28 i32.const $push30=, 1073709056 i32.ne $push31=, $pop29, $pop30 - br_if $pop31, 0 # 0: down to label7 + br_if 0, $pop31 # 0: down to label7 # BB#8: # %if.end28 i32.const $push32=, 0 call exit@FUNCTION, $pop32 diff --git a/test/torture-s/va-arg-1.c.s b/test/torture-s/va-arg-1.c.s index dd0ff0783..4b6fcf293 100644 --- a/test/torture-s/va-arg-1.c.s +++ b/test/torture-s/va-arg-1.c.s @@ -29,7 +29,7 @@ f: # @f i32.load $push4=, 0($9) i32.const $push5=, 10 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.load $push7=, 12($13) i32.const $push29=, 3 @@ -44,7 +44,7 @@ f: # @f i32.load $push11=, 0($9) i32.const $push12=, 11 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %if.end4 i32.load $push14=, 12($13) i32.const $push15=, 3 @@ -57,7 +57,7 @@ f: # @f i32.store $discard=, 12($13), $pop20 block i32.load $push21=, 0($9) - br_if $pop21, 0 # 0: down to label2 + br_if 0, $pop21 # 0: down to label2 # BB#3: # %if.end7 i32.const $12=, 16 i32.add $13=, $14, $12 diff --git a/test/torture-s/va-arg-11.c.s b/test/torture-s/va-arg-11.c.s index e771488f7..bf4cc4efa 100644 --- a/test/torture-s/va-arg-11.c.s +++ b/test/torture-s/va-arg-11.c.s @@ -38,7 +38,7 @@ main: # @main i32.const $5=, __stack_pointer i32.store $8=, 0($5), $8 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end call exit@FUNCTION, $1 unreachable diff --git a/test/torture-s/va-arg-12.c.s b/test/torture-s/va-arg-12.c.s index d4c1c29c5..1f828bb08 100644 --- a/test/torture-s/va-arg-12.c.s +++ b/test/torture-s/va-arg-12.c.s @@ -28,7 +28,7 @@ f: # @f f64.load $push4=, 0($9) f64.const $push5=, 0x1.4p3 f64.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.load $push7=, 12($13) i32.const $push31=, 7 @@ -43,7 +43,7 @@ f: # @f f64.load $push11=, 0($9) f64.const $push12=, 0x1.6p3 f64.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %if.end4 i32.load $push14=, 12($13) i32.const $push15=, 7 @@ -58,7 +58,7 @@ f: # @f f64.load $push21=, 0($9) f64.const $push22=, 0x0p0 f64.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label2 + br_if 0, $pop23 # 0: down to label2 # BB#3: # %if.end7 i32.const $12=, 16 i32.add $13=, $14, $12 diff --git a/test/torture-s/va-arg-13.c.s b/test/torture-s/va-arg-13.c.s index ff68e7a2b..93a8bf5a1 100644 --- a/test/torture-s/va-arg-13.c.s +++ b/test/torture-s/va-arg-13.c.s @@ -27,7 +27,7 @@ dummy: # @dummy i32.load $push7=, 0($0) i32.const $push8=, 1234 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end i32.const $3=, 16 i32.add $4=, $4, $3 @@ -74,7 +74,7 @@ test: # @test i32.load $push6=, 0($1) i32.const $push15=, 1234 i32.ne $push7=, $pop6, $pop15 - br_if $pop7, 0 # 0: down to label1 + br_if 0, $pop7 # 0: down to label1 # BB#1: # %dummy.exit i32.store $discard=, 0($2), $7 i32.load $push8=, 0($2) @@ -91,7 +91,7 @@ test: # @test i32.load $push13=, 0($2) i32.const $push22=, 1234 i32.ne $push14=, $pop13, $pop22 - br_if $pop14, 0 # 0: down to label2 + br_if 0, $pop14 # 0: down to label2 # BB#2: # %dummy.exit16 i32.const $5=, 16 i32.add $6=, $7, $5 diff --git a/test/torture-s/va-arg-14.c.s b/test/torture-s/va-arg-14.c.s index 4a1e11388..3781e3c17 100644 --- a/test/torture-s/va-arg-14.c.s +++ b/test/torture-s/va-arg-14.c.s @@ -33,7 +33,7 @@ vat: # @vat i32.load $push5=, 0($0) i32.const $push51=, 1 i32.ne $push6=, $pop5, $pop51 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.const $push63=, 0 i32.const $push62=, 0 @@ -50,7 +50,7 @@ vat: # @vat i32.load $push11=, 0($0) i32.const $push57=, 1 i32.ne $push12=, $pop11, $pop57 - br_if $pop12, 0 # 0: down to label1 + br_if 0, $pop12 # 0: down to label1 # BB#2: # %if.end5 i32.load $push13=, 12($4) i32.const $push68=, 3 @@ -65,7 +65,7 @@ vat: # @vat i32.load $push17=, 0($0) i32.const $push64=, 1 i32.ne $push18=, $pop17, $pop64 - br_if $pop18, 0 # 0: down to label2 + br_if 0, $pop18 # 0: down to label2 # BB#3: # %if.end8 i32.const $push74=, 0 i32.store $push19=, 12($4), $5 @@ -83,7 +83,7 @@ vat: # @vat i32.load $push25=, 0($0) i32.const $push69=, 1 i32.ne $push26=, $pop25, $pop69 - br_if $pop26, 0 # 0: down to label3 + br_if 0, $pop26 # 0: down to label3 # BB#4: # %if.end13 i32.const $push80=, 0 i32.load $push27=, global($pop80) @@ -100,7 +100,7 @@ vat: # @vat i32.load $push32=, 0($0) i32.const $push75=, 1 i32.ne $push33=, $pop32, $pop75 - br_if $pop33, 0 # 0: down to label4 + br_if 0, $pop33 # 0: down to label4 # BB#5: # %if.end17 i32.const $push34=, 0 i32.const $push86=, 0 @@ -117,7 +117,7 @@ vat: # @vat i32.load $push39=, 0($0) i32.const $push81=, 1 i32.ne $push40=, $pop39, $pop81 - br_if $pop40, 0 # 0: down to label5 + br_if 0, $pop40 # 0: down to label5 # BB#6: # %if.end21 i32.load $push41=, 12($4) i32.const $push42=, 3 @@ -132,7 +132,7 @@ vat: # @vat i32.load $push48=, 0($0) i32.const $push49=, 1 i32.ne $push50=, $pop48, $pop49 - br_if $pop50, 0 # 0: down to label6 + br_if 0, $pop50 # 0: down to label6 # BB#7: # %if.end24 i32.const $3=, 16 i32.add $4=, $5, $3 diff --git a/test/torture-s/va-arg-15.c.s b/test/torture-s/va-arg-15.c.s index 7f5d7ec29..4bf475058 100644 --- a/test/torture-s/va-arg-15.c.s +++ b/test/torture-s/va-arg-15.c.s @@ -27,7 +27,7 @@ vafunction: # @vafunction i32.add $push0=, $1, $pop17 i32.const $push16=, 1 i32.and $push1=, $pop0, $pop16 - br_if $pop1, 0 # 0: down to label4 + br_if 0, $pop1 # 0: down to label4 # BB#2: # %if.else # in Loop: Header=BB0_1 Depth=1 i32.load $push9=, 12($6) @@ -41,7 +41,7 @@ vafunction: # @vafunction i32.store $discard=, 12($6), $pop12 i32.load $push13=, 0($2) i32.eq $push14=, $1, $pop13 - br_if $pop14, 1 # 1: down to label3 + br_if 1, $pop14 # 1: down to label3 # BB#3: # %if.then7 call abort@FUNCTION unreachable @@ -60,7 +60,7 @@ vafunction: # @vafunction f64.load $push6=, 0($2) f64.convert_s/i32 $push7=, $1 f64.ne $push8=, $pop6, $pop7 - br_if $pop8, 3 # 3: down to label0 + br_if 3, $pop8 # 3: down to label0 .LBB0_5: # %for.inc # in Loop: Header=BB0_1 Depth=1 end_block # label3: @@ -68,7 +68,7 @@ vafunction: # @vafunction i32.add $1=, $1, $pop27 i32.const $push26=, 19 i32.lt_s $push15=, $1, $pop26 - br_if $pop15, 0 # 0: up to label1 + br_if 0, $pop15 # 0: up to label1 # BB#6: # %for.end end_loop # label2: i32.const $5=, 16 diff --git a/test/torture-s/va-arg-16.c.s b/test/torture-s/va-arg-16.c.s index 4e1a6551f..bb8f6b76c 100644 --- a/test/torture-s/va-arg-16.c.s +++ b/test/torture-s/va-arg-16.c.s @@ -19,12 +19,12 @@ vafunction: # @vafunction block f64.const $push0=, 0x1.bcp9 f64.ne $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end block f64.const $push2=, 0x1.f38p9 f64.ne $push3=, $1, $pop2 - br_if $pop3, 0 # 0: down to label1 + br_if 0, $pop3 # 0: down to label1 # BB#2: # %if.end4 i32.load $push4=, 12($6) i32.const $push73=, 7 @@ -39,7 +39,7 @@ vafunction: # @vafunction f64.load $push8=, 0($2) f64.const $push9=, 0x1p0 f64.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label2 + br_if 0, $pop10 # 0: down to label2 # BB#3: # %if.end7 i32.load $push11=, 12($6) i32.const $push77=, 7 @@ -54,7 +54,7 @@ vafunction: # @vafunction f64.load $push15=, 0($2) f64.const $push16=, 0x1p1 f64.ne $push17=, $pop15, $pop16 - br_if $pop17, 0 # 0: down to label3 + br_if 0, $pop17 # 0: down to label3 # BB#4: # %if.end10 i32.load $push18=, 12($6) i32.const $push81=, 7 @@ -69,7 +69,7 @@ vafunction: # @vafunction f64.load $push22=, 0($2) f64.const $push23=, 0x1.8p1 f64.ne $push24=, $pop22, $pop23 - br_if $pop24, 0 # 0: down to label4 + br_if 0, $pop24 # 0: down to label4 # BB#5: # %if.end13 i32.load $push25=, 12($6) i32.const $push85=, 7 @@ -84,7 +84,7 @@ vafunction: # @vafunction f64.load $push29=, 0($2) f64.const $push30=, 0x1p2 f64.ne $push31=, $pop29, $pop30 - br_if $pop31, 0 # 0: down to label5 + br_if 0, $pop31 # 0: down to label5 # BB#6: # %if.end16 i32.load $push32=, 12($6) i32.const $push89=, 7 @@ -99,7 +99,7 @@ vafunction: # @vafunction f64.load $push36=, 0($2) f64.const $push37=, 0x1.4p2 f64.ne $push38=, $pop36, $pop37 - br_if $pop38, 0 # 0: down to label6 + br_if 0, $pop38 # 0: down to label6 # BB#7: # %if.end19 i32.load $push39=, 12($6) i32.const $push93=, 7 @@ -114,7 +114,7 @@ vafunction: # @vafunction f64.load $push43=, 0($2) f64.const $push44=, 0x1.8p2 f64.ne $push45=, $pop43, $pop44 - br_if $pop45, 0 # 0: down to label7 + br_if 0, $pop45 # 0: down to label7 # BB#8: # %if.end22 i32.load $push46=, 12($6) i32.const $push97=, 7 @@ -129,7 +129,7 @@ vafunction: # @vafunction f64.load $push50=, 0($2) f64.const $push51=, 0x1.cp2 f64.ne $push52=, $pop50, $pop51 - br_if $pop52, 0 # 0: down to label8 + br_if 0, $pop52 # 0: down to label8 # BB#9: # %if.end25 i32.load $push53=, 12($6) i32.const $push101=, 7 @@ -144,7 +144,7 @@ vafunction: # @vafunction f64.load $push57=, 0($2) f64.const $push58=, 0x1p3 f64.ne $push59=, $pop57, $pop58 - br_if $pop59, 0 # 0: down to label9 + br_if 0, $pop59 # 0: down to label9 # BB#10: # %if.end28 i32.load $push60=, 12($6) i32.const $push61=, 7 @@ -159,7 +159,7 @@ vafunction: # @vafunction f64.load $push67=, 0($2) f64.const $push68=, 0x1.2p3 f64.ne $push69=, $pop67, $pop68 - br_if $pop69, 0 # 0: down to label10 + br_if 0, $pop69 # 0: down to label10 # BB#11: # %if.end31 i32.const $5=, 16 i32.add $6=, $7, $5 diff --git a/test/torture-s/va-arg-17.c.s b/test/torture-s/va-arg-17.c.s index b2e4e0cd3..1532b220f 100644 --- a/test/torture-s/va-arg-17.c.s +++ b/test/torture-s/va-arg-17.c.s @@ -28,7 +28,7 @@ vafunction: # @vafunction f64.load $push4=, 0($1) f64.const $push5=, 0x1p0 f64.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.load $push7=, 12($5) i32.const $push73=, 7 @@ -43,7 +43,7 @@ vafunction: # @vafunction f64.load $push11=, 0($1) f64.const $push12=, 0x1p1 f64.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %if.end4 i32.load $push14=, 12($5) i32.const $push77=, 7 @@ -58,7 +58,7 @@ vafunction: # @vafunction f64.load $push18=, 0($1) f64.const $push19=, 0x1.8p1 f64.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label2 + br_if 0, $pop20 # 0: down to label2 # BB#3: # %if.end7 i32.load $push21=, 12($5) i32.const $push81=, 7 @@ -73,7 +73,7 @@ vafunction: # @vafunction f64.load $push25=, 0($1) f64.const $push26=, 0x1p2 f64.ne $push27=, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label3 + br_if 0, $pop27 # 0: down to label3 # BB#4: # %if.end10 i32.load $push28=, 12($5) i32.const $push85=, 7 @@ -88,7 +88,7 @@ vafunction: # @vafunction f64.load $push32=, 0($1) f64.const $push33=, 0x1.4p2 f64.ne $push34=, $pop32, $pop33 - br_if $pop34, 0 # 0: down to label4 + br_if 0, $pop34 # 0: down to label4 # BB#5: # %if.end13 i32.load $push35=, 12($5) i32.const $push89=, 7 @@ -103,7 +103,7 @@ vafunction: # @vafunction f64.load $push39=, 0($1) f64.const $push40=, 0x1.8p2 f64.ne $push41=, $pop39, $pop40 - br_if $pop41, 0 # 0: down to label5 + br_if 0, $pop41 # 0: down to label5 # BB#6: # %if.end16 i32.load $push42=, 12($5) i32.const $push93=, 7 @@ -118,7 +118,7 @@ vafunction: # @vafunction f64.load $push46=, 0($1) f64.const $push47=, 0x1.cp2 f64.ne $push48=, $pop46, $pop47 - br_if $pop48, 0 # 0: down to label6 + br_if 0, $pop48 # 0: down to label6 # BB#7: # %if.end19 i32.load $push49=, 12($5) i32.const $push97=, 7 @@ -133,7 +133,7 @@ vafunction: # @vafunction f64.load $push53=, 0($1) f64.const $push54=, 0x1p3 f64.ne $push55=, $pop53, $pop54 - br_if $pop55, 0 # 0: down to label7 + br_if 0, $pop55 # 0: down to label7 # BB#8: # %if.end22 i32.load $push56=, 12($5) i32.const $push57=, 7 @@ -148,7 +148,7 @@ vafunction: # @vafunction f64.load $push63=, 0($1) f64.const $push64=, 0x1.2p3 f64.ne $push65=, $pop63, $pop64 - br_if $pop65, 0 # 0: down to label8 + br_if 0, $pop65 # 0: down to label8 # BB#9: # %if.end25 i32.const $4=, 16 i32.add $5=, $6, $4 diff --git a/test/torture-s/va-arg-18.c.s b/test/torture-s/va-arg-18.c.s index f6dfeb172..12143274c 100644 --- a/test/torture-s/va-arg-18.c.s +++ b/test/torture-s/va-arg-18.c.s @@ -28,7 +28,7 @@ f: # @f i32.load $push4=, 0($9) i32.const $push5=, 10 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.load $push7=, 12($13) i32.const $push31=, 3 @@ -43,7 +43,7 @@ f: # @f i32.load $push11=, 0($9) i32.const $push12=, 11 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %if.end4 i32.load $push14=, 12($13) i32.const $push15=, 3 @@ -58,7 +58,7 @@ f: # @f i32.load $push21=, 0($9) i32.const $push22=, 12 i32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label2 + br_if 0, $pop23 # 0: down to label2 # BB#3: # %if.end7 i32.const $12=, 16 i32.add $13=, $14, $12 diff --git a/test/torture-s/va-arg-19.c.s b/test/torture-s/va-arg-19.c.s index 64287d001..58a8d88fc 100644 --- a/test/torture-s/va-arg-19.c.s +++ b/test/torture-s/va-arg-19.c.s @@ -28,7 +28,7 @@ vafunction: # @vafunction i32.load $push4=, 0($1) i32.const $push5=, 1 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.load $push7=, 12($5) i32.const $push71=, 3 @@ -43,7 +43,7 @@ vafunction: # @vafunction i32.load $push11=, 0($1) i32.const $push12=, 2 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %if.end4 i32.load $push14=, 12($5) i32.const $push76=, 3 @@ -58,7 +58,7 @@ vafunction: # @vafunction i32.load $push18=, 0($1) i32.const $push72=, 3 i32.ne $push19=, $pop18, $pop72 - br_if $pop19, 0 # 0: down to label2 + br_if 0, $pop19 # 0: down to label2 # BB#3: # %if.end7 i32.load $push20=, 12($5) i32.const $push81=, 3 @@ -73,7 +73,7 @@ vafunction: # @vafunction i32.load $push24=, 0($1) i32.const $push77=, 4 i32.ne $push25=, $pop24, $pop77 - br_if $pop25, 0 # 0: down to label3 + br_if 0, $pop25 # 0: down to label3 # BB#4: # %if.end10 i32.load $push26=, 12($5) i32.const $push85=, 3 @@ -88,7 +88,7 @@ vafunction: # @vafunction i32.load $push30=, 0($1) i32.const $push31=, 5 i32.ne $push32=, $pop30, $pop31 - br_if $pop32, 0 # 0: down to label4 + br_if 0, $pop32 # 0: down to label4 # BB#5: # %if.end13 i32.load $push33=, 12($5) i32.const $push89=, 3 @@ -103,7 +103,7 @@ vafunction: # @vafunction i32.load $push37=, 0($1) i32.const $push38=, 6 i32.ne $push39=, $pop37, $pop38 - br_if $pop39, 0 # 0: down to label5 + br_if 0, $pop39 # 0: down to label5 # BB#6: # %if.end16 i32.load $push40=, 12($5) i32.const $push93=, 3 @@ -118,7 +118,7 @@ vafunction: # @vafunction i32.load $push44=, 0($1) i32.const $push45=, 7 i32.ne $push46=, $pop44, $pop45 - br_if $pop46, 0 # 0: down to label6 + br_if 0, $pop46 # 0: down to label6 # BB#7: # %if.end19 i32.load $push47=, 12($5) i32.const $push97=, 3 @@ -133,7 +133,7 @@ vafunction: # @vafunction i32.load $push51=, 0($1) i32.const $push52=, 8 i32.ne $push53=, $pop51, $pop52 - br_if $pop53, 0 # 0: down to label7 + br_if 0, $pop53 # 0: down to label7 # BB#8: # %if.end22 i32.load $push54=, 12($5) i32.const $push55=, 3 @@ -148,7 +148,7 @@ vafunction: # @vafunction i32.load $push61=, 0($1) i32.const $push62=, 9 i32.ne $push63=, $pop61, $pop62 - br_if $pop63, 0 # 0: down to label8 + br_if 0, $pop63 # 0: down to label8 # BB#9: # %if.end25 i32.const $4=, 16 i32.add $5=, $6, $4 diff --git a/test/torture-s/va-arg-2.c.s b/test/torture-s/va-arg-2.c.s index 493a0cc30..bb7f18b1f 100644 --- a/test/torture-s/va-arg-2.c.s +++ b/test/torture-s/va-arg-2.c.s @@ -11,7 +11,7 @@ to_hex: # @to_hex block i32.const $push0=, 16 i32.ge_u $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.load8_s $push2=, .L.str($0) return $pop2 @@ -43,7 +43,7 @@ f0: # @f0 i32.call $push2=, strlen@FUNCTION, $0 i32.const $push3=, 16 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label1 + br_if 0, $pop4 # 0: down to label1 .LBB1_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -53,7 +53,7 @@ f0: # @f0 tee_local $push17=, $1=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label2 + br_if 3, $pop21 # 3: down to label2 # BB#2: # %while.body # in Loop: Header=BB1_1 Depth=1 i32.load $push5=, 12($6) @@ -69,14 +69,14 @@ f0: # @f0 tee_local $push18=, $2=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label3 + br_if 2, $pop13 # 2: down to label3 # BB#3: # %to_hex.exit # in Loop: Header=BB1_1 Depth=1 i32.const $push14=, 1 i32.add $0=, $0, $pop14 i32.load8_u $push15=, .L.str($2) i32.eq $push16=, $1, $pop15 - br_if $pop16, 0 # 0: up to label4 + br_if 0, $pop16 # 0: up to label4 # BB#4: # %if.then5 end_loop # label5: call abort@FUNCTION @@ -120,7 +120,7 @@ f1: # @f1 i32.call $push2=, strlen@FUNCTION, $1 i32.const $push3=, 15 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label6 + br_if 0, $pop4 # 0: down to label6 .LBB2_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -130,7 +130,7 @@ f1: # @f1 tee_local $push17=, $2=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label7 + br_if 3, $pop21 # 3: down to label7 # BB#2: # %while.body # in Loop: Header=BB2_1 Depth=1 i32.load $push5=, 12($7) @@ -146,14 +146,14 @@ f1: # @f1 tee_local $push18=, $3=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label8 + br_if 2, $pop13 # 2: down to label8 # BB#3: # %to_hex.exit # in Loop: Header=BB2_1 Depth=1 i32.const $push14=, 1 i32.add $1=, $1, $pop14 i32.load8_u $push15=, .L.str($3) i32.eq $push16=, $2, $pop15 - br_if $pop16, 0 # 0: up to label9 + br_if 0, $pop16 # 0: up to label9 # BB#4: # %if.then5 end_loop # label10: call abort@FUNCTION @@ -197,7 +197,7 @@ f2: # @f2 i32.call $push2=, strlen@FUNCTION, $2 i32.const $push3=, 14 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label11 + br_if 0, $pop4 # 0: down to label11 .LBB3_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -207,7 +207,7 @@ f2: # @f2 tee_local $push17=, $3=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label12 + br_if 3, $pop21 # 3: down to label12 # BB#2: # %while.body # in Loop: Header=BB3_1 Depth=1 i32.load $push5=, 12($8) @@ -223,14 +223,14 @@ f2: # @f2 tee_local $push18=, $4=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label13 + br_if 2, $pop13 # 2: down to label13 # BB#3: # %to_hex.exit # in Loop: Header=BB3_1 Depth=1 i32.const $push14=, 1 i32.add $2=, $2, $pop14 i32.load8_u $push15=, .L.str($4) i32.eq $push16=, $3, $pop15 - br_if $pop16, 0 # 0: up to label14 + br_if 0, $pop16 # 0: up to label14 # BB#4: # %if.then5 end_loop # label15: call abort@FUNCTION @@ -274,7 +274,7 @@ f3: # @f3 i32.call $push2=, strlen@FUNCTION, $3 i32.const $push3=, 13 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label16 + br_if 0, $pop4 # 0: down to label16 .LBB4_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -284,7 +284,7 @@ f3: # @f3 tee_local $push17=, $4=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label17 + br_if 3, $pop21 # 3: down to label17 # BB#2: # %while.body # in Loop: Header=BB4_1 Depth=1 i32.load $push5=, 12($9) @@ -300,14 +300,14 @@ f3: # @f3 tee_local $push18=, $5=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label18 + br_if 2, $pop13 # 2: down to label18 # BB#3: # %to_hex.exit # in Loop: Header=BB4_1 Depth=1 i32.const $push14=, 1 i32.add $3=, $3, $pop14 i32.load8_u $push15=, .L.str($5) i32.eq $push16=, $4, $pop15 - br_if $pop16, 0 # 0: up to label19 + br_if 0, $pop16 # 0: up to label19 # BB#4: # %if.then5 end_loop # label20: call abort@FUNCTION @@ -351,7 +351,7 @@ f4: # @f4 i32.call $push2=, strlen@FUNCTION, $4 i32.const $push3=, 12 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label21 + br_if 0, $pop4 # 0: down to label21 .LBB5_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -361,7 +361,7 @@ f4: # @f4 tee_local $push17=, $5=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label22 + br_if 3, $pop21 # 3: down to label22 # BB#2: # %while.body # in Loop: Header=BB5_1 Depth=1 i32.load $push5=, 12($10) @@ -377,14 +377,14 @@ f4: # @f4 tee_local $push18=, $6=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label23 + br_if 2, $pop13 # 2: down to label23 # BB#3: # %to_hex.exit # in Loop: Header=BB5_1 Depth=1 i32.const $push14=, 1 i32.add $4=, $4, $pop14 i32.load8_u $push15=, .L.str($6) i32.eq $push16=, $5, $pop15 - br_if $pop16, 0 # 0: up to label24 + br_if 0, $pop16 # 0: up to label24 # BB#4: # %if.then5 end_loop # label25: call abort@FUNCTION @@ -428,7 +428,7 @@ f5: # @f5 i32.call $push2=, strlen@FUNCTION, $5 i32.const $push3=, 11 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label26 + br_if 0, $pop4 # 0: down to label26 .LBB6_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -438,7 +438,7 @@ f5: # @f5 tee_local $push17=, $6=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label27 + br_if 3, $pop21 # 3: down to label27 # BB#2: # %while.body # in Loop: Header=BB6_1 Depth=1 i32.load $push5=, 12($11) @@ -454,14 +454,14 @@ f5: # @f5 tee_local $push18=, $7=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label28 + br_if 2, $pop13 # 2: down to label28 # BB#3: # %to_hex.exit # in Loop: Header=BB6_1 Depth=1 i32.const $push14=, 1 i32.add $5=, $5, $pop14 i32.load8_u $push15=, .L.str($7) i32.eq $push16=, $6, $pop15 - br_if $pop16, 0 # 0: up to label29 + br_if 0, $pop16 # 0: up to label29 # BB#4: # %if.then5 end_loop # label30: call abort@FUNCTION @@ -505,7 +505,7 @@ f6: # @f6 i32.call $push2=, strlen@FUNCTION, $6 i32.const $push3=, 10 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label31 + br_if 0, $pop4 # 0: down to label31 .LBB7_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -515,7 +515,7 @@ f6: # @f6 tee_local $push17=, $7=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label32 + br_if 3, $pop21 # 3: down to label32 # BB#2: # %while.body # in Loop: Header=BB7_1 Depth=1 i32.load $push5=, 12($12) @@ -531,14 +531,14 @@ f6: # @f6 tee_local $push18=, $8=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label33 + br_if 2, $pop13 # 2: down to label33 # BB#3: # %to_hex.exit # in Loop: Header=BB7_1 Depth=1 i32.const $push14=, 1 i32.add $6=, $6, $pop14 i32.load8_u $push15=, .L.str($8) i32.eq $push16=, $7, $pop15 - br_if $pop16, 0 # 0: up to label34 + br_if 0, $pop16 # 0: up to label34 # BB#4: # %if.then5 end_loop # label35: call abort@FUNCTION @@ -582,7 +582,7 @@ f7: # @f7 i32.call $push2=, strlen@FUNCTION, $7 i32.const $push3=, 9 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label36 + br_if 0, $pop4 # 0: down to label36 .LBB8_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -592,7 +592,7 @@ f7: # @f7 tee_local $push17=, $8=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label37 + br_if 3, $pop21 # 3: down to label37 # BB#2: # %while.body # in Loop: Header=BB8_1 Depth=1 i32.load $push5=, 12($13) @@ -608,14 +608,14 @@ f7: # @f7 tee_local $push18=, $9=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label38 + br_if 2, $pop13 # 2: down to label38 # BB#3: # %to_hex.exit # in Loop: Header=BB8_1 Depth=1 i32.const $push14=, 1 i32.add $7=, $7, $pop14 i32.load8_u $push15=, .L.str($9) i32.eq $push16=, $8, $pop15 - br_if $pop16, 0 # 0: up to label39 + br_if 0, $pop16 # 0: up to label39 # BB#4: # %if.then5 end_loop # label40: call abort@FUNCTION @@ -659,7 +659,7 @@ f8: # @f8 i32.call $push2=, strlen@FUNCTION, $8 i32.const $push3=, 8 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label41 + br_if 0, $pop4 # 0: down to label41 .LBB9_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -669,7 +669,7 @@ f8: # @f8 tee_local $push17=, $9=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label42 + br_if 3, $pop21 # 3: down to label42 # BB#2: # %while.body # in Loop: Header=BB9_1 Depth=1 i32.load $push5=, 12($14) @@ -685,14 +685,14 @@ f8: # @f8 tee_local $push18=, $10=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label43 + br_if 2, $pop13 # 2: down to label43 # BB#3: # %to_hex.exit # in Loop: Header=BB9_1 Depth=1 i32.const $push14=, 1 i32.add $8=, $8, $pop14 i32.load8_u $push15=, .L.str($10) i32.eq $push16=, $9, $pop15 - br_if $pop16, 0 # 0: up to label44 + br_if 0, $pop16 # 0: up to label44 # BB#4: # %if.then5 end_loop # label45: call abort@FUNCTION @@ -736,7 +736,7 @@ f9: # @f9 i32.call $push2=, strlen@FUNCTION, $9 i32.const $push3=, 7 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label46 + br_if 0, $pop4 # 0: down to label46 .LBB10_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -746,7 +746,7 @@ f9: # @f9 tee_local $push17=, $10=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label47 + br_if 3, $pop21 # 3: down to label47 # BB#2: # %while.body # in Loop: Header=BB10_1 Depth=1 i32.load $push5=, 12($15) @@ -762,14 +762,14 @@ f9: # @f9 tee_local $push18=, $11=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label48 + br_if 2, $pop13 # 2: down to label48 # BB#3: # %to_hex.exit # in Loop: Header=BB10_1 Depth=1 i32.const $push14=, 1 i32.add $9=, $9, $pop14 i32.load8_u $push15=, .L.str($11) i32.eq $push16=, $10, $pop15 - br_if $pop16, 0 # 0: up to label49 + br_if 0, $pop16 # 0: up to label49 # BB#4: # %if.then5 end_loop # label50: call abort@FUNCTION @@ -813,7 +813,7 @@ f10: # @f10 i32.call $push2=, strlen@FUNCTION, $10 i32.const $push3=, 6 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label51 + br_if 0, $pop4 # 0: down to label51 .LBB11_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -823,7 +823,7 @@ f10: # @f10 tee_local $push17=, $11=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label52 + br_if 3, $pop21 # 3: down to label52 # BB#2: # %while.body # in Loop: Header=BB11_1 Depth=1 i32.load $push5=, 12($16) @@ -839,14 +839,14 @@ f10: # @f10 tee_local $push18=, $12=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label53 + br_if 2, $pop13 # 2: down to label53 # BB#3: # %to_hex.exit # in Loop: Header=BB11_1 Depth=1 i32.const $push14=, 1 i32.add $10=, $10, $pop14 i32.load8_u $push15=, .L.str($12) i32.eq $push16=, $11, $pop15 - br_if $pop16, 0 # 0: up to label54 + br_if 0, $pop16 # 0: up to label54 # BB#4: # %if.then5 end_loop # label55: call abort@FUNCTION @@ -890,7 +890,7 @@ f11: # @f11 i32.call $push2=, strlen@FUNCTION, $11 i32.const $push3=, 5 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label56 + br_if 0, $pop4 # 0: down to label56 .LBB12_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -900,7 +900,7 @@ f11: # @f11 tee_local $push17=, $12=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label57 + br_if 3, $pop21 # 3: down to label57 # BB#2: # %while.body # in Loop: Header=BB12_1 Depth=1 i32.load $push5=, 12($17) @@ -916,14 +916,14 @@ f11: # @f11 tee_local $push18=, $13=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label58 + br_if 2, $pop13 # 2: down to label58 # BB#3: # %to_hex.exit # in Loop: Header=BB12_1 Depth=1 i32.const $push14=, 1 i32.add $11=, $11, $pop14 i32.load8_u $push15=, .L.str($13) i32.eq $push16=, $12, $pop15 - br_if $pop16, 0 # 0: up to label59 + br_if 0, $pop16 # 0: up to label59 # BB#4: # %if.then5 end_loop # label60: call abort@FUNCTION @@ -967,7 +967,7 @@ f12: # @f12 i32.call $push2=, strlen@FUNCTION, $12 i32.const $push3=, 4 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label61 + br_if 0, $pop4 # 0: down to label61 .LBB13_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -977,7 +977,7 @@ f12: # @f12 tee_local $push17=, $13=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label62 + br_if 3, $pop21 # 3: down to label62 # BB#2: # %while.body # in Loop: Header=BB13_1 Depth=1 i32.load $push5=, 12($18) @@ -993,14 +993,14 @@ f12: # @f12 tee_local $push18=, $14=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label63 + br_if 2, $pop13 # 2: down to label63 # BB#3: # %to_hex.exit # in Loop: Header=BB13_1 Depth=1 i32.const $push14=, 1 i32.add $12=, $12, $pop14 i32.load8_u $push15=, .L.str($14) i32.eq $push16=, $13, $pop15 - br_if $pop16, 0 # 0: up to label64 + br_if 0, $pop16 # 0: up to label64 # BB#4: # %if.then5 end_loop # label65: call abort@FUNCTION @@ -1044,7 +1044,7 @@ f13: # @f13 i32.call $push2=, strlen@FUNCTION, $13 i32.const $push3=, 3 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label66 + br_if 0, $pop4 # 0: down to label66 .LBB14_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -1054,7 +1054,7 @@ f13: # @f13 tee_local $push17=, $14=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label67 + br_if 3, $pop21 # 3: down to label67 # BB#2: # %while.body # in Loop: Header=BB14_1 Depth=1 i32.load $push5=, 12($19) @@ -1070,14 +1070,14 @@ f13: # @f13 tee_local $push18=, $15=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label68 + br_if 2, $pop13 # 2: down to label68 # BB#3: # %to_hex.exit # in Loop: Header=BB14_1 Depth=1 i32.const $push14=, 1 i32.add $13=, $13, $pop14 i32.load8_u $push15=, .L.str($15) i32.eq $push16=, $14, $pop15 - br_if $pop16, 0 # 0: up to label69 + br_if 0, $pop16 # 0: up to label69 # BB#4: # %if.then5 end_loop # label70: call abort@FUNCTION @@ -1121,7 +1121,7 @@ f14: # @f14 i32.call $push2=, strlen@FUNCTION, $14 i32.const $push3=, 2 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label71 + br_if 0, $pop4 # 0: down to label71 .LBB15_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -1131,7 +1131,7 @@ f14: # @f14 tee_local $push17=, $15=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label72 + br_if 3, $pop21 # 3: down to label72 # BB#2: # %while.body # in Loop: Header=BB15_1 Depth=1 i32.load $push5=, 12($20) @@ -1147,14 +1147,14 @@ f14: # @f14 tee_local $push18=, $16=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label73 + br_if 2, $pop13 # 2: down to label73 # BB#3: # %to_hex.exit # in Loop: Header=BB15_1 Depth=1 i32.const $push14=, 1 i32.add $14=, $14, $pop14 i32.load8_u $push15=, .L.str($16) i32.eq $push16=, $15, $pop15 - br_if $pop16, 0 # 0: up to label74 + br_if 0, $pop16 # 0: up to label74 # BB#4: # %if.then5 end_loop # label75: call abort@FUNCTION @@ -1198,7 +1198,7 @@ f15: # @f15 i32.call $push2=, strlen@FUNCTION, $15 i32.const $push3=, 1 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label76 + br_if 0, $pop4 # 0: down to label76 .LBB16_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -1208,7 +1208,7 @@ f15: # @f15 tee_local $push17=, $16=, $pop0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 - br_if $pop21, 3 # 3: down to label77 + br_if 3, $pop21 # 3: down to label77 # BB#2: # %while.body # in Loop: Header=BB16_1 Depth=1 i32.load $push5=, 12($21) @@ -1224,14 +1224,14 @@ f15: # @f15 tee_local $push18=, $17=, $pop1 i32.const $push12=, 16 i32.ge_u $push13=, $pop18, $pop12 - br_if $pop13, 2 # 2: down to label78 + br_if 2, $pop13 # 2: down to label78 # BB#3: # %to_hex.exit # in Loop: Header=BB16_1 Depth=1 i32.const $push14=, 1 i32.add $15=, $15, $pop14 i32.load8_u $push15=, .L.str($17) i32.eq $push16=, $16, $pop15 - br_if $pop16, 0 # 0: up to label79 + br_if 0, $pop16 # 0: up to label79 # BB#4: # %if.then5 end_loop # label80: call abort@FUNCTION diff --git a/test/torture-s/va-arg-20.c.s b/test/torture-s/va-arg-20.c.s index e0976868b..701fb040d 100644 --- a/test/torture-s/va-arg-20.c.s +++ b/test/torture-s/va-arg-20.c.s @@ -27,7 +27,7 @@ foo: # @foo i64.load $push7=, 0($0) i64.const $push8=, 16 i64.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end i32.const $3=, 16 i32.add $4=, $4, $3 @@ -71,7 +71,7 @@ bar: # @bar i64.load $push8=, 0($2) i64.const $push9=, 16 i64.ne $push10=, $pop8, $pop9 - br_if $pop10, 0 # 0: down to label1 + br_if 0, $pop10 # 0: down to label1 # BB#1: # %foo.exit i32.const $5=, 16 i32.add $6=, $7, $5 diff --git a/test/torture-s/va-arg-21.c.s b/test/torture-s/va-arg-21.c.s index 9ebacc5b7..3f800eb81 100644 --- a/test/torture-s/va-arg-21.c.s +++ b/test/torture-s/va-arg-21.c.s @@ -60,7 +60,7 @@ doit: # @doit block i32.const $push11=, 0 i32.eq $push12=, $2, $pop11 - br_if $pop12, 0 # 0: down to label0 + br_if 0, $pop12 # 0: down to label0 # BB#1: # %if.end return .LBB1_2: # %if.then diff --git a/test/torture-s/va-arg-23.c.s b/test/torture-s/va-arg-23.c.s index 3ef98ee85..2080089f8 100644 --- a/test/torture-s/va-arg-23.c.s +++ b/test/torture-s/va-arg-23.c.s @@ -27,12 +27,12 @@ foo: # @foo block i32.const $push8=, 1 i32.ne $push9=, $6, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %entry i32.load $push0=, 0($7) i32.const $push10=, 2 i32.ne $push11=, $pop0, $pop10 - br_if $pop11, 0 # 0: down to label0 + br_if 0, $pop11 # 0: down to label0 # BB#2: # %if.end i32.const $10=, 16 i32.add $11=, $12, $10 diff --git a/test/torture-s/va-arg-24.c.s b/test/torture-s/va-arg-24.c.s index 63361aeda..5e36dd62f 100644 --- a/test/torture-s/va-arg-24.c.s +++ b/test/torture-s/va-arg-24.c.s @@ -227,7 +227,7 @@ main: # @main block i32.const $push15=, 0 i32.load $push14=, errors($pop15) - br_if $pop14, 0 # 0: down to label0 + br_if 0, $pop14 # 0: down to label0 # BB#1: # %if.end i32.const $push32=, 0 call exit@FUNCTION, $pop32 @@ -377,7 +377,7 @@ varargs0: # @varargs0 loop # label1: block i32.eq $push47=, $5, $4 - br_if $pop47, 0 # 0: down to label3 + br_if 0, $pop47 # 0: down to label3 # BB#2: # %if.then.i # in Loop: Header=BB1_1 Depth=1 i32.const $7=, __stack_pointer @@ -414,7 +414,7 @@ varargs0: # @varargs0 end_block # label3: i32.const $push99=, 10 i32.eq $push50=, $5, $pop99 - br_if $pop50, 1 # 1: down to label2 + br_if 1, $pop50 # 1: down to label2 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB1_1 Depth=1 i32.load $4=, 0($6) @@ -560,7 +560,7 @@ varargs1: # @varargs1 loop # label4: block i32.eq $push43=, $6, $5 - br_if $pop43, 0 # 0: down to label6 + br_if 0, $pop43 # 0: down to label6 # BB#2: # %if.then.i # in Loop: Header=BB2_1 Depth=1 i32.const $7=, __stack_pointer @@ -599,7 +599,7 @@ varargs1: # @varargs1 end_block # label6: i32.const $push91=, 10 i32.eq $push46=, $6, $pop91 - br_if $pop46, 1 # 1: down to label5 + br_if 1, $pop46 # 1: down to label5 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB2_1 Depth=1 i32.load $5=, 0($4) @@ -738,7 +738,7 @@ varargs2: # @varargs2 loop # label7: block i32.eq $push39=, $7, $6 - br_if $pop39, 0 # 0: down to label9 + br_if 0, $pop39 # 0: down to label9 # BB#2: # %if.then.i # in Loop: Header=BB3_1 Depth=1 i32.const $8=, __stack_pointer @@ -777,7 +777,7 @@ varargs2: # @varargs2 end_block # label9: i32.const $push83=, 10 i32.eq $push42=, $7, $pop83 - br_if $pop42, 1 # 1: down to label8 + br_if 1, $pop42 # 1: down to label8 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB3_1 Depth=1 i32.load $6=, 0($5) @@ -902,7 +902,7 @@ varargs3: # @varargs3 loop # label10: block i32.eq $push34=, $8, $7 - br_if $pop34, 0 # 0: down to label12 + br_if 0, $pop34 # 0: down to label12 # BB#2: # %if.then.i # in Loop: Header=BB4_1 Depth=1 i32.const $9=, __stack_pointer @@ -941,7 +941,7 @@ varargs3: # @varargs3 end_block # label12: i32.const $push73=, 10 i32.eq $push37=, $8, $pop73 - br_if $pop37, 1 # 1: down to label11 + br_if 1, $pop37 # 1: down to label11 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB4_1 Depth=1 i32.load $7=, 0($6) @@ -1053,7 +1053,7 @@ varargs4: # @varargs4 loop # label13: block i32.eq $push32=, $9, $8 - br_if $pop32, 0 # 0: down to label15 + br_if 0, $pop32 # 0: down to label15 # BB#2: # %if.then.i # in Loop: Header=BB5_1 Depth=1 i32.const $11=, __stack_pointer @@ -1091,7 +1091,7 @@ varargs4: # @varargs4 end_block # label15: i32.const $push61=, 10 i32.eq $push35=, $9, $pop61 - br_if $pop35, 1 # 1: down to label14 + br_if 1, $pop35 # 1: down to label14 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB5_1 Depth=1 i32.load $8=, 0($7) @@ -1197,7 +1197,7 @@ varargs5: # @varargs5 loop # label16: block i32.eq $push27=, $10, $9 - br_if $pop27, 0 # 0: down to label18 + br_if 0, $pop27 # 0: down to label18 # BB#2: # %if.then.i # in Loop: Header=BB6_1 Depth=1 i32.const $11=, __stack_pointer @@ -1236,7 +1236,7 @@ varargs5: # @varargs5 end_block # label18: i32.const $push58=, 10 i32.eq $push30=, $10, $pop58 - br_if $pop30, 1 # 1: down to label17 + br_if 1, $pop30 # 1: down to label17 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB6_1 Depth=1 i32.load $9=, 0($8) @@ -1335,7 +1335,7 @@ varargs6: # @varargs6 loop # label19: block i32.eq $push24=, $11, $10 - br_if $pop24, 0 # 0: down to label21 + br_if 0, $pop24 # 0: down to label21 # BB#2: # %if.then.i # in Loop: Header=BB7_1 Depth=1 i32.const $12=, __stack_pointer @@ -1374,7 +1374,7 @@ varargs6: # @varargs6 end_block # label21: i32.const $push51=, 10 i32.eq $push27=, $11, $pop51 - br_if $pop27, 1 # 1: down to label20 + br_if 1, $pop27 # 1: down to label20 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB7_1 Depth=1 i32.load $10=, 0($9) @@ -1463,7 +1463,7 @@ varargs7: # @varargs7 loop # label22: block i32.eq $push20=, $12, $11 - br_if $pop20, 0 # 0: down to label24 + br_if 0, $pop20 # 0: down to label24 # BB#2: # %if.then.i # in Loop: Header=BB8_1 Depth=1 i32.const $13=, __stack_pointer @@ -1502,7 +1502,7 @@ varargs7: # @varargs7 end_block # label24: i32.const $push43=, 10 i32.eq $push23=, $12, $pop43 - br_if $pop23, 1 # 1: down to label23 + br_if 1, $pop23 # 1: down to label23 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB8_1 Depth=1 i32.load $11=, 0($10) @@ -1583,7 +1583,7 @@ varargs8: # @varargs8 loop # label25: block i32.eq $push16=, $14, $13 - br_if $pop16, 0 # 0: down to label27 + br_if 0, $pop16 # 0: down to label27 # BB#2: # %if.then.i # in Loop: Header=BB9_1 Depth=1 i32.const $15=, __stack_pointer @@ -1621,7 +1621,7 @@ varargs8: # @varargs8 end_block # label27: i32.const $push35=, 10 i32.eq $push19=, $14, $pop35 - br_if $pop19, 1 # 1: down to label26 + br_if 1, $pop19 # 1: down to label26 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB9_1 Depth=1 i32.load $13=, 0($12) @@ -1691,7 +1691,7 @@ varargs9: # @varargs9 loop # label28: block i32.eq $push12=, $14, $13 - br_if $pop12, 0 # 0: down to label30 + br_if 0, $pop12 # 0: down to label30 # BB#2: # %if.then.i # in Loop: Header=BB10_1 Depth=1 i32.const $15=, __stack_pointer @@ -1730,7 +1730,7 @@ varargs9: # @varargs9 end_block # label30: i32.const $push28=, 10 i32.eq $push15=, $14, $pop28 - br_if $pop15, 1 # 1: down to label29 + br_if 1, $pop15 # 1: down to label29 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB10_1 Depth=1 i32.load $13=, 0($12) diff --git a/test/torture-s/va-arg-26.c.s b/test/torture-s/va-arg-26.c.s index f014a03b9..ac17f5fc8 100644 --- a/test/torture-s/va-arg-26.c.s +++ b/test/torture-s/va-arg-26.c.s @@ -67,7 +67,7 @@ main: # @main block f64.const $push1=, 0x1.cp2 f64.eq $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable diff --git a/test/torture-s/va-arg-4.c.s b/test/torture-s/va-arg-4.c.s index 1b3bd4f17..6197063ab 100644 --- a/test/torture-s/va-arg-4.c.s +++ b/test/torture-s/va-arg-4.c.s @@ -19,17 +19,17 @@ f: # @f i32.load8_u $push0=, 0($0) i32.const $push1=, 97 i32.ne $push2=, $pop0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %lor.lhs.false i32.load8_u $push3=, 1($0) i32.const $push4=, 98 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#2: # %lor.lhs.false7 i32.load8_u $push6=, 2($0) i32.const $push7=, 99 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, 0 # 0: down to label0 + br_if 0, $pop8 # 0: down to label0 # BB#3: # %if.end i32.store $push9=, 12($5), $6 i32.const $push34=, 3 @@ -44,7 +44,7 @@ f: # @f i32.load $push13=, 0($0) i32.const $push14=, 42 i32.ne $push15=, $pop13, $pop14 - br_if $pop15, 0 # 0: down to label1 + br_if 0, $pop15 # 0: down to label1 # BB#4: # %if.end17 i32.load $push16=, 12($5) i32.const $push38=, 3 @@ -59,7 +59,7 @@ f: # @f i32.load $push20=, 0($0) i32.const $push21=, 120 i32.ne $push22=, $pop20, $pop21 - br_if $pop22, 0 # 0: down to label2 + br_if 0, $pop22 # 0: down to label2 # BB#5: # %if.end21 i32.load $push23=, 12($5) i32.const $push24=, 3 @@ -72,7 +72,7 @@ f: # @f i32.store $discard=, 12($5), $pop29 block i32.load $push30=, 0($0) - br_if $pop30, 0 # 0: down to label3 + br_if 0, $pop30 # 0: down to label3 # BB#6: # %if.end25 i32.const $4=, 16 i32.add $5=, $6, $4 diff --git a/test/torture-s/va-arg-5.c.s b/test/torture-s/va-arg-5.c.s index 54e991ed7..06cf44160 100644 --- a/test/torture-s/va-arg-5.c.s +++ b/test/torture-s/va-arg-5.c.s @@ -29,7 +29,7 @@ va_double: # @va_double f64.load $push4=, 0($1) f64.const $push5=, 0x1.921fafc8b007ap1 f64.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.load $push7=, 12($5) i32.const $push35=, 7 @@ -44,7 +44,7 @@ va_double: # @va_double f64.load $push11=, 0($1) f64.const $push12=, 0x1.5bf04577d9557p1 f64.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %if.end4 i32.load $push14=, 12($5) i32.const $push39=, 7 @@ -59,7 +59,7 @@ va_double: # @va_double f64.load $push18=, 0($1) f64.const $push19=, 0x1.1e3779131154cp1 f64.ne $push20=, $pop18, $pop19 - br_if $pop20, 0 # 0: down to label2 + br_if 0, $pop20 # 0: down to label2 # BB#3: # %if.end7 i32.load $push21=, 12($5) i32.const $push43=, 7 @@ -74,7 +74,7 @@ va_double: # @va_double f64.load $push25=, 0($1) f64.const $push26=, 0x1.12e0be1b5921ep1 f64.ne $push27=, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label3 + br_if 0, $pop27 # 0: down to label3 # BB#4: # %if.end10 i32.const $4=, 16 i32.add $5=, $6, $4 @@ -136,7 +136,7 @@ va_long_double: # @va_long_double i64.const $push8=, -7338557514379428662 i64.const $push7=, 4611846683218194439 i32.call $push9=, __eqtf2@FUNCTION, $1, $pop6, $pop8, $pop7 - br_if $pop9, 0 # 0: down to label4 + br_if 0, $pop9 # 0: down to label4 # BB#1: # %if.end i32.load $push10=, 12($6) i32.const $push51=, 15 @@ -157,7 +157,7 @@ va_long_double: # @va_long_double i64.const $push18=, 8163791057260899163 i64.const $push17=, 4611787105943148885 i32.call $push19=, __eqtf2@FUNCTION, $1, $pop16, $pop18, $pop17 - br_if $pop19, 0 # 0: down to label5 + br_if 0, $pop19 # 0: down to label5 # BB#2: # %if.end4 i32.load $push20=, 12($6) i32.const $push57=, 15 @@ -178,7 +178,7 @@ va_long_double: # @va_long_double i64.const $push28=, -4892607794577095924 i64.const $push27=, 4611719242030715220 i32.call $push29=, __eqtf2@FUNCTION, $1, $pop26, $pop28, $pop27 - br_if $pop29, 0 # 0: down to label6 + br_if 0, $pop29 # 0: down to label6 # BB#3: # %if.end7 i32.load $push30=, 12($6) i32.const $push63=, 15 @@ -199,7 +199,7 @@ va_long_double: # @va_long_double i64.const $push38=, -2718666384188054750 i64.const $push37=, 4611706774898825505 i32.call $push39=, __eqtf2@FUNCTION, $1, $pop36, $pop38, $pop37 - br_if $pop39, 0 # 0: down to label7 + br_if 0, $pop39 # 0: down to label7 # BB#4: # %if.end10 i32.const $5=, 16 i32.add $6=, $7, $5 diff --git a/test/torture-s/va-arg-6.c.s b/test/torture-s/va-arg-6.c.s index 496e5d87e..80cf546d3 100644 --- a/test/torture-s/va-arg-6.c.s +++ b/test/torture-s/va-arg-6.c.s @@ -29,7 +29,7 @@ f: # @f i32.load $push7=, 0($2) i32.const $push8=, 10 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end i32.load $push10=, 12($6) i32.const $push11=, 7 @@ -44,7 +44,7 @@ f: # @f i64.load $push17=, 0($2) i64.const $push18=, 10000000000 i64.ne $push19=, $pop17, $pop18 - br_if $pop19, 0 # 0: down to label1 + br_if 0, $pop19 # 0: down to label1 # BB#2: # %if.end4 i32.load $push20=, 12($6) i32.const $push21=, 3 @@ -59,7 +59,7 @@ f: # @f i32.load $push27=, 0($2) i32.const $push28=, 11 i32.ne $push29=, $pop27, $pop28 - br_if $pop29, 0 # 0: down to label2 + br_if 0, $pop29 # 0: down to label2 # BB#3: # %if.end7 i32.load $push30=, 12($6) i32.const $push31=, 15 @@ -80,7 +80,7 @@ f: # @f i64.const $push41=, -1475739525896764129 i64.const $push40=, 4611846459164112977 i32.call $push42=, __eqtf2@FUNCTION, $1, $pop39, $pop41, $pop40 - br_if $pop42, 0 # 0: down to label3 + br_if 0, $pop42 # 0: down to label3 # BB#4: # %if.end10 i32.load $push43=, 12($6) i32.const $push96=, 3 @@ -95,7 +95,7 @@ f: # @f i32.load $push47=, 0($2) i32.const $push48=, 12 i32.ne $push49=, $pop47, $pop48 - br_if $pop49, 0 # 0: down to label4 + br_if 0, $pop49 # 0: down to label4 # BB#5: # %if.end13 i32.load $push50=, 12($6) i32.const $push100=, 3 @@ -110,7 +110,7 @@ f: # @f i32.load $push54=, 0($2) i32.const $push55=, 13 i32.ne $push56=, $pop54, $pop55 - br_if $pop56, 0 # 0: down to label5 + br_if 0, $pop56 # 0: down to label5 # BB#6: # %if.end16 i32.load $push57=, 12($6) i32.const $push58=, 7 @@ -125,7 +125,7 @@ f: # @f i64.load $push64=, 0($2) i64.const $push65=, 20000000000 i64.ne $push66=, $pop64, $pop65 - br_if $pop66, 0 # 0: down to label6 + br_if 0, $pop66 # 0: down to label6 # BB#7: # %if.end19 i32.load $push67=, 12($6) i32.const $push68=, 3 @@ -140,7 +140,7 @@ f: # @f i32.load $push74=, 0($2) i32.const $push75=, 14 i32.ne $push76=, $pop74, $pop75 - br_if $pop76, 0 # 0: down to label7 + br_if 0, $pop76 # 0: down to label7 # BB#8: # %if.end22 i32.load $push77=, 12($6) i32.const $push78=, 7 @@ -155,7 +155,7 @@ f: # @f f64.load $push84=, 0($2) f64.const $push85=, 0x1.5c28f5c28f5c3p1 f64.ne $push86=, $pop84, $pop85 - br_if $pop86, 0 # 0: down to label8 + br_if 0, $pop86 # 0: down to label8 # BB#9: # %if.end25 i32.const $5=, 16 i32.add $6=, $7, $5 diff --git a/test/torture-s/va-arg-7.c.s b/test/torture-s/va-arg-7.c.s index 4ab4fc86a..0a7822ab7 100644 --- a/test/torture-s/va-arg-7.c.s +++ b/test/torture-s/va-arg-7.c.s @@ -28,7 +28,7 @@ debug: # @debug i32.load $push4=, 0($16) i32.const $push5=, 8 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label0 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end i32.load $push7=, 12($20) i32.const $push31=, 3 @@ -43,7 +43,7 @@ debug: # @debug i32.load $push11=, 0($16) i32.const $push12=, 9 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 0 # 0: down to label1 + br_if 0, $pop13 # 0: down to label1 # BB#2: # %if.end4 i32.load $push14=, 12($20) i32.const $push15=, 3 @@ -58,7 +58,7 @@ debug: # @debug i32.load $push21=, 0($16) i32.const $push22=, 10 i32.ne $push23=, $pop21, $pop22 - br_if $pop23, 0 # 0: down to label2 + br_if 0, $pop23 # 0: down to label2 # BB#3: # %if.end7 i32.const $19=, 16 i32.add $20=, $21, $19 diff --git a/test/torture-s/va-arg-8.c.s b/test/torture-s/va-arg-8.c.s index 7ce6939bc..1d4868bb9 100644 --- a/test/torture-s/va-arg-8.c.s +++ b/test/torture-s/va-arg-8.c.s @@ -28,7 +28,7 @@ debug: # @debug i32.load $push7=, 0($9) i32.const $push8=, 10 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 0 # 0: down to label0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end i32.load $push10=, 12($13) i32.const $push11=, 7 @@ -43,7 +43,7 @@ debug: # @debug i64.load $push17=, 0($9) i64.const $push18=, 20014547621496 i64.ne $push19=, $pop17, $pop18 - br_if $pop19, 0 # 0: down to label1 + br_if 0, $pop19 # 0: down to label1 # BB#2: # %if.end4 i32.const $12=, 16 i32.add $13=, $14, $12 diff --git a/test/torture-s/va-arg-9.c.s b/test/torture-s/va-arg-9.c.s index cb4f38a03..291f04ec9 100644 --- a/test/torture-s/va-arg-9.c.s +++ b/test/torture-s/va-arg-9.c.s @@ -11,7 +11,7 @@ to_hex: # @to_hex block i32.const $push0=, 16 i32.ge_u $push1=, $0, $pop0 - br_if $pop1, 0 # 0: down to label0 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end i32.load8_s $push2=, .L.str($0) return $pop2 @@ -43,7 +43,7 @@ fap: # @fap i32.const $push3=, 16 i32.sub $push4=, $pop3, $0 i32.ne $push5=, $pop2, $pop4 - br_if $pop5, 0 # 0: down to label1 + br_if 0, $pop5 # 0: down to label1 .LBB1_1: # %while.cond # =>This Inner Loop Header: Depth=1 block @@ -53,7 +53,7 @@ fap: # @fap tee_local $push18=, $0=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label2 + br_if 3, $pop22 # 3: down to label2 # BB#2: # %while.body # in Loop: Header=BB1_1 Depth=1 i32.load $push6=, 12($6) @@ -69,14 +69,14 @@ fap: # @fap tee_local $push19=, $2=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label3 + br_if 2, $pop14 # 2: down to label3 # BB#3: # %to_hex.exit # in Loop: Header=BB1_1 Depth=1 i32.const $push15=, 1 i32.add $1=, $1, $pop15 i32.load8_u $push16=, .L.str($2) i32.eq $push17=, $0, $pop16 - br_if $pop17, 0 # 0: up to label4 + br_if 0, $pop17 # 0: up to label4 # BB#4: # %if.then4 end_loop # label5: call abort@FUNCTION @@ -121,7 +121,7 @@ f0: # @f0 i32.call $push3=, strlen@FUNCTION, $0 i32.const $push4=, 16 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label6 + br_if 0, $pop5 # 0: down to label6 .LBB2_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -131,7 +131,7 @@ f0: # @f0 tee_local $push18=, $1=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label7 + br_if 3, $pop22 # 3: down to label7 # BB#2: # %while.body.i # in Loop: Header=BB2_1 Depth=1 i32.load $push6=, 12($6) @@ -147,14 +147,14 @@ f0: # @f0 tee_local $push19=, $2=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label8 + br_if 2, $pop14 # 2: down to label8 # BB#3: # %to_hex.exit.i # in Loop: Header=BB2_1 Depth=1 i32.const $push15=, 1 i32.add $0=, $0, $pop15 i32.load8_u $push16=, .L.str($2) i32.eq $push17=, $1, $pop16 - br_if $pop17, 0 # 0: up to label9 + br_if 0, $pop17 # 0: up to label9 # BB#4: # %if.then4.i end_loop # label10: call abort@FUNCTION @@ -199,7 +199,7 @@ f1: # @f1 i32.call $push3=, strlen@FUNCTION, $1 i32.const $push4=, 15 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label11 + br_if 0, $pop5 # 0: down to label11 .LBB3_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -209,7 +209,7 @@ f1: # @f1 tee_local $push18=, $2=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label12 + br_if 3, $pop22 # 3: down to label12 # BB#2: # %while.body.i # in Loop: Header=BB3_1 Depth=1 i32.load $push6=, 12($7) @@ -225,14 +225,14 @@ f1: # @f1 tee_local $push19=, $3=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label13 + br_if 2, $pop14 # 2: down to label13 # BB#3: # %to_hex.exit.i # in Loop: Header=BB3_1 Depth=1 i32.const $push15=, 1 i32.add $1=, $1, $pop15 i32.load8_u $push16=, .L.str($3) i32.eq $push17=, $2, $pop16 - br_if $pop17, 0 # 0: up to label14 + br_if 0, $pop17 # 0: up to label14 # BB#4: # %if.then4.i end_loop # label15: call abort@FUNCTION @@ -277,7 +277,7 @@ f2: # @f2 i32.call $push3=, strlen@FUNCTION, $2 i32.const $push4=, 14 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label16 + br_if 0, $pop5 # 0: down to label16 .LBB4_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -287,7 +287,7 @@ f2: # @f2 tee_local $push18=, $3=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label17 + br_if 3, $pop22 # 3: down to label17 # BB#2: # %while.body.i # in Loop: Header=BB4_1 Depth=1 i32.load $push6=, 12($8) @@ -303,14 +303,14 @@ f2: # @f2 tee_local $push19=, $4=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label18 + br_if 2, $pop14 # 2: down to label18 # BB#3: # %to_hex.exit.i # in Loop: Header=BB4_1 Depth=1 i32.const $push15=, 1 i32.add $2=, $2, $pop15 i32.load8_u $push16=, .L.str($4) i32.eq $push17=, $3, $pop16 - br_if $pop17, 0 # 0: up to label19 + br_if 0, $pop17 # 0: up to label19 # BB#4: # %if.then4.i end_loop # label20: call abort@FUNCTION @@ -355,7 +355,7 @@ f3: # @f3 i32.call $push3=, strlen@FUNCTION, $3 i32.const $push4=, 13 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label21 + br_if 0, $pop5 # 0: down to label21 .LBB5_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -365,7 +365,7 @@ f3: # @f3 tee_local $push18=, $4=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label22 + br_if 3, $pop22 # 3: down to label22 # BB#2: # %while.body.i # in Loop: Header=BB5_1 Depth=1 i32.load $push6=, 12($9) @@ -381,14 +381,14 @@ f3: # @f3 tee_local $push19=, $5=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label23 + br_if 2, $pop14 # 2: down to label23 # BB#3: # %to_hex.exit.i # in Loop: Header=BB5_1 Depth=1 i32.const $push15=, 1 i32.add $3=, $3, $pop15 i32.load8_u $push16=, .L.str($5) i32.eq $push17=, $4, $pop16 - br_if $pop17, 0 # 0: up to label24 + br_if 0, $pop17 # 0: up to label24 # BB#4: # %if.then4.i end_loop # label25: call abort@FUNCTION @@ -433,7 +433,7 @@ f4: # @f4 i32.call $push3=, strlen@FUNCTION, $4 i32.const $push4=, 12 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label26 + br_if 0, $pop5 # 0: down to label26 .LBB6_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -443,7 +443,7 @@ f4: # @f4 tee_local $push18=, $5=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label27 + br_if 3, $pop22 # 3: down to label27 # BB#2: # %while.body.i # in Loop: Header=BB6_1 Depth=1 i32.load $push6=, 12($10) @@ -459,14 +459,14 @@ f4: # @f4 tee_local $push19=, $6=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label28 + br_if 2, $pop14 # 2: down to label28 # BB#3: # %to_hex.exit.i # in Loop: Header=BB6_1 Depth=1 i32.const $push15=, 1 i32.add $4=, $4, $pop15 i32.load8_u $push16=, .L.str($6) i32.eq $push17=, $5, $pop16 - br_if $pop17, 0 # 0: up to label29 + br_if 0, $pop17 # 0: up to label29 # BB#4: # %if.then4.i end_loop # label30: call abort@FUNCTION @@ -511,7 +511,7 @@ f5: # @f5 i32.call $push3=, strlen@FUNCTION, $5 i32.const $push4=, 11 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label31 + br_if 0, $pop5 # 0: down to label31 .LBB7_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -521,7 +521,7 @@ f5: # @f5 tee_local $push18=, $6=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label32 + br_if 3, $pop22 # 3: down to label32 # BB#2: # %while.body.i # in Loop: Header=BB7_1 Depth=1 i32.load $push6=, 12($11) @@ -537,14 +537,14 @@ f5: # @f5 tee_local $push19=, $7=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label33 + br_if 2, $pop14 # 2: down to label33 # BB#3: # %to_hex.exit.i # in Loop: Header=BB7_1 Depth=1 i32.const $push15=, 1 i32.add $5=, $5, $pop15 i32.load8_u $push16=, .L.str($7) i32.eq $push17=, $6, $pop16 - br_if $pop17, 0 # 0: up to label34 + br_if 0, $pop17 # 0: up to label34 # BB#4: # %if.then4.i end_loop # label35: call abort@FUNCTION @@ -589,7 +589,7 @@ f6: # @f6 i32.call $push3=, strlen@FUNCTION, $6 i32.const $push4=, 10 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label36 + br_if 0, $pop5 # 0: down to label36 .LBB8_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -599,7 +599,7 @@ f6: # @f6 tee_local $push18=, $7=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label37 + br_if 3, $pop22 # 3: down to label37 # BB#2: # %while.body.i # in Loop: Header=BB8_1 Depth=1 i32.load $push6=, 12($12) @@ -615,14 +615,14 @@ f6: # @f6 tee_local $push19=, $8=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label38 + br_if 2, $pop14 # 2: down to label38 # BB#3: # %to_hex.exit.i # in Loop: Header=BB8_1 Depth=1 i32.const $push15=, 1 i32.add $6=, $6, $pop15 i32.load8_u $push16=, .L.str($8) i32.eq $push17=, $7, $pop16 - br_if $pop17, 0 # 0: up to label39 + br_if 0, $pop17 # 0: up to label39 # BB#4: # %if.then4.i end_loop # label40: call abort@FUNCTION @@ -667,7 +667,7 @@ f7: # @f7 i32.call $push3=, strlen@FUNCTION, $7 i32.const $push4=, 9 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label41 + br_if 0, $pop5 # 0: down to label41 .LBB9_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -677,7 +677,7 @@ f7: # @f7 tee_local $push18=, $8=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label42 + br_if 3, $pop22 # 3: down to label42 # BB#2: # %while.body.i # in Loop: Header=BB9_1 Depth=1 i32.load $push6=, 12($13) @@ -693,14 +693,14 @@ f7: # @f7 tee_local $push19=, $9=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label43 + br_if 2, $pop14 # 2: down to label43 # BB#3: # %to_hex.exit.i # in Loop: Header=BB9_1 Depth=1 i32.const $push15=, 1 i32.add $7=, $7, $pop15 i32.load8_u $push16=, .L.str($9) i32.eq $push17=, $8, $pop16 - br_if $pop17, 0 # 0: up to label44 + br_if 0, $pop17 # 0: up to label44 # BB#4: # %if.then4.i end_loop # label45: call abort@FUNCTION @@ -745,7 +745,7 @@ f8: # @f8 i32.call $push3=, strlen@FUNCTION, $8 i32.const $push4=, 8 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label46 + br_if 0, $pop5 # 0: down to label46 .LBB10_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -755,7 +755,7 @@ f8: # @f8 tee_local $push18=, $9=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label47 + br_if 3, $pop22 # 3: down to label47 # BB#2: # %while.body.i # in Loop: Header=BB10_1 Depth=1 i32.load $push6=, 12($14) @@ -771,14 +771,14 @@ f8: # @f8 tee_local $push19=, $10=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label48 + br_if 2, $pop14 # 2: down to label48 # BB#3: # %to_hex.exit.i # in Loop: Header=BB10_1 Depth=1 i32.const $push15=, 1 i32.add $8=, $8, $pop15 i32.load8_u $push16=, .L.str($10) i32.eq $push17=, $9, $pop16 - br_if $pop17, 0 # 0: up to label49 + br_if 0, $pop17 # 0: up to label49 # BB#4: # %if.then4.i end_loop # label50: call abort@FUNCTION @@ -823,7 +823,7 @@ f9: # @f9 i32.call $push3=, strlen@FUNCTION, $9 i32.const $push4=, 7 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label51 + br_if 0, $pop5 # 0: down to label51 .LBB11_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -833,7 +833,7 @@ f9: # @f9 tee_local $push18=, $10=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label52 + br_if 3, $pop22 # 3: down to label52 # BB#2: # %while.body.i # in Loop: Header=BB11_1 Depth=1 i32.load $push6=, 12($15) @@ -849,14 +849,14 @@ f9: # @f9 tee_local $push19=, $11=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label53 + br_if 2, $pop14 # 2: down to label53 # BB#3: # %to_hex.exit.i # in Loop: Header=BB11_1 Depth=1 i32.const $push15=, 1 i32.add $9=, $9, $pop15 i32.load8_u $push16=, .L.str($11) i32.eq $push17=, $10, $pop16 - br_if $pop17, 0 # 0: up to label54 + br_if 0, $pop17 # 0: up to label54 # BB#4: # %if.then4.i end_loop # label55: call abort@FUNCTION @@ -901,7 +901,7 @@ f10: # @f10 i32.call $push3=, strlen@FUNCTION, $10 i32.const $push4=, 6 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label56 + br_if 0, $pop5 # 0: down to label56 .LBB12_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -911,7 +911,7 @@ f10: # @f10 tee_local $push18=, $11=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label57 + br_if 3, $pop22 # 3: down to label57 # BB#2: # %while.body.i # in Loop: Header=BB12_1 Depth=1 i32.load $push6=, 12($16) @@ -927,14 +927,14 @@ f10: # @f10 tee_local $push19=, $12=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label58 + br_if 2, $pop14 # 2: down to label58 # BB#3: # %to_hex.exit.i # in Loop: Header=BB12_1 Depth=1 i32.const $push15=, 1 i32.add $10=, $10, $pop15 i32.load8_u $push16=, .L.str($12) i32.eq $push17=, $11, $pop16 - br_if $pop17, 0 # 0: up to label59 + br_if 0, $pop17 # 0: up to label59 # BB#4: # %if.then4.i end_loop # label60: call abort@FUNCTION @@ -979,7 +979,7 @@ f11: # @f11 i32.call $push3=, strlen@FUNCTION, $11 i32.const $push4=, 5 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label61 + br_if 0, $pop5 # 0: down to label61 .LBB13_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -989,7 +989,7 @@ f11: # @f11 tee_local $push18=, $12=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label62 + br_if 3, $pop22 # 3: down to label62 # BB#2: # %while.body.i # in Loop: Header=BB13_1 Depth=1 i32.load $push6=, 12($17) @@ -1005,14 +1005,14 @@ f11: # @f11 tee_local $push19=, $13=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label63 + br_if 2, $pop14 # 2: down to label63 # BB#3: # %to_hex.exit.i # in Loop: Header=BB13_1 Depth=1 i32.const $push15=, 1 i32.add $11=, $11, $pop15 i32.load8_u $push16=, .L.str($13) i32.eq $push17=, $12, $pop16 - br_if $pop17, 0 # 0: up to label64 + br_if 0, $pop17 # 0: up to label64 # BB#4: # %if.then4.i end_loop # label65: call abort@FUNCTION @@ -1057,7 +1057,7 @@ f12: # @f12 i32.call $push3=, strlen@FUNCTION, $12 i32.const $push4=, 4 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label66 + br_if 0, $pop5 # 0: down to label66 .LBB14_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -1067,7 +1067,7 @@ f12: # @f12 tee_local $push18=, $13=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label67 + br_if 3, $pop22 # 3: down to label67 # BB#2: # %while.body.i # in Loop: Header=BB14_1 Depth=1 i32.load $push6=, 12($18) @@ -1083,14 +1083,14 @@ f12: # @f12 tee_local $push19=, $14=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label68 + br_if 2, $pop14 # 2: down to label68 # BB#3: # %to_hex.exit.i # in Loop: Header=BB14_1 Depth=1 i32.const $push15=, 1 i32.add $12=, $12, $pop15 i32.load8_u $push16=, .L.str($14) i32.eq $push17=, $13, $pop16 - br_if $pop17, 0 # 0: up to label69 + br_if 0, $pop17 # 0: up to label69 # BB#4: # %if.then4.i end_loop # label70: call abort@FUNCTION @@ -1135,7 +1135,7 @@ f13: # @f13 i32.call $push3=, strlen@FUNCTION, $13 i32.const $push4=, 3 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label71 + br_if 0, $pop5 # 0: down to label71 .LBB15_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -1145,7 +1145,7 @@ f13: # @f13 tee_local $push18=, $14=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label72 + br_if 3, $pop22 # 3: down to label72 # BB#2: # %while.body.i # in Loop: Header=BB15_1 Depth=1 i32.load $push6=, 12($19) @@ -1161,14 +1161,14 @@ f13: # @f13 tee_local $push19=, $15=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label73 + br_if 2, $pop14 # 2: down to label73 # BB#3: # %to_hex.exit.i # in Loop: Header=BB15_1 Depth=1 i32.const $push15=, 1 i32.add $13=, $13, $pop15 i32.load8_u $push16=, .L.str($15) i32.eq $push17=, $14, $pop16 - br_if $pop17, 0 # 0: up to label74 + br_if 0, $pop17 # 0: up to label74 # BB#4: # %if.then4.i end_loop # label75: call abort@FUNCTION @@ -1213,7 +1213,7 @@ f14: # @f14 i32.call $push3=, strlen@FUNCTION, $14 i32.const $push4=, 2 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label76 + br_if 0, $pop5 # 0: down to label76 .LBB16_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -1223,7 +1223,7 @@ f14: # @f14 tee_local $push18=, $15=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label77 + br_if 3, $pop22 # 3: down to label77 # BB#2: # %while.body.i # in Loop: Header=BB16_1 Depth=1 i32.load $push6=, 12($20) @@ -1239,14 +1239,14 @@ f14: # @f14 tee_local $push19=, $16=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label78 + br_if 2, $pop14 # 2: down to label78 # BB#3: # %to_hex.exit.i # in Loop: Header=BB16_1 Depth=1 i32.const $push15=, 1 i32.add $14=, $14, $pop15 i32.load8_u $push16=, .L.str($16) i32.eq $push17=, $15, $pop16 - br_if $pop17, 0 # 0: up to label79 + br_if 0, $pop17 # 0: up to label79 # BB#4: # %if.then4.i end_loop # label80: call abort@FUNCTION @@ -1291,7 +1291,7 @@ f15: # @f15 i32.call $push3=, strlen@FUNCTION, $15 i32.const $push4=, 1 i32.ne $push5=, $pop3, $pop4 - br_if $pop5, 0 # 0: down to label81 + br_if 0, $pop5 # 0: down to label81 .LBB17_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 block @@ -1301,7 +1301,7 @@ f15: # @f15 tee_local $push18=, $16=, $pop0 i32.const $push21=, 0 i32.eq $push22=, $pop18, $pop21 - br_if $pop22, 3 # 3: down to label82 + br_if 3, $pop22 # 3: down to label82 # BB#2: # %while.body.i # in Loop: Header=BB17_1 Depth=1 i32.load $push6=, 12($21) @@ -1317,14 +1317,14 @@ f15: # @f15 tee_local $push19=, $17=, $pop1 i32.const $push13=, 16 i32.ge_u $push14=, $pop19, $pop13 - br_if $pop14, 2 # 2: down to label83 + br_if 2, $pop14 # 2: down to label83 # BB#3: # %to_hex.exit.i # in Loop: Header=BB17_1 Depth=1 i32.const $push15=, 1 i32.add $15=, $15, $pop15 i32.load8_u $push16=, .L.str($17) i32.eq $push17=, $16, $pop16 - br_if $pop17, 0 # 0: up to label84 + br_if 0, $pop17 # 0: up to label84 # BB#4: # %if.then4.i end_loop # label85: call abort@FUNCTION diff --git a/test/torture-s/vfprintf-1.c.s b/test/torture-s/vfprintf-1.c.s index 0d4fd84bb..aec717159 100644 --- a/test/torture-s/vfprintf-1.c.s +++ b/test/torture-s/vfprintf-1.c.s @@ -20,7 +20,7 @@ inner: # @inner block i32.const $push1=, 10 i32.gt_u $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry block block @@ -59,7 +59,7 @@ inner: # @inner i32.call $push95=, vfprintf@FUNCTION, $pop93, $pop98, $pop94 i32.const $push96=, 5 i32.eq $push97=, $pop95, $pop96 - br_if $pop97, 10 # 10: down to label1 + br_if 10, $pop97 # 10: down to label1 # BB#3: # %if.then call abort@FUNCTION unreachable @@ -77,7 +77,7 @@ inner: # @inner i32.call $push86=, vfprintf@FUNCTION, $pop84, $pop100, $pop85 i32.const $push87=, 6 i32.eq $push88=, $pop86, $pop87 - br_if $pop88, 9 # 9: down to label1 + br_if 9, $pop88 # 9: down to label1 # BB#5: # %if.then8 call abort@FUNCTION unreachable @@ -95,7 +95,7 @@ inner: # @inner i32.call $push77=, vfprintf@FUNCTION, $pop75, $pop102, $pop76 i32.const $push78=, 1 i32.eq $push79=, $pop77, $pop78 - br_if $pop79, 8 # 8: down to label1 + br_if 8, $pop79 # 8: down to label1 # BB#7: # %if.then14 call abort@FUNCTION unreachable @@ -113,7 +113,7 @@ inner: # @inner i32.call $push70=, vfprintf@FUNCTION, $pop68, $pop104, $pop69 i32.const $push120=, 0 i32.eq $push121=, $pop70, $pop120 - br_if $pop121, 7 # 7: down to label1 + br_if 7, $pop121 # 7: down to label1 # BB#9: # %if.then20 call abort@FUNCTION unreachable @@ -131,7 +131,7 @@ inner: # @inner i32.call $push61=, vfprintf@FUNCTION, $pop59, $pop106, $pop60 i32.const $push62=, 5 i32.eq $push63=, $pop61, $pop62 - br_if $pop63, 6 # 6: down to label1 + br_if 6, $pop63 # 6: down to label1 # BB#11: # %if.then26 call abort@FUNCTION unreachable @@ -149,7 +149,7 @@ inner: # @inner i32.call $push52=, vfprintf@FUNCTION, $pop50, $pop108, $pop51 i32.const $push53=, 6 i32.eq $push54=, $pop52, $pop53 - br_if $pop54, 5 # 5: down to label1 + br_if 5, $pop54 # 5: down to label1 # BB#13: # %if.then32 call abort@FUNCTION unreachable @@ -167,7 +167,7 @@ inner: # @inner i32.call $push43=, vfprintf@FUNCTION, $pop41, $pop110, $pop42 i32.const $push44=, 1 i32.eq $push45=, $pop43, $pop44 - br_if $pop45, 4 # 4: down to label1 + br_if 4, $pop45 # 4: down to label1 # BB#15: # %if.then38 call abort@FUNCTION unreachable @@ -185,7 +185,7 @@ inner: # @inner i32.call $push36=, vfprintf@FUNCTION, $pop34, $pop112, $pop35 i32.const $push122=, 0 i32.eq $push123=, $pop36, $pop122 - br_if $pop123, 3 # 3: down to label1 + br_if 3, $pop123 # 3: down to label1 # BB#17: # %if.then44 call abort@FUNCTION unreachable @@ -203,7 +203,7 @@ inner: # @inner i32.call $push27=, vfprintf@FUNCTION, $pop25, $pop114, $pop26 i32.const $push28=, 1 i32.eq $push29=, $pop27, $pop28 - br_if $pop29, 2 # 2: down to label1 + br_if 2, $pop29 # 2: down to label1 # BB#19: # %if.then50 call abort@FUNCTION unreachable @@ -221,7 +221,7 @@ inner: # @inner i32.call $push18=, vfprintf@FUNCTION, $pop16, $pop116, $pop17 i32.const $push19=, 7 i32.eq $push20=, $pop18, $pop19 - br_if $pop20, 1 # 1: down to label1 + br_if 1, $pop20 # 1: down to label1 # BB#21: # %if.then56 call abort@FUNCTION unreachable @@ -239,7 +239,7 @@ inner: # @inner i32.call $push9=, vfprintf@FUNCTION, $pop7, $pop118, $pop8 i32.const $push10=, 2 i32.eq $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#23: # %if.then62 call abort@FUNCTION unreachable diff --git a/test/torture-s/vfprintf-chk-1.c.s b/test/torture-s/vfprintf-chk-1.c.s index f421fdc2f..94195e943 100644 --- a/test/torture-s/vfprintf-chk-1.c.s +++ b/test/torture-s/vfprintf-chk-1.c.s @@ -11,7 +11,7 @@ __vfprintf_chk: # @__vfprintf_chk block i32.const $push3=, 0 i32.load $push0=, should_optimize($pop3) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 i32.const $push1=, 1 @@ -46,7 +46,7 @@ inner: # @inner block i32.const $push1=, 10 i32.gt_u $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %entry block block @@ -89,7 +89,7 @@ inner: # @inner i32.load $push128=, should_optimize($pop137) i32.const $push193=, 0 i32.eq $push194=, $pop128, $pop193 - br_if $pop194, 0 # 0: down to label17 + br_if 0, $pop194 # 0: down to label17 # BB#3: # %if.end block i32.const $push143=, 0 @@ -101,11 +101,11 @@ inner: # @inner i32.call $push132=, __vfprintf_chk@FUNCTION, $pop130, $0, $pop141, $pop131 i32.const $push133=, 5 i32.ne $push134=, $pop132, $pop133 - br_if $pop134, 0 # 0: down to label18 + br_if 0, $pop134 # 0: down to label18 # BB#4: # %if.end5 i32.const $push135=, 0 i32.load $push136=, should_optimize($pop135) - br_if $pop136, 12 # 12: down to label5 + br_if 12, $pop136 # 12: down to label5 # BB#5: # %if.then7 call abort@FUNCTION unreachable @@ -132,7 +132,7 @@ inner: # @inner i32.load $push116=, should_optimize($pop144) i32.const $push195=, 0 i32.eq $push196=, $pop116, $pop195 - br_if $pop196, 0 # 0: down to label19 + br_if 0, $pop196 # 0: down to label19 # BB#9: # %if.end13 block i32.const $push150=, 0 @@ -144,11 +144,11 @@ inner: # @inner i32.call $push120=, __vfprintf_chk@FUNCTION, $pop118, $0, $pop148, $pop119 i32.const $push121=, 6 i32.ne $push122=, $pop120, $pop121 - br_if $pop122, 0 # 0: down to label20 + br_if 0, $pop122 # 0: down to label20 # BB#10: # %if.end17 i32.const $push123=, 0 i32.load $push124=, should_optimize($pop123) - br_if $pop124, 11 # 11: down to label5 + br_if 11, $pop124 # 11: down to label5 # BB#11: # %if.then19 call abort@FUNCTION unreachable @@ -175,7 +175,7 @@ inner: # @inner i32.load $push105=, should_optimize($pop151) i32.const $push197=, 0 i32.eq $push198=, $pop105, $pop197 - br_if $pop198, 0 # 0: down to label21 + br_if 0, $pop198 # 0: down to label21 # BB#15: # %if.end25 block i32.const $push157=, 0 @@ -186,11 +186,11 @@ inner: # @inner i32.load $push108=, 8($4) i32.call $push109=, __vfprintf_chk@FUNCTION, $pop107, $0, $pop155, $pop108 i32.ne $push110=, $pop109, $0 - br_if $pop110, 0 # 0: down to label22 + br_if 0, $pop110 # 0: down to label22 # BB#16: # %if.end29 i32.const $push111=, 0 i32.load $push112=, should_optimize($pop111) - br_if $pop112, 10 # 10: down to label5 + br_if 10, $pop112 # 10: down to label5 # BB#17: # %if.then31 call abort@FUNCTION unreachable @@ -217,7 +217,7 @@ inner: # @inner i32.load $push95=, should_optimize($pop158) i32.const $push199=, 0 i32.eq $push200=, $pop95, $pop199 - br_if $pop200, 0 # 0: down to label23 + br_if 0, $pop200 # 0: down to label23 # BB#21: # %if.end37 block i32.const $push164=, 0 @@ -227,11 +227,11 @@ inner: # @inner i32.const $push162=, .L.str.3 i32.load $push98=, 8($4) i32.call $push99=, __vfprintf_chk@FUNCTION, $pop97, $0, $pop162, $pop98 - br_if $pop99, 0 # 0: down to label24 + br_if 0, $pop99 # 0: down to label24 # BB#22: # %if.end41 i32.const $push100=, 0 i32.load $push101=, should_optimize($pop100) - br_if $pop101, 9 # 9: down to label5 + br_if 9, $pop101 # 9: down to label5 # BB#23: # %if.then43 call abort@FUNCTION unreachable @@ -257,7 +257,7 @@ inner: # @inner i32.load $push83=, should_optimize($0) i32.const $push201=, 0 i32.eq $push202=, $pop83, $pop201 - br_if $pop202, 0 # 0: down to label25 + br_if 0, $pop202 # 0: down to label25 # BB#27: # %if.end49 block i32.store $push84=, should_optimize($0), $0 @@ -267,11 +267,11 @@ inner: # @inner i32.call $push87=, __vfprintf_chk@FUNCTION, $pop85, $0, $pop168, $pop86 i32.const $push88=, 5 i32.ne $push89=, $pop87, $pop88 - br_if $pop89, 0 # 0: down to label26 + br_if 0, $pop89 # 0: down to label26 # BB#28: # %if.end53 i32.const $push90=, 0 i32.load $push91=, should_optimize($pop90) - br_if $pop91, 8 # 8: down to label5 + br_if 8, $pop91 # 8: down to label5 # BB#29: # %if.then55 call abort@FUNCTION unreachable @@ -297,7 +297,7 @@ inner: # @inner i32.load $push70=, should_optimize($0) i32.const $push203=, 0 i32.eq $push204=, $pop70, $pop203 - br_if $pop204, 0 # 0: down to label27 + br_if 0, $pop204 # 0: down to label27 # BB#33: # %if.end61 block i32.store $push71=, should_optimize($0), $0 @@ -307,11 +307,11 @@ inner: # @inner i32.call $push74=, __vfprintf_chk@FUNCTION, $pop72, $0, $pop172, $pop73 i32.const $push75=, 6 i32.ne $push76=, $pop74, $pop75 - br_if $pop76, 0 # 0: down to label28 + br_if 0, $pop76 # 0: down to label28 # BB#34: # %if.end65 i32.const $push77=, 0 i32.load $push78=, should_optimize($pop77) - br_if $pop78, 7 # 7: down to label5 + br_if 7, $pop78 # 7: down to label5 # BB#35: # %if.then67 call abort@FUNCTION unreachable @@ -337,7 +337,7 @@ inner: # @inner i32.load $push57=, should_optimize($0) i32.const $push205=, 0 i32.eq $push206=, $pop57, $pop205 - br_if $pop206, 0 # 0: down to label29 + br_if 0, $pop206 # 0: down to label29 # BB#39: # %if.end73 block i32.store $push58=, should_optimize($0), $0 @@ -347,11 +347,11 @@ inner: # @inner i32.call $push61=, __vfprintf_chk@FUNCTION, $pop59, $0, $pop176, $pop60 i32.const $push62=, 1 i32.ne $push63=, $pop61, $pop62 - br_if $pop63, 0 # 0: down to label30 + br_if 0, $pop63 # 0: down to label30 # BB#40: # %if.end77 i32.const $push64=, 0 i32.load $push65=, should_optimize($pop64) - br_if $pop65, 6 # 6: down to label5 + br_if 6, $pop65 # 6: down to label5 # BB#41: # %if.then79 call abort@FUNCTION unreachable @@ -377,7 +377,7 @@ inner: # @inner i32.load $push46=, should_optimize($0) i32.const $push207=, 0 i32.eq $push208=, $pop46, $pop207 - br_if $pop208, 0 # 0: down to label31 + br_if 0, $pop208 # 0: down to label31 # BB#45: # %if.end85 block i32.store $push47=, should_optimize($0), $0 @@ -385,11 +385,11 @@ inner: # @inner i32.const $push180=, .L.str.4 i32.load $push49=, 8($4) i32.call $push50=, __vfprintf_chk@FUNCTION, $pop48, $0, $pop180, $pop49 - br_if $pop50, 0 # 0: down to label32 + br_if 0, $pop50 # 0: down to label32 # BB#46: # %if.end89 i32.const $push51=, 0 i32.load $push52=, should_optimize($pop51) - br_if $pop52, 5 # 5: down to label5 + br_if 5, $pop52 # 5: down to label5 # BB#47: # %if.then91 call abort@FUNCTION unreachable @@ -415,7 +415,7 @@ inner: # @inner i32.load $push33=, should_optimize($0) i32.const $push209=, 0 i32.eq $push210=, $pop33, $pop209 - br_if $pop210, 0 # 0: down to label33 + br_if 0, $pop210 # 0: down to label33 # BB#51: # %if.end97 block i32.store $push34=, should_optimize($0), $0 @@ -425,11 +425,11 @@ inner: # @inner i32.call $push37=, __vfprintf_chk@FUNCTION, $pop35, $0, $pop184, $pop36 i32.const $push38=, 1 i32.ne $push39=, $pop37, $pop38 - br_if $pop39, 0 # 0: down to label34 + br_if 0, $pop39 # 0: down to label34 # BB#52: # %if.end101 i32.const $push40=, 0 i32.load $push41=, should_optimize($pop40) - br_if $pop41, 4 # 4: down to label5 + br_if 4, $pop41 # 4: down to label5 # BB#53: # %if.then103 call abort@FUNCTION unreachable @@ -455,7 +455,7 @@ inner: # @inner i32.load $push20=, should_optimize($0) i32.const $push211=, 0 i32.eq $push212=, $pop20, $pop211 - br_if $pop212, 0 # 0: down to label35 + br_if 0, $pop212 # 0: down to label35 # BB#57: # %if.end109 block i32.store $push21=, should_optimize($0), $0 @@ -465,11 +465,11 @@ inner: # @inner i32.call $push24=, __vfprintf_chk@FUNCTION, $pop22, $0, $pop188, $pop23 i32.const $push25=, 7 i32.ne $push26=, $pop24, $pop25 - br_if $pop26, 0 # 0: down to label36 + br_if 0, $pop26 # 0: down to label36 # BB#58: # %if.end113 i32.const $push27=, 0 i32.load $push28=, should_optimize($pop27) - br_if $pop28, 3 # 3: down to label5 + br_if 3, $pop28 # 3: down to label5 # BB#59: # %if.then115 call abort@FUNCTION unreachable @@ -494,7 +494,7 @@ inner: # @inner i32.load $push7=, should_optimize($0) i32.const $push213=, 0 i32.eq $push214=, $pop7, $pop213 - br_if $pop214, 3 # 3: down to label2 + br_if 3, $pop214 # 3: down to label2 # BB#63: # %if.end121 i32.store $push8=, should_optimize($0), $0 i32.load $push9=, stdout($pop8) @@ -503,13 +503,13 @@ inner: # @inner i32.call $push11=, __vfprintf_chk@FUNCTION, $pop9, $0, $pop192, $pop10 i32.const $push12=, 2 i32.ne $push13=, $pop11, $pop12 - br_if $pop13, 2 # 2: down to label3 + br_if 2, $pop13 # 2: down to label3 # BB#64: # %if.end125 i32.const $push14=, 0 i32.load $push15=, should_optimize($pop14) i32.const $push215=, 0 i32.eq $push216=, $pop15, $pop215 - br_if $pop216, 1 # 1: down to label4 + br_if 1, $pop216 # 1: down to label4 .LBB1_65: # %sw.epilog end_block # label5: i32.const $3=, 16 diff --git a/test/torture-s/vla-dealloc-1.c.s b/test/torture-s/vla-dealloc-1.c.s index ac6215aa6..58f941a63 100644 --- a/test/torture-s/vla-dealloc-1.c.s +++ b/test/torture-s/vla-dealloc-1.c.s @@ -38,7 +38,7 @@ main: # @main copy_local $7=, $0 i32.const $push7=, 1000000 i32.ne $push5=, $3, $pop7 - br_if $pop5, 0 # 0: up to label0 + br_if 0, $pop5 # 0: up to label0 # BB#2: # %cleanup5 end_loop # label1: i32.const $push6=, 0 diff --git a/test/torture-s/vprintf-1.c.s b/test/torture-s/vprintf-1.c.s index 4ea185454..d1d85fa8e 100644 --- a/test/torture-s/vprintf-1.c.s +++ b/test/torture-s/vprintf-1.c.s @@ -20,7 +20,7 @@ inner: # @inner block i32.const $push1=, 10 i32.gt_u $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label0 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry block block @@ -59,7 +59,7 @@ inner: # @inner i32.call $push95=, vfprintf@FUNCTION, $pop94, $pop98, $pop93 i32.const $push96=, 5 i32.eq $push97=, $pop95, $pop96 - br_if $pop97, 10 # 10: down to label1 + br_if 10, $pop97 # 10: down to label1 # BB#3: # %if.then call abort@FUNCTION unreachable @@ -77,7 +77,7 @@ inner: # @inner i32.call $push86=, vfprintf@FUNCTION, $pop85, $pop100, $pop84 i32.const $push87=, 6 i32.eq $push88=, $pop86, $pop87 - br_if $pop88, 9 # 9: down to label1 + br_if 9, $pop88 # 9: down to label1 # BB#5: # %if.then8 call abort@FUNCTION unreachable @@ -95,7 +95,7 @@ inner: # @inner i32.call $push77=, vfprintf@FUNCTION, $pop76, $pop102, $pop75 i32.const $push78=, 1 i32.eq $push79=, $pop77, $pop78 - br_if $pop79, 8 # 8: down to label1 + br_if 8, $pop79 # 8: down to label1 # BB#7: # %if.then14 call abort@FUNCTION unreachable @@ -113,7 +113,7 @@ inner: # @inner i32.call $push70=, vfprintf@FUNCTION, $pop69, $pop104, $pop68 i32.const $push120=, 0 i32.eq $push121=, $pop70, $pop120 - br_if $pop121, 7 # 7: down to label1 + br_if 7, $pop121 # 7: down to label1 # BB#9: # %if.then20 call abort@FUNCTION unreachable @@ -131,7 +131,7 @@ inner: # @inner i32.call $push61=, vfprintf@FUNCTION, $pop60, $pop106, $pop59 i32.const $push62=, 5 i32.eq $push63=, $pop61, $pop62 - br_if $pop63, 6 # 6: down to label1 + br_if 6, $pop63 # 6: down to label1 # BB#11: # %if.then26 call abort@FUNCTION unreachable @@ -149,7 +149,7 @@ inner: # @inner i32.call $push52=, vfprintf@FUNCTION, $pop51, $pop108, $pop50 i32.const $push53=, 6 i32.eq $push54=, $pop52, $pop53 - br_if $pop54, 5 # 5: down to label1 + br_if 5, $pop54 # 5: down to label1 # BB#13: # %if.then32 call abort@FUNCTION unreachable @@ -167,7 +167,7 @@ inner: # @inner i32.call $push43=, vfprintf@FUNCTION, $pop42, $pop110, $pop41 i32.const $push44=, 1 i32.eq $push45=, $pop43, $pop44 - br_if $pop45, 4 # 4: down to label1 + br_if 4, $pop45 # 4: down to label1 # BB#15: # %if.then38 call abort@FUNCTION unreachable @@ -185,7 +185,7 @@ inner: # @inner i32.call $push36=, vfprintf@FUNCTION, $pop35, $pop112, $pop34 i32.const $push122=, 0 i32.eq $push123=, $pop36, $pop122 - br_if $pop123, 3 # 3: down to label1 + br_if 3, $pop123 # 3: down to label1 # BB#17: # %if.then44 call abort@FUNCTION unreachable @@ -203,7 +203,7 @@ inner: # @inner i32.call $push27=, vfprintf@FUNCTION, $pop26, $pop114, $pop25 i32.const $push28=, 1 i32.eq $push29=, $pop27, $pop28 - br_if $pop29, 2 # 2: down to label1 + br_if 2, $pop29 # 2: down to label1 # BB#19: # %if.then50 call abort@FUNCTION unreachable @@ -221,7 +221,7 @@ inner: # @inner i32.call $push18=, vfprintf@FUNCTION, $pop17, $pop116, $pop16 i32.const $push19=, 7 i32.eq $push20=, $pop18, $pop19 - br_if $pop20, 1 # 1: down to label1 + br_if 1, $pop20 # 1: down to label1 # BB#21: # %if.then56 call abort@FUNCTION unreachable @@ -239,7 +239,7 @@ inner: # @inner i32.call $push9=, vfprintf@FUNCTION, $pop8, $pop118, $pop7 i32.const $push10=, 2 i32.eq $push11=, $pop9, $pop10 - br_if $pop11, 0 # 0: down to label1 + br_if 0, $pop11 # 0: down to label1 # BB#23: # %if.then62 call abort@FUNCTION unreachable diff --git a/test/torture-s/vprintf-chk-1.c.s b/test/torture-s/vprintf-chk-1.c.s index 34b87defd..00a4f7a44 100644 --- a/test/torture-s/vprintf-chk-1.c.s +++ b/test/torture-s/vprintf-chk-1.c.s @@ -11,7 +11,7 @@ __vprintf_chk: # @__vprintf_chk block i32.const $push4=, 0 i32.load $push0=, should_optimize($pop4) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 i32.const $push1=, 1 @@ -48,7 +48,7 @@ inner: # @inner block i32.const $push1=, 10 i32.gt_u $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %entry block block @@ -88,7 +88,7 @@ inner: # @inner i32.load $push90=, should_optimize($0) i32.const $push139=, 0 i32.eq $push140=, $pop90, $pop139 - br_if $pop140, 0 # 0: down to label17 + br_if 0, $pop140 # 0: down to label17 # BB#3: # %if.end i32.store $discard=, should_optimize($0), $0 block @@ -97,11 +97,11 @@ inner: # @inner i32.call $push92=, __vprintf_chk@FUNCTION, $0, $pop99, $pop91 i32.const $push93=, 5 i32.ne $push94=, $pop92, $pop93 - br_if $pop94, 0 # 0: down to label18 + br_if 0, $pop94 # 0: down to label18 # BB#4: # %if.end5 i32.const $push95=, 0 i32.load $push96=, should_optimize($pop95) - br_if $pop96, 12 # 12: down to label5 + br_if 12, $pop96 # 12: down to label5 # BB#5: # %if.then7 call abort@FUNCTION unreachable @@ -126,7 +126,7 @@ inner: # @inner i32.load $push81=, should_optimize($pop100) i32.const $push141=, 0 i32.eq $push142=, $pop81, $pop141 - br_if $pop142, 0 # 0: down to label19 + br_if 0, $pop142 # 0: down to label19 # BB#9: # %if.end13 i32.const $push105=, 0 i32.const $push104=, 0 @@ -137,11 +137,11 @@ inner: # @inner i32.call $push83=, __vprintf_chk@FUNCTION, $0, $pop103, $pop82 i32.const $push84=, 6 i32.ne $push85=, $pop83, $pop84 - br_if $pop85, 0 # 0: down to label20 + br_if 0, $pop85 # 0: down to label20 # BB#10: # %if.end17 i32.const $push86=, 0 i32.load $push87=, should_optimize($pop86) - br_if $pop87, 11 # 11: down to label5 + br_if 11, $pop87 # 11: down to label5 # BB#11: # %if.then19 call abort@FUNCTION unreachable @@ -166,7 +166,7 @@ inner: # @inner i32.load $push73=, should_optimize($pop106) i32.const $push143=, 0 i32.eq $push144=, $pop73, $pop143 - br_if $pop144, 0 # 0: down to label21 + br_if 0, $pop144 # 0: down to label21 # BB#15: # %if.end25 i32.const $push111=, 0 i32.const $push110=, 0 @@ -176,11 +176,11 @@ inner: # @inner i32.load $push74=, 8($4) i32.call $push75=, __vprintf_chk@FUNCTION, $0, $pop109, $pop74 i32.ne $push76=, $pop75, $0 - br_if $pop76, 0 # 0: down to label22 + br_if 0, $pop76 # 0: down to label22 # BB#16: # %if.end29 i32.const $push77=, 0 i32.load $push78=, should_optimize($pop77) - br_if $pop78, 10 # 10: down to label5 + br_if 10, $pop78 # 10: down to label5 # BB#17: # %if.then31 call abort@FUNCTION unreachable @@ -205,7 +205,7 @@ inner: # @inner i32.load $push66=, should_optimize($pop112) i32.const $push145=, 0 i32.eq $push146=, $pop66, $pop145 - br_if $pop146, 0 # 0: down to label23 + br_if 0, $pop146 # 0: down to label23 # BB#21: # %if.end37 i32.const $push117=, 0 i32.const $push116=, 0 @@ -214,11 +214,11 @@ inner: # @inner i32.const $push115=, .L.str.3 i32.load $push67=, 8($4) i32.call $push68=, __vprintf_chk@FUNCTION, $0, $pop115, $pop67 - br_if $pop68, 0 # 0: down to label24 + br_if 0, $pop68 # 0: down to label24 # BB#22: # %if.end41 i32.const $push69=, 0 i32.load $push70=, should_optimize($pop69) - br_if $pop70, 9 # 9: down to label5 + br_if 9, $pop70 # 9: down to label5 # BB#23: # %if.then43 call abort@FUNCTION unreachable @@ -242,7 +242,7 @@ inner: # @inner i32.load $push57=, should_optimize($0) i32.const $push147=, 0 i32.eq $push148=, $pop57, $pop147 - br_if $pop148, 0 # 0: down to label25 + br_if 0, $pop148 # 0: down to label25 # BB#27: # %if.end49 i32.store $discard=, should_optimize($0), $0 block @@ -251,11 +251,11 @@ inner: # @inner i32.call $push59=, __vprintf_chk@FUNCTION, $0, $pop120, $pop58 i32.const $push60=, 5 i32.ne $push61=, $pop59, $pop60 - br_if $pop61, 0 # 0: down to label26 + br_if 0, $pop61 # 0: down to label26 # BB#28: # %if.end53 i32.const $push62=, 0 i32.load $push63=, should_optimize($pop62) - br_if $pop63, 8 # 8: down to label5 + br_if 8, $pop63 # 8: down to label5 # BB#29: # %if.then55 call abort@FUNCTION unreachable @@ -279,7 +279,7 @@ inner: # @inner i32.load $push48=, should_optimize($0) i32.const $push149=, 0 i32.eq $push150=, $pop48, $pop149 - br_if $pop150, 0 # 0: down to label27 + br_if 0, $pop150 # 0: down to label27 # BB#33: # %if.end61 i32.store $discard=, should_optimize($0), $0 block @@ -288,11 +288,11 @@ inner: # @inner i32.call $push50=, __vprintf_chk@FUNCTION, $0, $pop123, $pop49 i32.const $push51=, 6 i32.ne $push52=, $pop50, $pop51 - br_if $pop52, 0 # 0: down to label28 + br_if 0, $pop52 # 0: down to label28 # BB#34: # %if.end65 i32.const $push53=, 0 i32.load $push54=, should_optimize($pop53) - br_if $pop54, 7 # 7: down to label5 + br_if 7, $pop54 # 7: down to label5 # BB#35: # %if.then67 call abort@FUNCTION unreachable @@ -316,7 +316,7 @@ inner: # @inner i32.load $push39=, should_optimize($0) i32.const $push151=, 0 i32.eq $push152=, $pop39, $pop151 - br_if $pop152, 0 # 0: down to label29 + br_if 0, $pop152 # 0: down to label29 # BB#39: # %if.end73 i32.store $discard=, should_optimize($0), $0 block @@ -325,11 +325,11 @@ inner: # @inner i32.call $push41=, __vprintf_chk@FUNCTION, $0, $pop126, $pop40 i32.const $push42=, 1 i32.ne $push43=, $pop41, $pop42 - br_if $pop43, 0 # 0: down to label30 + br_if 0, $pop43 # 0: down to label30 # BB#40: # %if.end77 i32.const $push44=, 0 i32.load $push45=, should_optimize($pop44) - br_if $pop45, 6 # 6: down to label5 + br_if 6, $pop45 # 6: down to label5 # BB#41: # %if.then79 call abort@FUNCTION unreachable @@ -353,18 +353,18 @@ inner: # @inner i32.load $push32=, should_optimize($0) i32.const $push153=, 0 i32.eq $push154=, $pop32, $pop153 - br_if $pop154, 0 # 0: down to label31 + br_if 0, $pop154 # 0: down to label31 # BB#45: # %if.end85 i32.store $discard=, should_optimize($0), $0 block i32.const $push129=, .L.str.4 i32.load $push33=, 8($4) i32.call $push34=, __vprintf_chk@FUNCTION, $0, $pop129, $pop33 - br_if $pop34, 0 # 0: down to label32 + br_if 0, $pop34 # 0: down to label32 # BB#46: # %if.end89 i32.const $push35=, 0 i32.load $push36=, should_optimize($pop35) - br_if $pop36, 5 # 5: down to label5 + br_if 5, $pop36 # 5: down to label5 # BB#47: # %if.then91 call abort@FUNCTION unreachable @@ -388,7 +388,7 @@ inner: # @inner i32.load $push23=, should_optimize($0) i32.const $push155=, 0 i32.eq $push156=, $pop23, $pop155 - br_if $pop156, 0 # 0: down to label33 + br_if 0, $pop156 # 0: down to label33 # BB#51: # %if.end97 i32.store $discard=, should_optimize($0), $0 block @@ -397,11 +397,11 @@ inner: # @inner i32.call $push25=, __vprintf_chk@FUNCTION, $0, $pop132, $pop24 i32.const $push26=, 1 i32.ne $push27=, $pop25, $pop26 - br_if $pop27, 0 # 0: down to label34 + br_if 0, $pop27 # 0: down to label34 # BB#52: # %if.end101 i32.const $push28=, 0 i32.load $push29=, should_optimize($pop28) - br_if $pop29, 4 # 4: down to label5 + br_if 4, $pop29 # 4: down to label5 # BB#53: # %if.then103 call abort@FUNCTION unreachable @@ -425,7 +425,7 @@ inner: # @inner i32.load $push14=, should_optimize($0) i32.const $push157=, 0 i32.eq $push158=, $pop14, $pop157 - br_if $pop158, 0 # 0: down to label35 + br_if 0, $pop158 # 0: down to label35 # BB#57: # %if.end109 i32.store $discard=, should_optimize($0), $0 block @@ -434,11 +434,11 @@ inner: # @inner i32.call $push16=, __vprintf_chk@FUNCTION, $0, $pop135, $pop15 i32.const $push17=, 7 i32.ne $push18=, $pop16, $pop17 - br_if $pop18, 0 # 0: down to label36 + br_if 0, $pop18 # 0: down to label36 # BB#58: # %if.end113 i32.const $push19=, 0 i32.load $push20=, should_optimize($pop19) - br_if $pop20, 3 # 3: down to label5 + br_if 3, $pop20 # 3: down to label5 # BB#59: # %if.then115 call abort@FUNCTION unreachable @@ -461,7 +461,7 @@ inner: # @inner i32.load $push5=, should_optimize($0) i32.const $push159=, 0 i32.eq $push160=, $pop5, $pop159 - br_if $pop160, 3 # 3: down to label2 + br_if 3, $pop160 # 3: down to label2 # BB#63: # %if.end121 i32.store $discard=, should_optimize($0), $0 i32.const $push138=, .L.str.7 @@ -469,13 +469,13 @@ inner: # @inner i32.call $push7=, __vprintf_chk@FUNCTION, $0, $pop138, $pop6 i32.const $push8=, 2 i32.ne $push9=, $pop7, $pop8 - br_if $pop9, 2 # 2: down to label3 + br_if 2, $pop9 # 2: down to label3 # BB#64: # %if.end125 i32.const $push10=, 0 i32.load $push11=, should_optimize($pop10) i32.const $push161=, 0 i32.eq $push162=, $pop11, $pop161 - br_if $pop162, 1 # 1: down to label4 + br_if 1, $pop162 # 1: down to label4 .LBB1_65: # %sw.epilog end_block # label5: i32.const $3=, 16 diff --git a/test/torture-s/vrp-2.c.s b/test/torture-s/vrp-2.c.s index 8520107e7..331fa52aa 100644 --- a/test/torture-s/vrp-2.c.s +++ b/test/torture-s/vrp-2.c.s @@ -13,7 +13,7 @@ f: # @f block i32.const $push5=, 2 i32.eq $push0=, $0, $pop5 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.then i32.const $push1=, 31 i32.shr_s $push2=, $0, $pop1 diff --git a/test/torture-s/vrp-3.c.s b/test/torture-s/vrp-3.c.s index fc471a529..e34b792c0 100644 --- a/test/torture-s/vrp-3.c.s +++ b/test/torture-s/vrp-3.c.s @@ -15,7 +15,7 @@ f: # @f i32.add $push1=, $0, $pop0 i32.const $push2=, 25 i32.gt_u $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.then2 i32.const $push4=, 31 i32.shr_s $push5=, $0, $pop4 diff --git a/test/torture-s/vrp-4.c.s b/test/torture-s/vrp-4.c.s index 741fc5716..8033e4fb0 100644 --- a/test/torture-s/vrp-4.c.s +++ b/test/torture-s/vrp-4.c.s @@ -10,18 +10,18 @@ test: # @test block i32.const $push5=, 1 i32.eq $push0=, $0, $pop5 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end block i32.const $push6=, 1 i32.eq $push1=, $1, $pop6 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#2: # %if.end3 block i32.div_s $push2=, $0, $1 i32.const $push3=, 1 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#3: # %if.end6 return .LBB0_4: # %if.then5 diff --git a/test/torture-s/vrp-5.c.s b/test/torture-s/vrp-5.c.s index 44f4a00a1..1530faa87 100644 --- a/test/torture-s/vrp-5.c.s +++ b/test/torture-s/vrp-5.c.s @@ -10,18 +10,18 @@ test: # @test block i32.const $push5=, 4 i32.le_u $push0=, $0, $pop5 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end block i32.const $push6=, 4 i32.le_u $push1=, $1, $pop6 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#2: # %if.end3 block i32.const $push2=, 0 i32.sub $push3=, $pop2, $1 i32.ne $push4=, $0, $pop3 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#3: # %if.end6 return .LBB0_4: # %if.then5 diff --git a/test/torture-s/vrp-6.c.s b/test/torture-s/vrp-6.c.s index fcca907c6..76150050c 100644 --- a/test/torture-s/vrp-6.c.s +++ b/test/torture-s/vrp-6.c.s @@ -10,18 +10,18 @@ test01: # @test01 block i32.const $push5=, 4 i32.le_u $push0=, $0, $pop5 - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end block i32.const $push6=, 4 i32.le_u $push1=, $1, $pop6 - br_if $pop1, 0 # 0: down to label1 + br_if 0, $pop1 # 0: down to label1 # BB#2: # %if.end3 block i32.sub $push2=, $0, $1 i32.const $push3=, 5 i32.ne $push4=, $pop2, $pop3 - br_if $pop4, 0 # 0: down to label2 + br_if 0, $pop4 # 0: down to label2 # BB#3: # %if.end6 return .LBB0_4: # %if.then5 @@ -50,16 +50,16 @@ test02: # @test02 block i32.const $push1=, 12 i32.lt_u $push2=, $0, $pop1 - br_if $pop2, 0 # 0: down to label3 + br_if 0, $pop2 # 0: down to label3 # BB#1: # %entry i32.const $push3=, 16 i32.lt_u $push4=, $1, $pop3 - br_if $pop4, 0 # 0: down to label3 + br_if 0, $pop4 # 0: down to label3 # BB#2: # %entry i32.sub $push0=, $0, $1 i32.const $push5=, -17 i32.gt_u $push6=, $pop0, $pop5 - br_if $pop6, 0 # 0: down to label3 + br_if 0, $pop6 # 0: down to label3 # BB#3: # %if.then4 call abort@FUNCTION unreachable diff --git a/test/torture-s/vrp-7.c.s b/test/torture-s/vrp-7.c.s index c22875cf8..5ed00534b 100644 --- a/test/torture-s/vrp-7.c.s +++ b/test/torture-s/vrp-7.c.s @@ -39,7 +39,7 @@ main: # @main i32.and $push3=, $pop1, $pop2 i32.const $push6=, 0 i32.eq $push7=, $pop3, $pop6 - br_if $pop7, 0 # 0: down to label0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 return $pop5 diff --git a/test/torture-s/wchar_t-1.c.s b/test/torture-s/wchar_t-1.c.s index 4d7720331..63c00d73c 100644 --- a/test/torture-s/wchar_t-1.c.s +++ b/test/torture-s/wchar_t-1.c.s @@ -12,18 +12,18 @@ main: # @main i32.load $push1=, x($pop7) i32.const $push2=, 196 i32.ne $push3=, $pop1, $pop2 - br_if $pop3, 0 # 0: down to label0 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %entry i32.const $push8=, 0 i32.load $push0=, x+4($pop8) - br_if $pop0, 0 # 0: down to label0 + br_if 0, $pop0 # 0: down to label0 # BB#2: # %if.end block i32.const $push9=, 0 i32.load $push4=, y($pop9) i32.const $push5=, 196 i32.ne $push6=, $pop4, $pop5 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#3: # %if.end4 i32.const $push10=, 0 call exit@FUNCTION, $pop10 diff --git a/test/torture-s/zero-struct-1.c.s b/test/torture-s/zero-struct-1.c.s index acfbca70f..62466ccc6 100644 --- a/test/torture-s/zero-struct-1.c.s +++ b/test/torture-s/zero-struct-1.c.s @@ -47,12 +47,12 @@ main: # @main block i32.const $push8=, y+2 i32.ne $push5=, $1, $pop8 - br_if $pop5, 0 # 0: down to label0 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end block i32.const $push13=, y+2 i32.ne $push6=, $0, $pop13 - br_if $pop6, 0 # 0: down to label1 + br_if 0, $pop6 # 0: down to label1 # BB#2: # %if.end3 i32.const $push7=, 0 return $pop7 diff --git a/test/torture-s/zero-struct-2.c.s b/test/torture-s/zero-struct-2.c.s index 134d6d277..023ce1b54 100644 --- a/test/torture-s/zero-struct-2.c.s +++ b/test/torture-s/zero-struct-2.c.s @@ -33,7 +33,7 @@ main: # @main i32.add $push2=, $pop3, $pop1 i32.store $discard=, ii($pop5), $pop2 block - br_if $0, 0 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 0 return $pop6 |