[llvm] r263675 - reduce check strings; no need to check IR comments
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 16 16:22:02 PDT 2016
Author: spatel
Date: Wed Mar 16 18:22:01 2016
New Revision: 263675
URL: http://llvm.org/viewvc/llvm-project?rev=263675&view=rev
Log:
reduce check strings; no need to check IR comments
Modified:
llvm/trunk/test/Transforms/SimplifyCFG/switch_thread.ll
Modified: llvm/trunk/test/Transforms/SimplifyCFG/switch_thread.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/switch_thread.ll?rev=263675&r1=263674&r2=263675&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/switch_thread.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/switch_thread.ll Wed Mar 16 18:22:01 2016
@@ -50,14 +50,14 @@ C: ; preds = %B, %A, %A2, %
; CHECK-NEXT: i32 4, label %T
; CHECK-NEXT: i32 17, label %Done
; CHECK-NEXT: ]
-; CHECK: T: ; preds = %0
+; CHECK: T:
; CHECK-NEXT: call void @foo1()
; CHECK-NEXT: call void @foo2()
; CHECK-NEXT: br label %Done
-; CHECK: A: ; preds = %0
+; CHECK: A:
; CHECK-NEXT: call void @foo1()
; CHECK-NEXT: br label %Done
-; CHECK: Done: ; preds = %T, %A, %0
+; CHECK: Done:
; CHECK-NEXT: ret void
}
@@ -96,18 +96,18 @@ E: ; preds = %A, %0
; CHECK-NEXT: i32 17, label %D
; CHECK-NEXT: i32 1234, label %E
; CHECK-NEXT: ]
-; CHECK: A: ; preds = %0
+; CHECK: A:
; CHECK-NEXT: call void @foo1()
; CHECK-NEXT: [[COND:%.*]] = icmp eq i32 %V, 42
; CHECK-NEXT: br i1 [[COND]], label %D, label %E
-; CHECK: T: ; preds = %0
+; CHECK: T:
; CHECK-NEXT: call void @foo1()
; CHECK-NEXT: call void @foo1()
; CHECK-NEXT: ret void
-; CHECK: D: ; preds = %A, %0
+; CHECK: D:
; CHECK-NEXT: call void @foo1()
; CHECK-NEXT: ret void
-; CHECK: E: ; preds = %A, %0
+; CHECK: E:
; CHECK-NEXT: ret void
}
More information about the llvm-commits
mailing list