Revert r219223, it creates invalid PHI nodes.
[oota-llvm.git] / test / Transforms / SimplifyCFG / X86 / switch_to_lookup_table.ll
index 97ce25fd10f701dbe689eea494b5a4526fe637d7..51ced4099ac9648e620bc414d0b9018568a3023e 100644 (file)
@@ -915,12 +915,8 @@ return:
   %x = phi i32 [ 3, %sw.default ], [ 7, %sw.bb1 ], [ 9, %entry ]
   ret i32 %x
 ; CHECK-LABEL: @twocases(
-; CHECK-NOT: switch i32
+; CHECK: switch i32
 ; CHECK-NOT: @switch.table
-; CHECK: %switch.selectcmp
-; CHECK-NEXT: %switch.select
-; CHECK-NEXT: %switch.selectcmp1
-; CHECK-NEXT: %switch.select2
 }
 
 ; Don't build tables for switches with TLS variables.