[llvm] r197790 - test: Make a branchweight test more specific

Justin Bogner mail at justinbogner.com
Fri Dec 20 00:21:27 PST 2013


Author: bogner
Date: Fri Dec 20 02:21:27 2013
New Revision: 197790

URL: http://llvm.org/viewvc/llvm-project?rev=197790&view=rev
Log:
test: Make a branchweight test more specific

Modified:
    llvm/trunk/test/Transforms/SimplifyCFG/preserve-branchweights.ll

Modified: llvm/trunk/test/Transforms/SimplifyCFG/preserve-branchweights.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/preserve-branchweights.ll?rev=197790&r1=197789&r2=197790&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/preserve-branchweights.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/preserve-branchweights.ll Fri Dec 20 02:21:27 2013
@@ -301,7 +301,9 @@ entry:
     i32 1, label %sw.bb
   ], !prof !9
 ; CHECK-LABEL: @test12(
-; CHECK-NOT: switch
+; CHECK-NEXT: entry:
+; CHECK-NEXT: call void @helper
+; CHECK-NEXT: ret void
 
 sw.bb:
   call void @helper(i32 0)





More information about the llvm-commits mailing list