projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CodeGenPrepare] Handle properly the promotion of operands when this does not
[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 4fd80724651d83a708e2e7d3885f14da858b4014..d583e5964dc2b47a611fe49e0caeea301f309bf6 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: je
-; CHECK-NEXT:
LBB1_1
+; CHECK-NEXT: j
n
e
+; CHECK-NEXT:
%bb2
switch i32 %argc, label %UnifiedReturnBlock [
i32 1, label %bb