Distribute the weight on the edge from switch to default statement to edges generated...
[oota-llvm.git] / test / CodeGen / X86 / 2006-10-19-SwitchUnnecessaryBranching.ll
index dd670648daf6284c3630acfcdb36a378fe471731..332816e22cda26afcebad014568fea9b4ceb3eae 100644 (file)
@@ -6,8 +6,8 @@
 define i32 @test(i32 %argc, i8** %argv) nounwind {
 entry:
 ; CHECK: cmpl  $2
 define i32 @test(i32 %argc, i8** %argv) nounwind {
 entry:
 ; CHECK: cmpl  $2
-; CHECK-NEXT: jne
-; CHECK-NEXT: %bb2
+; CHECK-NEXT: je
+; CHECK-NEXT: %entry
 
        switch i32 %argc, label %UnifiedReturnBlock [
                 i32 1, label %bb
 
        switch i32 %argc, label %UnifiedReturnBlock [
                 i32 1, label %bb