projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pointer arithmetic should be done with the index the same size as the pointer.
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
call-ret42.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llc
2
3
int %foo(int %x) {
4
ret int 42
5
}
6
7
int %main() {
8
%r = call int %foo(int 15)
9
ret int %r
10
}