projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix InstCombine/2007-10-31-StringCrash.ll by removing an obvious
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
deadcode.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
2
; RUN: grep {ret i32 %A}
3
4
int %test(int %A) {
5
%X = or bool false, false
6
br bool %X, label %T, label %C
7
T:
8
%B = add int %A, 1
9
br label %C
10
C:
11
%C = phi int [%B, %T], [%A, %0]
12
ret int %C
13
}