projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Throttle tail merging; handling blocks with large numbers of predecessors
[oota-llvm.git]
/
test
/
CFrontend
/
2003-11-08-PointerSubNotGetelementptr.c.tr
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
}