[PATCH] D125514: [WebAssembly] Use CHECK-NEXT for irreducible-cfg.mir

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 11:12:50 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG44718c5ef2c5: [WebAssembly] Use CHECK-NEXT for irreducible-cfg.mir (authored by aheejin).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125514/new/

https://reviews.llvm.org/D125514

Files:
  llvm/test/CodeGen/WebAssembly/irreducible-cfg.mir


Index: llvm/test/CodeGen/WebAssembly/irreducible-cfg.mir
===================================================================
--- llvm/test/CodeGen/WebAssembly/irreducible-cfg.mir
+++ llvm/test/CodeGen/WebAssembly/irreducible-cfg.mir
@@ -32,52 +32,52 @@
     %0:i32 = CONST_I32 100, implicit-def $arguments
     BR_IF %bb.2, %0:i32, implicit-def $arguments
   ; CHECK: bb.0.pred0:
-    ; CHECK: BR_IF %bb.2, %0, implicit-def $arguments
+    ; CHECK:      BR_IF %bb.2, %0, implicit-def $arguments
 
   bb.1.pred1:
   ; predecessors: %bb.1
     successors: %bb.2, %bb.3
     BR_IF %bb.3, %0:i32, implicit-def $arguments
   ; CHECK: bb.1.pred1:
-    ; CHECK: BR_IF %bb.7, %0, implicit-def $arguments
+    ; CHECK:      BR_IF %bb.7, %0, implicit-def $arguments
     ; This falls through to bb.2, so we don't need an additional BR here
-    ; CHECK-NOT: BR
+    ; CHECK-NOT:  BR
 
   ; Routing block for entry0, when predecessor is outside the loop
   ; This routing block is shared between the two predecessors: pred0 and pred1.
   ; CHECK: bb.2:
-    ; CHECK: %1:i32 = CONST_I32 0, implicit-def $arguments
-    ; CHECK: BR %bb.6, implicit-def $arguments
+    ; CHECK:      %1:i32 = CONST_I32 0, implicit-def $arguments
+    ; CHECK-NEXT: BR %bb.6, implicit-def $arguments
 
   bb.2.entry0:
   ; predecessors: %bb.0, %bb.1, %bb.1
     successors: %bb.3
     BR %bb.3, implicit-def $arguments
   ; CHECK: bb.3.entry0:
-    ; CHECK: BR %bb.4, implicit-def $arguments
+    ; CHECK:      BR %bb.4, implicit-def $arguments
 
   ; Routing block for entry1, when predecessor is inside the loop
   ; CHECK: bb.4:
-    ; CHECK: %1:i32 = CONST_I32 1, implicit-def $arguments
-    ; CHECK: BR %bb.6, implicit-def $arguments
+    ; CHECK:      %1:i32 = CONST_I32 1, implicit-def $arguments
+    ; CHECK-NEXT: BR %bb.6, implicit-def $arguments
 
   bb.3.entry1:
   ; predecessors: %bb.1, %bb.2
     successors: %bb.2
     BR %bb.2, implicit-def $arguments
   ; CHECK: bb.5.entry1:
-    ; CHECK: BR %bb.8, implicit-def $arguments
+    ; CHECK:      BR %bb.8, implicit-def $arguments
 
   ; Dispatch block
   ; CHECK: bb.6:
-    ; CHECK: BR_TABLE_I32 %1, %bb.3, %bb.5, %bb.5, implicit-def $arguments
+    ; CHECK:      BR_TABLE_I32 %1, %bb.3, %bb.5, %bb.5, implicit-def $arguments
 
   ; Routing block for entry1, when predecessor is outside the loop
   ; CHECK: bb.7:
-    ; CHECK: %1:i32 = CONST_I32 1, implicit-def $arguments
-    ; CHECK: BR %bb.6, implicit-def $arguments
+    ; CHECK:      %1:i32 = CONST_I32 1, implicit-def $arguments
+    ; CHECK-NEXT: BR %bb.6, implicit-def $arguments
 
   ; Routing block for entry0, when predecessor is inside the loop
   ; CHECK: bb.8:
-    ; CHECK: %1:i32 = CONST_I32 0, implicit-def $arguments
-    ; CHECK: BR %bb.6, implicit-def $arguments
+    ; CHECK:      %1:i32 = CONST_I32 0, implicit-def $arguments
+    ; CHECK-NEXT: BR %bb.6, implicit-def $arguments


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125514.430746.patch
Type: text/x-patch
Size: 2888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220519/60bc4d51/attachment.bin>


More information about the llvm-commits mailing list