Assign weights to edges to jump table / bit test header when lowering switch statement.
[oota-llvm.git] / test / CodeGen / X86 / switch.ll
index d1222d0401055403863b112ba82a10379f49308d..fdb148af487e47294babb8bb4ebba4624b00bf08 100644 (file)
@@ -90,7 +90,7 @@ return: ret void
 ; but with 6-8, the whole switch is suitable for a jump table.
 ; CHECK-LABEL: jt_is_better
 ; CHECK: cmpl $8
-; CHECK: jbe
+; CHECK: ja
 ; CHECK: jmpq *.LJTI
 }