projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make sure this doesn't break when we're improving the isels
[oota-llvm.git]
/
test
/
Transforms
/
LevelRaise
/
2002-09-10-PointerAdds.ll
1
; RUN: llvm-as < %s | opt -raise
2
3
int* %test(int* %P, int* %Q) {
4
%P = cast int* %P to ulong
5
%Q = cast int* %Q to ulong
6
%V = add ulong %P, %Q
7
%V = cast ulong %V to int*
8
ret int* %V
9
}