projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Assign weights to edges to jump table / bit test header when lowering switch statement.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
switch.ll
diff --git
a/test/CodeGen/X86/switch.ll
b/test/CodeGen/X86/switch.ll
index d1222d0401055403863b112ba82a10379f49308d..fdb148af487e47294babb8bb4ebba4624b00bf08 100644
(file)
--- a/
test/CodeGen/X86/switch.ll
+++ b/
test/CodeGen/X86/switch.ll
@@
-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: j
be
+; CHECK: j
a
; CHECK: jmpq *.LJTI
}