projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR1319:
[oota-llvm.git]
/
test
/
Transforms
/
ArgumentPromotion
/
recursion.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -argpromotion | llvm-dis | grep x.val
2
; XFAIL: *
3
4
implementation ; Functions:
5
6
internal int %foo(int* %x) {
7
entry:
8
%tmp = load int* %x
9
%tmp.foo = call int %foo(int *%x)
10
ret int %tmp.foo
11
}
12
13
int %bar(int* %x) {
14
entry:
15
%tmp3 = call int %foo( int* %x) ; <int>[#uses=1]
16
ret int %tmp3
17
}