repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
When removing a function from the function set and adding it to deferred, we
[llvm.git]
/
test
/
ExecutionEngine
/
test-malloc.ll
blob
b3400df44092152b269500598e4a0f87f257bdd1
1
; RUN: lli %s > /dev/null
2
3
define i32 @main() {
4
%X = malloc i32 ; <i32*> [#uses=1]
5
%Y = malloc i32, i32 100 ; <i32*> [#uses=1]
6
%u = add i32 1, 2 ; <i32> [#uses=1]
7
%Z = malloc i32, i32 %u ; <i32*> [#uses=1]
8
free i32* %X
9
free i32* %Y
10
free i32* %Z
11
ret i32 0
12
}
13