repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Implement bswap
[llvm/msp430.git]
/
test
/
Transforms
/
Inline
/
2003-10-13-AllocaDominanceProblem.ll
blob
6b6cf06abb294de8e44c3fb587812ef17b1ecfb2
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