repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
slightly increase prettiness.
[llvm/avr.git]
/
test
/
FrontendC
/
2003-11-08-PointerSubNotGetelementptr.c
blob
443dfbdb37fc9ca556ce9425d883aa14d142391f
1
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep getelementptr
2
3
char
*
test
(
char
*
C
) {
4
return
C
-
1
;
// Should turn into a GEP
5
}
6
7
int
*
test2
(
int
*
I
) {
8
return
I
-
1
;
9
}