[llvm] r278713 - Fix WAsm test after LSR change in r278658

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 11:51:42 PDT 2016


Author: rnk
Date: Mon Aug 15 13:51:42 2016
New Revision: 278713

URL: http://llvm.org/viewvc/llvm-project?rev=278713&view=rev
Log:
Fix WAsm test after LSR change in r278658

Now the increment is done in a different location

Modified:
    llvm/trunk/test/CodeGen/WebAssembly/cfg-stackify.ll

Modified: llvm/trunk/test/CodeGen/WebAssembly/cfg-stackify.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WebAssembly/cfg-stackify.ll?rev=278713&r1=278712&r2=278713&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/WebAssembly/cfg-stackify.ll (original)
+++ llvm/trunk/test/CodeGen/WebAssembly/cfg-stackify.ll Mon Aug 15 13:51:42 2016
@@ -16,23 +16,23 @@ declare void @something()
 ; CHECK-LABEL: test0:
 ; CHECK: loop
 ; CHECK-NEXT: block
-; CHECK-NEXT: i32.const
-; CHECK-NEXT: i32.add
 ; CHECK:      i32.lt_s
 ; CHECK-NEXT: br_if
 ; CHECK-NEXT: return
 ; CHECK-NEXT: .LBB0_3:
 ; CHECK-NEXT: end_block
+; CHECK-NEXT: i32.const
+; CHECK-NEXT: i32.add
 ; CHECK-NEXT: call
 ; CHECK-NEXT: br
 ; CHECK-NEXT: .LBB0_4:
 ; CHECK-NEXT: end_loop
 ; OPT-LABEL: test0:
 ; OPT: loop
-; OPT-NEXT: i32.const
-; OPT-NEXT: i32.add
 ; OPT:      i32.ge_s
 ; OPT-NEXT: br_if
+; OPT-NEXT: i32.const
+; OPT-NEXT: i32.add
 ; OPT-NOT: br
 ; OPT: call
 ; OPT: br 0{{$}}
@@ -61,23 +61,23 @@ back:
 ; CHECK-LABEL: test1:
 ; CHECK: loop
 ; CHECK-NEXT: block
-; CHECK-NEXT: i32.const
-; CHECK-NEXT: i32.add
 ; CHECK:      i32.lt_s
 ; CHECK-NEXT: br_if
 ; CHECK-NEXT: return
 ; CHECK-NEXT: .LBB1_3:
 ; CHECK-NEXT: end_block
+; CHECK-NEXT: i32.const
+; CHECK-NEXT: i32.add
 ; CHECK-NEXT: call
 ; CHECK-NEXT: br
 ; CHECK-NEXT: .LBB1_4:
 ; CHECK-NEXT: end_loop
 ; OPT-LABEL: test1:
 ; OPT: loop
-; OPT-NEXT: i32.const
-; OPT-NEXT: i32.add
 ; OPT:      i32.ge_s
 ; OPT-NEXT: br_if
+; OPT-NEXT: i32.const
+; OPT-NEXT: i32.add
 ; OPT-NOT: br
 ; OPT: call
 ; OPT: br 0{{$}}




More information about the llvm-commits mailing list