projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added the ability to xfail based on llvmgcc version
[oota-llvm.git]
/
test
/
Transforms
/
SCCP
/
ipsccp-basic.ll
1
; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | grep -v 'ret int 17' | grep -v 'ret int undef' | not grep ret
2
3
implementation
4
5
internal int %bar(int %A) {
6
%X = add int 1, 2
7
ret int %A
8
}
9
10
int %foo() {
11
%X = call int %bar(int 17)
12
ret int %X
13
}