projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
diff --git
a/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
b/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
index dd670648daf6284c3630acfcdb36a378fe471731..332816e22cda26afcebad014568fea9b4ceb3eae 100644
(file)
--- a/
test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
+++ b/
test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
@@
-6,8
+6,8
@@
define i32 @test(i32 %argc, i8** %argv) nounwind {
entry:
; CHECK: cmpl $2
-; CHECK-NEXT: j
n
e
-; CHECK-NEXT: %
bb2
+; CHECK-NEXT: je
+; CHECK-NEXT: %
entry
switch i32 %argc, label %UnifiedReturnBlock [
i32 1, label %bb