diff options
Diffstat (limited to 'test/llvm_autogenerated/phi.s')
-rw-r--r-- | test/llvm_autogenerated/phi.s | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/llvm_autogenerated/phi.s b/test/llvm_autogenerated/phi.s index 81605658c..d028a2883 100644 --- a/test/llvm_autogenerated/phi.s +++ b/test/llvm_autogenerated/phi.s @@ -29,15 +29,16 @@ test1: i32.const $4=, 0 .LBB1_1: loop - copy_local $1=, $3 - copy_local $3=, $2 - i32.const $push1=, 1 - i32.add $4=, $4, $pop1 - copy_local $2=, $1 - i32.lt_s $push0=, $4, $0 + copy_local $1=, $2 + copy_local $2=, $3 + copy_local $3=, $1 + i32.const $push3=, 1 + i32.add $push2=, $4, $pop3 + tee_local $push1=, $4=, $pop2 + i32.lt_s $push0=, $pop1, $0 br_if 0, $pop0 end_loop - return $3 + return $1 .endfunc .Lfunc_end1: .size test1, .Lfunc_end1-test1 |