projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Canonicalize boolean +/- a constant to a select.
[oota-llvm.git]
/
test
/
Transforms
/
Inline
/
2003-10-13-AllocaDominanceProblem.ll
1
; RUN: llvm-as < %s | opt -inline -disable-output
2
3
define i32 @reload() {
4
reloadentry:
5
br label %A
6
7
A: ; preds = %reloadentry
8
call void @callee( )
9
ret i32 0
10
}
11
12
define internal void @callee() {
13
entry:
14
%X = alloca i8, i32 0 ; <i8*> [#uses=0]
15
%Y = bitcast i32 0 to i32 ; <i32> [#uses=1]
16
%Z = alloca i8, i32 %Y ; <i8*> [#uses=0]
17
ret void
18
}
19