[CodeGenPrepare] Handle properly the promotion of operands when this does not
[oota-llvm.git] / test / CodeGen / X86 / 2006-10-19-SwitchUnnecessaryBranching.ll
index 4fd80724651d83a708e2e7d3885f14da858b4014..d583e5964dc2b47a611fe49e0caeea301f309bf6 100644 (file)
@@ -6,8 +6,8 @@
 define i32 @test(i32 %argc, i8** %argv) nounwind {
 entry:
 ; CHECK: cmpl  $2
-; CHECK-NEXT: je
-; CHECK-NEXT: LBB1_1
+; CHECK-NEXT: jne
+; CHECK-NEXT: %bb2
 
        switch i32 %argc, label %UnifiedReturnBlock [
                 i32 1, label %bb